Segments
Get a segment
Retrieves a segment based on its ID.
get/api/admin/segments/{id}
Path parameters
idinteger required
a segment id
Response
adminSegmentSchema
Example response
{
"id": 2,
"name": "ios-users",
"description": "IOS users segment",
"constraints": [
{
"contextName": "appName",
"operator": "IN",
"values": [
"my-app",
"my-other-app"
],
"value": "my-app"
}
],
"usedInFeatures": 3,
"usedInProjects": 2,
"project": "red-vista",
"createdBy": "someone@example.com",
"createdAt": "2023-04-12T11:13:31.960Z"
}Changes
Changed in 2 of the 7 revisions of this API.3
- ●
added the new
SEMVER_GTEenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
SEMVER_LTEenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
- ●
added the new
REGEXenum value to the//response property for the response statusresponse-property-enum-value-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●