Skip to content

Base URL and versions ​

Every path is relative to the address your AlianHub instance is served from, for example https://hub.example.com. There is no separate API host.

PrefixWhat it is
/api/v2The API integrations should use. This reference documents the part of it a token can call.
/api/public-v1A small read-only namespace that accepts an API token and nothing else.
/api/v1The web app's own API. It is listed in the appendix so nothing is hidden, but it follows the web app and may change without notice.

Request bodies are JSON (Content-Type: application/json). A body larger than the server's limit (2 MB unless the instance raises BODY_LIMIT) is refused.

Released under the AGPL-3.0 licence.