GET
/
api
/
v1
/
namespaces
/
{namespaceKey}
/
flags
curl --url https://try.flipt.io/api/v1/namespaces/default/flags \
  --header 'Accept: application/json'
{
  "flags": [
    {
      "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"
        }
      ]
    }
  ],
  "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