Flipt
SegmentsService

POST /api/v1/namespaces/{namespaceKey}/segments

Changed on

Request

  • Base URL
    http://localhost:8080
  • URL
    http://localhost:8080/api/v1/namespaces/{namespaceKey}/segments
  • Auth
    HTTP bearer

Path parameters

namespaceKeystring required

Request body

keystring required
namestring required
descriptionstring
matchType'ALL_MATCH_TYPE' | 'ANY_MATCH_TYPE' enum required
namespaceKeystring

Response

OK

keystring
namestring
descriptionstring
createdAtstring date-time
updatedAtstring date-time
matchType'ALL_MATCH_TYPE' | 'ANY_MATCH_TYPE' enum
namespaceKeystring

Changes

    • breaking

      request property was restricted to a list of enum values

    • breaking

      the request property type changed from integer to string

    • breaking

      the // response's property type changed from integer to string for status

    • breaking

      the response's property type changed from integer to string for status

    • warning

      added the new ALL_MATCH_TYPE enum value to the response property for the response status

    • warning

      added the new ANY_MATCH_TYPE enum value to the response property for the response status

    • warning

      added the new BOOLEAN_COMPARISON_TYPE enum value to the // response property for the response status

    • warning

      added the new DATETIME_COMPARISON_TYPE enum value to the // response property for the response status

    • warning

      added the new ENTITY_ID_COMPARISON_TYPE enum value to the // response property for the response status

    • warning

      added the new NUMBER_COMPARISON_TYPE enum value to the // response property for the response status

    • warning

      added the new STRING_COMPARISON_TYPE enum value to the // response property for the response status

    • warning

      added the new UNKNOWN_COMPARISON_TYPE enum value to the // response property for the response status

    • info

      added the new ALL_MATCH_TYPE enum value to the request property

    • info

      added the new ANY_MATCH_TYPE enum value to the request property

    • breaking

      removed the enum value ALL_MATCH_TYPE of the request property

    • breaking

      removed the enum value ANY_MATCH_TYPE of the request property

    • breaking

      the request property type changed from string to integer

    • breaking

      the // response's property type changed from string to integer for status

    • breaking

      the response's property type changed from string to integer for status

    • info

      removed the ALL_MATCH_TYPE enum value from the response property for the response status

    • info

      removed the ANY_MATCH_TYPE enum value from the response property for the response status

    • info

      removed the BOOLEAN_COMPARISON_TYPE enum value from the // response property for the response status

    • info

      removed the DATETIME_COMPARISON_TYPE enum value from the // response property for the response status

    • info

      removed the ENTITY_ID_COMPARISON_TYPE enum value from the // response property for the response status

    • info

      removed the NUMBER_COMPARISON_TYPE enum value from the // response property for the response status

    • info

      removed the STRING_COMPARISON_TYPE enum value from the // response property for the response status

    • info

      removed the UNKNOWN_COMPARISON_TYPE enum value from the // response property for the response status