Apigee · Arazzo Workflow

Apigee Registry Spec Revision Rollback

Version 1.0.0

Read a spec's current revision, push a new revision via update, then roll back to the original.

1 workflow 1 source API 1 provider
View Spec View on GitHub Advanced API SecurityAgentic AIAnalyticsAPI GatewayAPI GovernanceAPI HubAPI ManagementDeveloper PortalEnterpriseGenerative AIHybridIntegrationMicroservicesMCPMonetizationArazzoWorkflows

Provider

apigee

Workflows

rollback-spec-revision
Capture a spec revision, create a new one, then roll back to the captured revision.
Reads the current spec revision id, updates the spec to create a new revision, and rolls the spec back to the original revision id.
3 steps inputs: apiId, locationId, newDescription, projectId, specId, versionId outputs: newRevisionId, originalRevisionId, rolledBackRevisionId
1
getSpec
Read the spec to capture the current revision id to roll back to later.
2
updateSpec
Update the spec description, which creates a new revision of the spec.
3
rollbackSpec
Roll the spec back to the originally captured revision id.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Apigee Registry Spec Revision Rollback
  summary: Read a spec's current revision, push a new revision via update, then roll back to the original.
  description: >-
    The Apigee Registry spec versioning flow. The workflow reads a spec to
    capture its current revision id, updates the spec contents to create a new
    revision, and rolls the spec back to the originally captured revision —
    demonstrating safe spec change and recovery. Every step spells out its
    request inline so the flow can be read and executed without opening the
    underlying OpenAPI description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-4270.10
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-4270.10
      capability_name: Public API Lifecycle Management
      spec: apigee-api-specs-api-openapi.yml
      confidence: 0.8
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: apiSpecsApi
  url: ../openapi/apigee-api-specs-api-openapi.yml
  type: openapi
workflows:
- workflowId: rollback-spec-revision
  summary: Capture a spec revision, create a new one, then roll back to the captured revision.
  description: >-
    Reads the current spec revision id, updates the spec to create a new
    revision, and rolls the spec back to the original revision id.
  inputs:
    type: object
    required:
    - projectId
    - locationId
    - apiId
    - versionId
    - specId
    - newDescription
    properties:
      projectId:
        type: string
        description: Google Cloud project id hosting the Registry.
      locationId:
        type: string
        description: Google Cloud location of the Registry resources.
      apiId:
        type: string
        description: The API that owns the spec.
      versionId:
        type: string
        description: The version that owns the spec.
      specId:
        type: string
        description: The spec to revise and roll back.
      newDescription:
        type: string
        description: New description applied to create a fresh revision.
  steps:
  - stepId: getSpec
    description: >-
      Read the spec to capture the current revision id to roll back to later.
    operationId: getApiSpec
    parameters:
    - name: projectId
      in: path
      value: $inputs.projectId
    - name: locationId
      in: path
      value: $inputs.locationId
    - name: apiId
      in: path
      value: $inputs.apiId
    - name: versionId
      in: path
      value: $inputs.versionId
    - name: specId
      in: path
      value: $inputs.specId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      originalRevisionId: $response.body#/revisionId
  - stepId: updateSpec
    description: >-
      Update the spec description, which creates a new revision of the spec.
    operationId: updateApiSpec
    parameters:
    - name: projectId
      in: path
      value: $inputs.projectId
    - name: locationId
      in: path
      value: $inputs.locationId
    - name: apiId
      in: path
      value: $inputs.apiId
    - name: versionId
      in: path
      value: $inputs.versionId
    - name: specId
      in: path
      value: $inputs.specId
    - name: updateMask
      in: query
      value: description
    requestBody:
      contentType: application/json
      payload:
        description: $inputs.newDescription
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      newRevisionId: $response.body#/revisionId
  - stepId: rollbackSpec
    description: >-
      Roll the spec back to the originally captured revision id.
    operationId: rollbackApiSpec
    parameters:
    - name: projectId
      in: path
      value: $inputs.projectId
    - name: locationId
      in: path
      value: $inputs.locationId
    - name: apiId
      in: path
      value: $inputs.apiId
    - name: versionId
      in: path
      value: $inputs.versionId
    - name: specId
      in: path
      value: $inputs.specId
    requestBody:
      contentType: application/json
      payload:
        revisionId: $steps.getSpec.outputs.originalRevisionId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      rolledBackRevisionId: $response.body#/revisionId
  outputs:
    originalRevisionId: $steps.getSpec.outputs.originalRevisionId
    newRevisionId: $steps.updateSpec.outputs.newRevisionId
    rolledBackRevisionId: $steps.rollbackSpec.outputs.rolledBackRevisionId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/apigee-registry-spec-rollback-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.