{
  "opencollection": "1.0.0",
  "info": {
    "name": "Apigee API Hub Analytics Suspensions API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://accounts.google.com/o/oauth2/auth",
      "accessTokenUrl": "https://oauth2.googleapis.com/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Suspensions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Apigee List Suspensions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://apihub.googleapis.com/v1/projects/:projectId/locations/:locationId/products/:productId/integrations/:integrationId/executions/:executionId/suspensions",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "Google Cloud project ID."
              },
              {
                "name": "locationId",
                "value": "",
                "type": "path",
                "description": "Google Cloud region or location."
              },
              {
                "name": "productId",
                "value": "",
                "type": "path",
                "description": "Product identifier (typically the Apigee product name)."
              },
              {
                "name": "integrationId",
                "value": "",
                "type": "path",
                "description": "Name of the integration."
              },
              {
                "name": "executionId",
                "value": "",
                "type": "path",
                "description": "Execution identifier."
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Maximum number of items to return per page."
              },
              {
                "name": "pageToken",
                "value": "",
                "type": "query",
                "description": "Page token returned from a previous list request."
              },
              {
                "name": "filter",
                "value": "",
                "type": "query",
                "description": "Filter expression to narrow results."
              },
              {
                "name": "orderBy",
                "value": "",
                "type": "query",
                "description": "Field to order results by."
              }
            ]
          },
          "docs": "Lists all suspensions for a specific execution. Suspensions pause execution flow pending human review or approval."
        },
        {
          "info": {
            "name": "Apigee Lift a Suspension",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://apihub.googleapis.com/v1/projects/:projectId/locations/:locationId/products/:productId/integrations/:integrationId/executions/:executionId/suspensions/:suspensionId:lift",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "Google Cloud project ID."
              },
              {
                "name": "locationId",
                "value": "",
                "type": "path",
                "description": "Google Cloud region or location."
              },
              {
                "name": "productId",
                "value": "",
                "type": "path",
                "description": "Product identifier (typically the Apigee product name)."
              },
              {
                "name": "integrationId",
                "value": "",
                "type": "path",
                "description": "Name of the integration."
              },
              {
                "name": "executionId",
                "value": "",
                "type": "path",
                "description": "Execution identifier."
              },
              {
                "name": "suspensionId",
                "value": "",
                "type": "path",
                "description": "Suspension identifier."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Lifts a suspension, allowing the paused execution to continue processing from where it stopped."
        },
        {
          "info": {
            "name": "Apigee Resolve a Suspension",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://apihub.googleapis.com/v1/projects/:projectId/locations/:locationId/products/:productId/integrations/:integrationId/executions/:executionId/suspensions/:suspensionId:resolve",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "Google Cloud project ID."
              },
              {
                "name": "locationId",
                "value": "",
                "type": "path",
                "description": "Google Cloud region or location."
              },
              {
                "name": "productId",
                "value": "",
                "type": "path",
                "description": "Product identifier (typically the Apigee product name)."
              },
              {
                "name": "integrationId",
                "value": "",
                "type": "path",
                "description": "Name of the integration."
              },
              {
                "name": "executionId",
                "value": "",
                "type": "path",
                "description": "Execution identifier."
              },
              {
                "name": "suspensionId",
                "value": "",
                "type": "path",
                "description": "Suspension identifier."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Resolves a suspension with a final decision, completing the suspended task in the execution."
        }
      ]
    }
  ],
  "bundled": true
}