FeatureFlagResponse
Fields
12 fields
created_at· required- string (date-time)
description- string or null
enabled_global· required- boolean
enabled_projects- array of string (uuid) or null
enabled_roles- array of string or null
id· required- string (uuid)
key· required- string
last_change_reason- string or null
rollout_percent· required- integer
updated_at· required- string (date-time)
updated_by_name- string or null
updated_by_user_id- string (uuid) or null
Raw schema (JSON)
{
"properties": {
"created_at": {
"format": "date-time",
"title": "Created At",
"type": "string"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"enabled_global": {
"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"
},
"id": {
"format": "uuid",
"title": "Id",
"type": "string"
},
"key": {
"title": "Key",
"type": "string"
},
"last_change_reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Last Change Reason"
},
"rollout_percent": {
"title": "Rollout Percent",
"type": "integer"
},
"updated_at": {
"format": "date-time",
"title": "Updated At",
"type": "string"
},
"updated_by_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Updated By Name"
},
"updated_by_user_id": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Updated By User Id"
}
},
"required": [
"id",
"key",
"enabled_global",
"rollout_percent",
"created_at",
"updated_at"
],
"title": "FeatureFlagResponse",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”4 endpoints send or return this schema, on its own or inside another schema.
GET/api/v1/feature-flags— List Feature FlagsPOST/api/v1/feature-flags— Create Feature FlagGET/api/v1/feature-flags/{key}— Get Feature FlagPATCH/api/v1/feature-flags/{key}— Update 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