NoxVR Documentation
Relays

Get relay logs (admin only)

Get logs from a relay server. Requires admin privileges.

GET
/relays/{id}/logs
AuthorizationBearer <token>

Bearer token authentication for user sessions

In: header

Path Parameters

idinteger

Query Parameters

since?integer

Timestamp to get logs since

limit?integer
Default100

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://nox.hactazia.fr/api/relays/0/logs"
[
  {
    "timestamp": 0,
    "level": "string",
    "message": "string"
  }
]
{
  "error": {
    "message": "You are not logged in.",
    "code": 7,
    "status": 401
  },
  "data": null
}
{
  "error": {
    "message": "You are not authorized to {0}.",
    "code": 8,
    "status": 401
  },
  "data": null
}
{
  "error": {
    "message": "Resource not found.",
    "code": 3,
    "status": 404
  },
  "data": null
}