capabilities.work

Registry Spec Revision Rollback

A 3-step recipe with Apigee. We can help you get access.

Recipe · 3 steps

Registry Spec Revision Rollback

with Apigee · Public API Lifecycle Management

Capture a spec revision, create a new one, then roll back to the captured revision.

  1. Read the spec to capture the current revision id to roll back to later.
  2. Update the spec description, which creates a new revision of the spec.
  3. Roll the spec back to the originally captured revision id.
What you'll need to have ready
  • projectId: Google Cloud project id hosting the Registry.
  • locationId: Google Cloud location of the Registry resources.
  • apiId: The API that owns the spec.
  • versionId: The version that owns the spec.
  • specId: The spec to revise and roll back.
  • newDescription: New description applied to create a fresh revision.
For your developer

Arazzo workflow apigee:rollback-spec-revision, 3 operations: getApiSpec → updateApiSpec → rollbackApiSpec. Specs on APIs.io.