Dev's NoxDev's Nox
Server

List environment

Return all registered config keys with their current values, environment overrides and metadata. Admin only.

GET
/api/environment

Authorization

bearer
AuthorizationBearer token

User session token. Obtained from POST /api/auth/login.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://loading/api/environment"
{
  "data": {
    "total": 100,
    "limit": 10,
    "offset": 0,
    "items": [
      {
        "key": "app.name",
        "label": "Application Name",
        "description": "The public display name of this instance.",
        "default": "Nox",
        "environment": null,
        "override": null,
        "forced": false,
        "risky": false
      }
    ]
  },
  "error": null,
  "time": 1680000000000,
  "request": "/api/endpoint"
}
{
  "data": null,
  "error": {
    "code": "NOT_FOUND",
    "message": "Resource not found.",
    "status": 404
  },
  "time": 1680000000000,
  "request": "/api/endpoint"
}
{
  "data": null,
  "error": {
    "code": "NOT_FOUND",
    "message": "Resource not found.",
    "status": 404
  },
  "time": 1680000000000,
  "request": "/api/endpoint"
}