API reference

Format
JSON
Base URL
https://dibsy.avris.it/api/v1
Version
v1
Authorization header
X-Token: ••••••••••
Every API key is assigned to one project

Project

GET /project

Returns info about the project assigned to the used API key.

Servers

GET /servers

Returns a list of all servers of the project.

GET /server/{name}

Returns a single server identified by {name} (string).

POST /server/{name}/take

Takes the server identified by {name} (string).

JSON body parameters:
Name Type Description Default
user string Email of the user that calls dibs on the server System (can be released by anybody)
branch string null
autoRelease string (must be able to parse with strtotime) Date and time of the automatic release null (no automatic release)

POST /server/{name}/release

Releases the server identified by {name} (string).

JSON body parameters:
Name Type Description Default
user string Email of the user that releases the server System (can release any server)

GET /server/{name}/history

Returns a list of recent updates of the server identified by {name} (string).

Query parameters:
Name Type Description Default
limit integer Max number of entries 25