FeatureFlagCreate
Fields
7 fields
description- string or null
enabled_global- boolean
enabled_projects- array of string (uuid) or null
enabled_roles- array of string or null
key· required- string
reason- string or null
rollout_percent- integer
Raw schema (JSON)
{
"properties": {
"description": {
"anyOf": [
{
"maxLength": 2000,
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"enabled_global": {
"default": false,
"title": "Enabled Global",
"type": "boolean"
},
"enabled_projects": {
"anyOf": [
{
"items": {
"format": "uuid",
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Enabled Projects"
},
"enabled_roles": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Enabled Roles"
},
"key": {
"maxLength": 80,
"minLength": 2,
"pattern": "^[a-z][a-z0-9_]*$",
"title": "Key",
"type": "string"
},
"reason": {
"anyOf": [
{
"maxLength": 500,
"type": "string"
},
{
"type": "null"
}
],
"title": "Reason"
},
"rollout_percent": {
"default": 100,
"maximum": 100,
"minimum": 0,
"title": "Rollout Percent",
"type": "integer"
}
},
"required": [
"key"
],
"title": "FeatureFlagCreate",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
POST/api/v1/feature-flags— Create Feature Flag
Used by schemas
Section titled “Used by schemas”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON