curl --url https://try.flipt.io/api/v1/namespaces/default/flags/{flagKey}/rules/{id} \
--header 'Accept: application/json'
{
"id": "<string>",
"namespaceKey": "<string>",
"flagKey": "<string>",
"segmentKey": "<string>",
"segmentKeys": [
"<string>"
],
"segmentOperator": "OR_SEGMENT_OPERATOR",
"distributions": [
{
"id": "<string>",
"ruleId": "<string>",
"variantId": "<string>",
"rollout": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"rank": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
curl --url https://try.flipt.io/api/v1/namespaces/default/flags/{flagKey}/rules/{id} \
--header 'Accept: application/json'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.
Was this page helpful?
curl --url https://try.flipt.io/api/v1/namespaces/default/flags/{flagKey}/rules/{id} \
--header 'Accept: application/json'
{
"id": "<string>",
"namespaceKey": "<string>",
"flagKey": "<string>",
"segmentKey": "<string>",
"segmentKeys": [
"<string>"
],
"segmentOperator": "OR_SEGMENT_OPERATOR",
"distributions": [
{
"id": "<string>",
"ruleId": "<string>",
"variantId": "<string>",
"rollout": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"rank": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
curl --url https://try.flipt.io/api/v1/namespaces/default/flags/{flagKey}/rules/{id} \
--header 'Accept: application/json'
{
"id": "<string>",
"namespaceKey": "<string>",
"flagKey": "<string>",
"segmentKey": "<string>",
"segmentKeys": [
"<string>"
],
"segmentOperator": "OR_SEGMENT_OPERATOR",
"distributions": [
{
"id": "<string>",
"ruleId": "<string>",
"variantId": "<string>",
"rollout": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"rank": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
curl --url https://try.flipt.io/api/v1/namespaces/default/flags/{flagKey}/rules/{id} \
--header 'Accept: application/json'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.
Was this page helpful?
curl --url https://try.flipt.io/api/v1/namespaces/default/flags/{flagKey}/rules/{id} \
--header 'Accept: application/json'
{
"id": "<string>",
"namespaceKey": "<string>",
"flagKey": "<string>",
"segmentKey": "<string>",
"segmentKeys": [
"<string>"
],
"segmentOperator": "OR_SEGMENT_OPERATOR",
"distributions": [
{
"id": "<string>",
"ruleId": "<string>",
"variantId": "<string>",
"rollout": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"rank": 123,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}