MaintenancePolicies

Create a maintenance policy

Changed on

Creates a new maintenance policy.

post/v3/maintenance-policies

Request

  • Base URL
    https://api.cryptlex.com
  • URL
    https://api.cryptlex.com/v3/maintenance-policies
  • Auth
    HTTP bearer

Request body

namestring required

Name of the maintenance policy.

Any printable characters, including letters from any script, punctuation and emoji. Cannot contain line breaks, tabs, other control characters, invisible formatting characters (zero-width and bidirectional marks), and cannot start or end with whitespace.

allowMajorVersionUpdatesboolean required

Allow major version updates.

allowMinorVersionUpdatesboolean required

Allow minor version updates.

validityinteger nullable

Duration of the maintenance period.

expirationStrategy'immediate' | 'delayed' nullable

The strategy to determine the maintenance period start date.

subscriptionIntervalstring nullable

The length of time which determines the subscription renewal cadence. ISO8601 durations accepted.

subscriptionStartTrigger'license-creation' | 'license-activation'

Response

Created

idstring required
createdAtstring date-time required
updatedAtstring date-time required
namestring required
validityinteger nullable
expirationStrategy'immediate' | 'delayed' nullable
subscriptionIntervalstring nullable
subscriptionStartTrigger'license-creation' | 'license-activation'
allowMajorVersionUpdatesboolean required
allowMinorVersionUpdatesboolean required

Changes

    • breaking

      added the pattern ^(?!\s)(?!.*\s$)[^\p{Cc}\p{Cf}\p{Zl}\p{Zp}]+$ 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 became nullable for the 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

    • 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

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with 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

    • info

      the response property became required for the status