Skip to content

HTTP API

schwarzlichtbezirk edited this page Nov 11, 2026 · 1 revision

HTTP API

General remarks to API

Any API endpoints can receive data in JSON, XML, YAML, or TOML format, depended by Content-Type header. If Content-Type header not given, JSON will be used to decode as default. Accept header if it given, defines response data format. If it absent, same format as at request will be used.

In most cases used POST-method of HTTP.

If any response have HTTP status >= 400, body in this case contains error object with what field with message and unique source point error code.

Clone this wiki locally