Skip to main content

List Segments

GET 

/v1/products/:productId/segments

This endpoint returns the list of the Segments that belongs to the given Product identified by the productId parameter, which can be obtained from the List Products endpoint.

Request

Path Parameters

    productId uuidrequired

    The identifier of the Product.

Responses

Schema

  • Array [

  • product

    object

    Details of the Product.

    organization

    object

    Details of the Organization.

    organizationId uuid

    Identifier of the Organization.

    name stringnullable

    Name of the Organization.

    productId uuid

    Identifier of the Product.

    name stringnullable

    Name of the Product.

    description stringnullable

    Description of the Product.

    order int32

    The order of the Product represented on the ConfigCat Dashboard. Determined from an ascending sequence of integers.

    reasonRequired boolean

    Determines whether a mandatory reason must be given every time when the Feature Flags or Settings within a Product are saved.

    segmentId uuid

    Identifier of the Segment.

    name stringnullable

    Name of the Segment.

    description stringnullable

    Description of the Segment.

    creatorEmail stringnullable

    The email of the user who created the Segment.

    creatorFullName stringnullable

    The name of the user who created the Segment.

    createdAt date-time

    The date and time when the Segment was created.

    lastUpdaterEmail stringnullable

    The email of the user who last updated the Segment.

    lastUpdaterFullName stringnullable

    The name of the user who last updated the Segment.

    updatedAt date-time

    The date and time when the Segment was last updated.

    usage int32

    Determines how many Feature Flags and Settings are using the Segment.

  • ]

Loading...