GamebeastDocs
Dashboard
Project APIConfigurations

Get configuration enum

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

One enum with every key bound to it and the values those keys hold.

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
enumId*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/1" \  -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",  "usages": [    {      "configurationId": 0,      "configurationName": "string",      "bindingPath": "string",      "values": [        "string"      ],      "experiment": {        "id": 0,        "name": "string"      }    }  ]}