FeatureFlags

Create a feature flag

Changed on

Creates a new feature flag.

post/v3/feature-flags

Request

  • Base URL
    https://api.cryptlex.com
  • URL
    https://api.cryptlex.com/v3/feature-flags
  • Auth
    HTTP bearer

Request body

namestring required

Name of the feature flag.

Letters (a-z, A-Z), numbers, underscores and hyphens.

descriptionstring required

Description for the feature flag.

Any printable characters and line breaks. Cannot contain control characters other than tab, carriage return and line feed, nor invisible formatting characters (zero-width and bidirectional marks), and cannot start or end with whitespace.

productIdstring required

Unique identifier for the product.

Response

Created

idstring required
createdAtstring date-time required
updatedAtstring date-time required
namestring required
descriptionstring required
productIdstring required

Changes

    • breaking

      added the pattern ^(?!\s)(?![\s\S]*\s$)(?:[^\p{Cc}\p{Cf}\p{Zl}\p{Zp}]|[\t\n\r])+$ to the request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      the request's body type changed from no type to object

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • warning

      removed subschema #2 from the request body allOf list

    • info

      endpoint deprecated

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status