GET
/
api
/
v1
/
namespaces
/
{namespaceKey}
/
flags
curl --url https://try.flipt.io/api/v1/namespaces/default/flags \
  --header 'Accept: application/json'
{
  "flags": [
    {
      "namespaceKey": "<string>",
      "key": "<string>",
      "name": "<string>",
      "description": "<string>",
      "enabled": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "variants": [
        {
          "id": "<string>",
          "namespaceKey": "<string>",
          "flagKey": "<string>",
          "key": "<string>",
          "name": "<string>",
          "description": "<string>",
          "createdAt": "2023-11-07T05:31:56Z",
          "updatedAt": "2023-11-07T05:31:56Z",
          "attachment": "<string>"
        }
      ],
      "type": "VARIANT_FLAG_TYPE"
    }
  ],
  "nextPageToken": "<string>",
  "totalCount": 123
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

namespaceKey
string
required

Query Parameters

limit
integer
offset
integer
pageToken
string
reference
string

Response

200 - application/json
flags
object[]
required
nextPageToken
string
required
totalCount
integer
required