Graph API

GET /api/graph.:ext

Generate graph of aptly objects (same as in aptly graph command).

:ext specifies desired file extension, e.g. .png, .svg.

Query params:

Name Description
layout Change between a horizontal (default) and a vertical graph layout.

Example:

Version API

GET /api/version

Return current aptly version.

Example:

$ curl http://localhost:8080/api/version
{"Version":"0.9~dev"}