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.


  • open url http://localhost:8080/api/graph.svg?layout=vertical in browser (hint: aptly database should be non-empty)

Version API

GET /api/version

Return current aptly version.


$ curl http://localhost:8080/api/version