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.
| Prefix | What it is |
|---|---|
/api/v2 | The API integrations should use. This reference documents the part of it a token can call. |
/api/public-v1 | A small read-only namespace that accepts an API token and nothing else. |
/api/v1 | The 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.
