Skip to main content

API Examples

Example Responses

Ampache's API has documented API responses for XML and JSON servers available from the python3-ampache repo

Responses have been created using the build_docs.py python script and are not edited for formatting.

Each API version has it's own examples. API8 (the current version) is documented in this repository: response schemas in openapi.json and per-method response field tables in API-JSON-methods and api-xml-methods. The python3-ampache example sets below currently cover API6 and earlier.

Subsonic Examples

You can get examples from an official Subsonic release as well as examples from Ampache.

These servers are using a Subsonic 1.16.1 compatible API version.