{ "opencollection": "1.0.0", "info": { "name": "RapidAPI Gateway Alerts Definitions API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "X-RapidAPI-Key", "value": "{{X-RapidAPI-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "Definitions", "type": "folder" }, "items": [ { "info": { "name": "List definitions", "type": "http" }, "http": { "method": "GET", "url": "https://gateway.rapidapi.com/v1/projects/:projectId/definitions", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The unique identifier of the project" } ] }, "docs": "Retrieves all API definitions associated with a project, including imported OpenAPI specifications and Postman Collections." }, { "info": { "name": "Import a definition", "type": "http" }, "http": { "method": "POST", "url": "https://gateway.rapidapi.com/v1/projects/:projectId/definitions", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The unique identifier of the project" } ], "body": { "type": "multipart-form", "data": [ { "name": "file", "type": "text", "value": "" }, { "name": "url", "type": "text", "value": "" }, { "name": "text", "type": "text", "value": "" }, { "name": "format", "type": "text", "value": "" } ] } }, "docs": "Imports an API definition into the project from a file upload, remote URL, or text input. Supports OpenAPI 3.0.3 and Postman Collection formats. Importing a definition automatically populates the project's endpoints." }, { "info": { "name": "Get a definition", "type": "http" }, "http": { "method": "GET", "url": "https://gateway.rapidapi.com/v1/projects/:projectId/definitions/:definitionId", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The unique identifier of the project" }, { "name": "definitionId", "value": "", "type": "path", "description": "The unique identifier of the API definition" } ] }, "docs": "Retrieves the full content and metadata of a specific API definition." }, { "info": { "name": "Delete a definition", "type": "http" }, "http": { "method": "DELETE", "url": "https://gateway.rapidapi.com/v1/projects/:projectId/definitions/:definitionId", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The unique identifier of the project" }, { "name": "definitionId", "value": "", "type": "path", "description": "The unique identifier of the API definition" } ] }, "docs": "Deletes an imported API definition from the project. Associated endpoints remain but lose their definition binding." }, { "info": { "name": "Export a definition", "type": "http" }, "http": { "method": "GET", "url": "https://gateway.rapidapi.com/v1/projects/:projectId/definitions/:definitionId/export", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "The unique identifier of the project" }, { "name": "definitionId", "value": "", "type": "path", "description": "The unique identifier of the API definition" }, { "name": "format", "value": "", "type": "query", "description": "The output format for the exported definition" } ] }, "docs": "Exports the API definition in the specified format, allowing developers to download the spec for use in other tools or CI/CD pipelines." } ] } ], "bundled": true }