Skip to content
schwarzlichtbezirk edited this page Oct 8, 2024 · 1 revision

Welcome to the SLOTOPOL SERVER wiki!

HTTP API

Common notes

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