Production Versions API Overview

Learn more about the Production Versions API.

Use the Production Versions API to retrieve information about production versions and perform operations on production versions, such as exporting the changes in a list of production versions or rolling back to a specific production version.

The Production Versions API is useful for transferring production versions from your development environment to your production environment. For example, if you want to safely test changes in a development environment, you can test and validate your changes before you promote the changes to the production environment that impacts your end users. For more information about the development and validation process, see Visier Development and Production Environments.

To move production versions between environments:

  1. Call GET /v1alpha/admin/production-versions on your development environment to retrieve a list of all production versions.
  2. In the list of production versions, identify the production versions you want to move to a different environment.
  3. Call POST /v1alpha/admin/production-versions on your development environment and specify the range of production versions to export. This returns a ZIP file containing the production versions.
  4. Call POST /v1alpha/admin/projects on the target environment to create a new project. Use the returned project ID in the next call.
  5. Call PUT /v1alpha/admin/projects/{projectId}/commits on the target environment. This imports the ZIP file to the project in your target environment.
  6. In Visier, open the new project in the target environment. You should see the production versions from your development environment as project revisions.

Next, you can do any additional testing and validation before committing the project changes and releasing the project to production in your production environment.