{ "opencollection": "1.0.0", "info": { "name": "APIs.io Engineering Platform Amazon API Gateway 2014 11 13 API Versions API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "API Versions", "type": "folder" }, "items": [ { "info": { "name": "APIs.io Engineering Platform Get all versions", "type": "http" }, "http": { "method": "GET", "url": "http://apigateway.{region}.amazonaws.com/apis/:apiId/versions", "headers": [ { "name": "Accept", "value": "" } ], "params": [ { "name": "apiId", "value": "", "type": "path", "description": "The API's ID." }, { "name": "cursor", "value": "", "type": "query", "description": "The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter." }, { "name": "limit", "value": "", "type": "query", "description": "The maximum number of rows to return in the response." } ] }, "docs": "Gets all the published versions of an API." }, { "info": { "name": "APIs.io Engineering Platform Create a version", "type": "http" }, "http": { "method": "POST", "url": "http://apigateway.{region}.amazonaws.com/apis/:apiId/versions", "headers": [ { "name": "Accept", "value": "" } ], "params": [ { "name": "apiId", "value": "", "type": "path", "description": "The API's ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new API version asynchronously and immediately returns an HTTP `202 Accepted` response. The response contains a polling link to the task status API in the `Location` header.\n\nThis endpoint is equivalent to publishing a version in Postman app, which is the snapshot of API collections and schema at a given point in time.\n" }, { "info": { "name": "APIs.io Engineering Platform Update a version", "type": "http" }, "http": { "method": "PUT", "url": "http://apigateway.{region}.amazonaws.com/apis/:apiId/versions/:versionId", "headers": [ { "name": "Accept", "value": "" } ], "params": [ { "name": "apiId", "value": "", "type": "path", "description": "The API's ID." }, { "name": "versionId", "value": "", "type": "path", "description": "The API's version ID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an API version.\n\n**Note:**\n\nThis endpoint returns an HTTP `404 Not Found` response when an API version is pending publication.\n" }, { "info": { "name": "APIs.io Engineering Platform Delete a version", "type": "http" }, "http": { "method": "DELETE", "url": "http://apigateway.{region}.amazonaws.com/apis/:apiId/versions/:versionId", "headers": [ { "name": "Accept", "value": "" } ], "params": [ { "name": "apiId", "value": "", "type": "path", "description": "The API's ID." }, { "name": "versionId", "value": "", "type": "path", "description": "The API's version ID." } ] }, "docs": "Deletes an API version. On success, this returns an HTTP `204 No Content` response.\n\n**Note:**\n\nThis endpoint returns an HTTP `404 Not Found` response when an API version is pending publication.\n" } ] } ], "bundled": true }