Skip to main content
GET
/
v1
/
flags
/
{flag}
/
variants
List Variant
curl --request GET \
  --url https://flags.eu.confidence.dev/v1/flags/{flag}/variants \
  --header 'Authorization: Bearer <token>'
{
  "variants": [
    {
      "name": "<string>",
      "value": {},
      "createTime": {},
      "updateTime": {},
      "creator": "<string>",
      "updater": "<string>",
      "labels": [
        {}
      ],
      "description": "<string>",
      "imageUri": "<string>"
    }
  ],
  "nextPageToken": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

flag
string
required

Query Parameters

pageSize
object

The maximum number of variants to fetch.

pageToken
string

Token used for pagination.

Response

200 - application/json

OK

variants
object[]
required

List of variants.

nextPageToken
string

A token that can be used to fetch more variants, empty if no more variants are available.