{ "opencollection": "1.0.0", "info": { "name": "Apigee API Hub Analytics API Versions 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": "API Versions", "type": "folder" }, "items": [ { "info": { "name": "Apigee List API Versions", "type": "http" }, "http": { "method": "GET", "url": "https://apihub.googleapis.com/v1/projects/:projectId/locations/:locationId/apis/:apiId/versions", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "Google Cloud project ID." }, { "name": "locationId", "value": "", "type": "path", "description": "Google Cloud region or location." }, { "name": "apiId", "value": "", "type": "path", "description": "ID of the API resource." }, { "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." }, { "name": "orderBy", "value": "", "type": "query", "description": "Field to order results by." } ] }, "docs": "Lists all versions of an API in the registry." }, { "info": { "name": "Apigee Create an API Version", "type": "http" }, "http": { "method": "POST", "url": "https://apihub.googleapis.com/v1/projects/:projectId/locations/:locationId/apis/:apiId/versions", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "Google Cloud project ID." }, { "name": "locationId", "value": "", "type": "path", "description": "Google Cloud region or location." }, { "name": "apiId", "value": "", "type": "path", "description": "ID of the API resource." }, { "name": "apiVersionId", "value": "", "type": "query", "description": "Required. The ID to use for the version." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new version for an API in the registry." }, { "info": { "name": "Apigee Get an API Version", "type": "http" }, "http": { "method": "GET", "url": "https://apihub.googleapis.com/v1/projects/:projectId/locations/:locationId/apis/:apiId/versions/:versionId", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "Google Cloud project ID." }, { "name": "locationId", "value": "", "type": "path", "description": "Google Cloud region or location." }, { "name": "apiId", "value": "", "type": "path", "description": "ID of the API resource." }, { "name": "versionId", "value": "", "type": "path", "description": "ID of the API version." } ] }, "docs": "Gets the details of a specific API version." }, { "info": { "name": "Apigee Update an API Version", "type": "http" }, "http": { "method": "PATCH", "url": "https://apihub.googleapis.com/v1/projects/:projectId/locations/:locationId/apis/:apiId/versions/:versionId", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "Google Cloud project ID." }, { "name": "locationId", "value": "", "type": "path", "description": "Google Cloud region or location." }, { "name": "apiId", "value": "", "type": "path", "description": "ID of the API resource." }, { "name": "versionId", "value": "", "type": "path", "description": "ID of the API version." }, { "name": "updateMask", "value": "", "type": "query", "description": "Required. Comma-separated list of fields to update." }, { "name": "allowMissing", "value": "", "type": "query", "description": "If true, create if it does not exist." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an existing API version." }, { "info": { "name": "Apigee Delete an API Version", "type": "http" }, "http": { "method": "DELETE", "url": "https://apihub.googleapis.com/v1/projects/:projectId/locations/:locationId/apis/:apiId/versions/:versionId", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "Google Cloud project ID." }, { "name": "locationId", "value": "", "type": "path", "description": "Google Cloud region or location." }, { "name": "apiId", "value": "", "type": "path", "description": "ID of the API resource." }, { "name": "versionId", "value": "", "type": "path", "description": "ID of the API version." }, { "name": "force", "value": "", "type": "query", "description": "If true, delete child resources as well." } ] }, "docs": "Deletes an API version and all its owned resources." } ] } ], "bundled": true }