API root endpoints

GET /api

Version discovery endpoint.

Example response:

[
  {
    "url": "/api/v1",
    "version": 1
  }
]
GET /api/v1

APIv1 root endpoint. Gives some information about the current API.

Not yet implemented:

  • api_features
  • servers_modifiable
  • oauth

Example response:

{
  "server_url": "/api/v1/servers{/server}",
  "api_features": []
}