Flipt
FlagsService

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

Changed on

Request

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

Path parameters

namespaceKeystring required

Request body

keystring required
namestring required
descriptionstring
enabledboolean
namespaceKeystring
type'VARIANT_FLAG_TYPE' | 'BOOLEAN_FLAG_TYPE' enum required
metadataobject

Response

OK

keystring
namestring
descriptionstring
enabledboolean
createdAtstring date-time
updatedAtstring date-time
namespaceKeystring
type'VARIANT_FLAG_TYPE' | 'BOOLEAN_FLAG_TYPE' enum
metadataobject

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

    • warning

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

    • warning

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

    • info

      added the new BOOLEAN_FLAG_TYPE enum value to the request property

    • info

      added the new VARIANT_FLAG_TYPE enum value to the request property

    • breaking

      removed the enum value BOOLEAN_FLAG_TYPE of the request property

    • breaking

      removed the enum value VARIANT_FLAG_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

    • info

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

    • info

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