Evaluate an Unleash context against a set of environments and projects.
Changed onDeprecated. Will be removed in the next Unleash major update. Use the provided context, environment, and projects to evaluate toggles on this Unleash instance. Returns a list of all toggles that match the parameters and what they evaluate to. The response also contains the input parameters that were provided.
Request
- Base URLhttps://app.unleash-instance.example.com
- URLhttps://app.unleash-instance.example.com/api/admin/playground
- Auth
- API key in header Authorization
- or HTTP bearer
Request body
Example request
{
"environment": "development",
"projects": [
"my-project"
],
"context": {
"appName": "My cool application.",
"currentTime": "2022-07-05T12:56:41+02:00",
"properties": {
"customContextField": "this is one!",
"otherCustomField": "3"
},
"remoteAddress": "192.168.1.1",
"sessionId": "b65e7b23-fec0-4814-a129-0e9861ef18fc",
"userId": "username@provider.com"
}
}Response
playgroundResponseSchema
Changes
- warning
added the new
SEMVER_GTEenum value to the///////response property for the response status - warning
added the new
SEMVER_GTEenum value to the/////////response property for the response status - warning
added the new
SEMVER_LTEenum value to the///////response property for the response status - warning
added the new
SEMVER_LTEenum value to the/////////response property for the response status
- warning
- warning
added the new
REGEXenum value to the///////response property for the response status - warning
added the new
REGEXenum value to the/////////response property for the response status
- warning