Feature Flags
POST /projects/{project_id}/flags
Changed onRequest
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
project_idinteger required
Project ID
Request body
Example request
{
"key": "checkout.v2",
"variants": [
{
"key": "test"
}
]
}Response
Flag created
Changes
- info
added the new optional request property
exposure_sample_rate - info
added the new optional request property
variants - info
added the required property
environments/items/rulesto the response with the status
4 more changes in this revision
- info