Flags
Get Flag
GET
/
api
/
v1
/
namespaces
/
{namespaceKey}
/
flags
/
{key}
curl --url https://try.flipt.io/api/v1/namespaces/default/flags/{key} \
--header 'Accept: application/json'
{
"createdAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"enabled": true,
"key": "<string>",
"name": "<string>",
"namespaceKey": "<string>",
"type": "VARIANT_FLAG_TYPE",
"updatedAt": "2023-11-07T05:31:56Z",
"variants": [
{
"attachment": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"flagKey": "<string>",
"id": "<string>",
"key": "<string>",
"name": "<string>",
"namespaceKey": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
namespaceKey
string
requiredkey
string
requiredResponse
200 - application/json
createdAt
string
requireddescription
string
requiredenabled
boolean
requiredkey
string
requiredname
string
requirednamespaceKey
string
requiredtype
enum<string>
requiredAvailable options:
VARIANT_FLAG_TYPE
, BOOLEAN_FLAG_TYPE
updatedAt
string
requiredvariants
object[]
requiredWas this page helpful?
curl --url https://try.flipt.io/api/v1/namespaces/default/flags/{key} \
--header 'Accept: application/json'
{
"createdAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"enabled": true,
"key": "<string>",
"name": "<string>",
"namespaceKey": "<string>",
"type": "VARIANT_FLAG_TYPE",
"updatedAt": "2023-11-07T05:31:56Z",
"variants": [
{
"attachment": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"flagKey": "<string>",
"id": "<string>",
"key": "<string>",
"name": "<string>",
"namespaceKey": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}