No description
Find a file
AMUNTENCI SILVIO MARIAN d05ee58f85 Added README
2026-03-16 09:24:11 +01:00
src Genesis commit 2026-03-15 21:16:04 +01:00
.gitignore Genesis commit 2026-03-15 21:16:04 +01:00
README.md Added README 2026-03-16 09:24:11 +01:00
requirements.txt Genesis commit 2026-03-15 21:16:04 +01:00
test.py Genesis commit 2026-03-15 21:16:04 +01:00

API

OAuth2 token

POST /oauth2/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded

grant_type=client_credentals
client_id=...
client_secret=...

HTTP/1.1 200 OK
Content-Type: application/json

{
  "access_token": "...",
  "expires_in": ...
}

List servers

GET /api/servers HTTP/1.1
Authorization: Bearer ...

HTTP/1.1 200 OK
Content-Type: application/json

{
  "servers": [
    {
      "id": "...",
      "name": "..."
    },
    ...
  ]
}

List servers

GET /api/servers/.../console?time=... HTTP/1.1
Authorization: Bearer ...

HTTP/1.1 200 OK
Content-Type: application/json

{
  "epoch": ..., 
  "logs": ... // base64
}