GET /v1/dataContracts/{id}/versions
Data Contract Versions
Track version history of data contract changes over time including rule modifications, SLA adjustments, and ownership updates to maintain audit trails via the Collate REST API.
GET
GET /v1/dataContracts/{id}/versions
Documentation Index
Fetch the complete documentation index at: https://docs.getcollate.io/llms.txt
Use this file to discover all available pages before exploring further.
Data Contract Versions
Every change to a data contract creates a new version. Use the versions API to list all versions and retrieve a specific version.List Versions
UUID of the data contract.
Get Specific Version
UseGET /v1/dataContracts/{id}/versions/{version} to retrieve a specific version.
Version number in
major.minor format (e.g., 0.1, 0.2, 1.0).GET /v1/dataContracts/{id}/versions
Version Numbering
| Change Type | Version Impact | Example |
|---|---|---|
| Minor field updates (description, display name) | Minor bump (0.1 → 0.2) | Update description |
| Major structural changes (status, schema, entity) | Major bump (0.2 → 1.0) | Change status to Active |
Error Handling
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission |
404 | NOT_FOUND | Data contract or version not found |