GamebeastDocs
Dashboard
Project APIConfigurations

List configuration enums

GET
/application/{applicationId}/v2/configuration-enums

List the enums of the environment. With configurationId, only the enums that configuration can use (shared ones plus its own).

Authorization

personalAccessTokenAuth
AuthorizationBearer <token>

Personal access token (prefixed gb_pat_). Acts on behalf of its owner and can never exceed the owner's own permissions. Send it as Authorization: Bearer <token>.

In: header

Path Parameters

applicationId*number

Gamebeast project ID

Query Parameters

configurationId?integer
Range0 < value <= 9007199254740991

Header Parameters

environment_id*number

Gamebeast environment ID

Response Body

application/json

curl -X GET "https://example.com/application/0/v2/configuration-enums" \  -H "environment_id: 0"
[  {    "id": 0,    "applicationId": 0,    "environmentId": 0,    "name": "string",    "description": "string",    "valueType": "string",    "members": [      {        "value": "string",        "label": "string",        "description": "string"      }    ],    "color": "string",    "icon": "string",    "configurationId": 0,    "createdAt": "string",    "updatedAt": "string"  }]