GET

/api/v1/namespaces/{namespaceKey}/segments

{
  "nextPageToken": "string",
  "segments": [
    {
      "constraints": [
        {
          "createdAt": "string",
          "description": "string",
          "id": "string",
          "namespaceKey": "string",
          "operator": "string",
          "property": "string",
          "segmentKey": "string",
          "type": "UNKNOWN_COMPARISON_TYPE",
          "updatedAt": "string",
          "value": "string"
        }
      ],
      "createdAt": "string",
      "description": "string",
      "key": "string",
      "matchType": "ALL_MATCH_TYPE",
      "name": "string",
      "namespaceKey": "string",
      "updatedAt": "string"
    }
  ],
  "totalCount": "integer"
}
curl --url https://try.flipt.io/api/v1/namespaces/default/segments \
  --header 'Accept: application/json'

Authorizations

Authorizationheaderrequired
string

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

Path Parameters

namespaceKeyrequired
string

Query Parameters

limit
integer
offset
integer
pageToken
string

Response

200 - application/json
nextPageTokenrequired
string
segmentsrequired
object[]
totalCountrequired
integer