curl --url https://try.flipt.io/api/v1/namespaces/default/segments \
--header 'Accept: application/json'
{
"segments": [
{
"namespaceKey": "<string>",
"key": "<string>",
"name": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"constraints": [
{
"id": "<string>",
"namespaceKey": "<string>",
"segmentKey": "<string>",
"type": "UNKNOWN_COMPARISON_TYPE",
"property": "<string>",
"operator": "<string>",
"value": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"matchType": "ALL_MATCH_TYPE"
}
],
"nextPageToken": "<string>",
"totalCount": 123
}
curl --url https://try.flipt.io/api/v1/namespaces/default/segments \
--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/segments \
--header 'Accept: application/json'
{
"segments": [
{
"namespaceKey": "<string>",
"key": "<string>",
"name": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"constraints": [
{
"id": "<string>",
"namespaceKey": "<string>",
"segmentKey": "<string>",
"type": "UNKNOWN_COMPARISON_TYPE",
"property": "<string>",
"operator": "<string>",
"value": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"matchType": "ALL_MATCH_TYPE"
}
],
"nextPageToken": "<string>",
"totalCount": 123
}
curl --url https://try.flipt.io/api/v1/namespaces/default/segments \
--header 'Accept: application/json'
{
"segments": [
{
"namespaceKey": "<string>",
"key": "<string>",
"name": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"constraints": [
{
"id": "<string>",
"namespaceKey": "<string>",
"segmentKey": "<string>",
"type": "UNKNOWN_COMPARISON_TYPE",
"property": "<string>",
"operator": "<string>",
"value": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"matchType": "ALL_MATCH_TYPE"
}
],
"nextPageToken": "<string>",
"totalCount": 123
}
curl --url https://try.flipt.io/api/v1/namespaces/default/segments \
--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/segments \
--header 'Accept: application/json'
{
"segments": [
{
"namespaceKey": "<string>",
"key": "<string>",
"name": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"constraints": [
{
"id": "<string>",
"namespaceKey": "<string>",
"segmentKey": "<string>",
"type": "UNKNOWN_COMPARISON_TYPE",
"property": "<string>",
"operator": "<string>",
"value": "<string>",
"description": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"matchType": "ALL_MATCH_TYPE"
}
],
"nextPageToken": "<string>",
"totalCount": 123
}