Skip to content

Versioning and stages


URL structure

Each API is an API product with one prefix and one version:

https://apis.traceone.com/{product}/v{N}/{resource}
APIBase URL
Specification (with the packaging library)https://apis.traceone.com/spec/v2
Reference Datahttps://apis.traceone.com/reference-data/v2
Quality Portal Spec Bridge (legacy)https://apis.traceone.com/spec-bridge/v1.0
✅  GET https://apis.traceone.com/spec/v2/packaging/specifications/{id}
✅  GET https://apis.traceone.com/spec/v2/library/packaging-components/{id}
✅  GET https://apis.traceone.com/reference-data/v2/allergens

❌  GET https://apis.traceone.com/api/v2/specifications/{id}
❌  GET https://apis.traceone.com/v2/specifications/{id}

The version applies to the whole product: all its operations move to a new version together.

The legacy Spec Bridge keeps the URL it was built with. New integrations use the Specification API.


What changes within a version

Breaking: only in a new versionNot breaking: can happen within a version
Removing or renaming a fieldAdding an optional field to a request
Changing a field's typeAdding a field to a response
Removing or renaming a pathAdding an operation
Making an optional field requiredAdding an enum value
Changing an error codeImproving descriptions

Write your client so that non-breaking changes do not break it: ignore unknown fields and handle unknown enum values. See Coding practices.


A new version

A breaking change to a public operation ships in a new major version (v2 → v3):

  • The previous version stays available for at least 12 months after the new one is released.
  • The deprecation is announced on this portal, and responses of the old version carry a Sunset header with its end date.
  • Both versions are documented in the catalog during that period.

Stages

Each operation has a stage. The stage tells you what you can rely on.

StageMeaningWhere you see it
PublicIn production and tested with a customer's own credentials. Stable: changes follow the rules aboveAPI reference (the v2 card)
LimitedIn production, available by agreement (for example pilot customers). It may still changePreview (v2-preview), "Limited" badge
DesignedNot in production yet: the roadmap. It may still changePreview (v2-preview), "Designed" badge

Operations move from designed to limited when they reach production, and from limited to public after a test with a customer's credentials. A public operation never goes back to a lower stage.

A limited or designed operation has no deprecation commitment: it can change without a new version.

Use the preview

  1. Open the API in the catalog.
  2. Choose v2-preview in the version list.
  3. Download the OpenAPI document to generate a client and plan your integration.
  4. To use a limited operation, contact us.

Next steps