Context
[BETA] Gets context field
Changed on[BETA] This API is in beta state, which means it may change or be removed in the future.
Returns specific context field identified by the name in the path
get/api/admin/projects/{projectId}/context/{contextField}
Request
- Base URLhttps://app.unleash-instance.example.com
- URLhttps://app.unleash-instance.example.com/api/admin/projects/{projectId}/context/{contextField}
- Auth
- API key in header Authorization
- or HTTP bearer
Path parameters
projectIdstring required
contextFieldstring required
Response
contextFieldSchema
Example response
{
"name": "userId",
"description": "Used to uniquely identify users",
"stickiness": true,
"sortOrder": 900,
"createdAt": "2023-06-29T10:19:00.000Z",
"usedInFeatures": 3,
"usedInProjects": 2,
"legalValues": [
{
"value": "#c154c1",
"description": "Deep fuchsia"
}
],
"project": "my-project"
}Changes
- info
endpoint added
- info