Contracts

Transition contract status

Changed on

Transitions the contract status. Valid transitions: DRAFT to STABLE, DRAFT to DEPRECATED, STABLE to DEPRECATED. Reverse transitions are not allowed.

post/groups/{groupId}/artifacts/{artifactId}/contract/status

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

status'DRAFT' | 'STABLE' | 'DEPRECATED' required

The target lifecycle status. Valid transitions: DRAFT to STABLE, DRAFT to DEPRECATED, STABLE to DEPRECATED.

Response

The updated contract metadata after the status transition.

status'DRAFT' | 'STABLE' | 'DEPRECATED'

The contract lifecycle status.

ownerTeamstring

The team that owns the contract.

ownerDomainstring

The domain the contract belongs to.

supportContactstring

Support contact email.

classification'PUBLIC' | 'INTERNAL' | 'CONFIDENTIAL' | 'RESTRICTED'

Data classification level.

stage'DEV' | 'STAGE' | 'PROD'

Promotion stage.

stableDatestring

ISO-8601 date when contract became stable.

deprecatedDatestring

ISO-8601 date when contract was deprecated.

deprecationReasonstring

Reason for deprecation.

compatibilityGroupstring

Compatibility group for schema evolution scoping.

Changes

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status