Feature Flags
Every flag for the caller's environment, collapsed to what the evaluator needs.
Changed onScope comes from the deployment token, never from the URL: a container's baked-in TEMPS_API_TOKEN identifies exactly one project (and usually one environment), so a compromised app cannot read another tenant's flags by changing a path parameter.
Supports If-None-Match, so the SDK's background poll is a 304 in the common case.
get/flags/snapshot
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Query parameters
environment_idinteger nullable
Required only when the calling token is project-wide rather than scoped to a single environment.
Response
Snapshot for the environment
Changes
- info
added the optional property
flags/items/rulesto the response with the status - info
added the optional property
flags/items/saltto the response with the status - info
added the optional property
flags/items/variantsto the response with the status
- info