v51

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-08-01131107332.8 KB
Contracts

Transition contract status

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 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.