GET

/api/v1/namespaces/{namespaceKey}/flags/{flagKey}/rules/{id}

{
  "createdAt": "string",
  "distributions": [
    {
      "createdAt": "string",
      "id": "string",
      "rollout": "number",
      "ruleId": "string",
      "updatedAt": "string",
      "variantId": "string"
    }
  ],
  "flagKey": "string",
  "id": "string",
  "namespaceKey": "string",
  "rank": "integer",
  "segmentKey": "string",
  "segmentKeys": [
    "string"
  ],
  "segmentOperator": "OR_SEGMENT_OPERATOR",
  "updatedAt": "string"
}
curl --url https://try.flipt.io/api/v1/namespaces/default/flags/{flagKey}/rules/{id} \
  --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
flagKeyrequired
string
idrequired
string

Response

200 - application/json
createdAtrequired
string
distributionsrequired
object[]
flagKeyrequired
string
idrequired
string
namespaceKeyrequired
string
rankrequired
integer
segmentKeyrequired
string
segmentKeys
string[]
segmentOperatorrequired
enum<string>
Available options:
OR_SEGMENT_OPERATOR,
AND_SEGMENT_OPERATOR
updatedAtrequired
string