Record that a version went into an environment
Tells Routebase which version an environment now serves. The intended order is that your pipeline deploys first and then makes this call, so the pin reflects what is actually running rather than what someone intended.
A call authenticated with an API key is recorded with source cli, which is how a pipeline assertion is told apart from someone clicking in the UI. If the target environment freezes versions, the promoted version becomes immutable here.
Request
- Base URL: https://api.routebase.dev
- URL: https://api.routebase.dev/api/projects/{projectId}/specs/{specId}/versions/{versionId}/promote
- Auth: API key in header X-API-Key
Path parameters
Public id of the project.
Public id of the API specification.
Public id of the specification version.
Headers
Region of your organization. US organizations must send us; EU organizations leave the header out. Without it a US call is routed to the EU region and answered with 401.
Request body
Response
The promotion was recorded.
Changes
No recorded changes to this operation across all 1 revision of this API.