{ "opencollection": "1.0.0", "info": { "name": "Oracle REST Data Services (ORDS) REST AutoREST Handlers API", "version": "25.4" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Handlers", "type": "folder" }, "items": [ { "info": { "name": "Get all REST template handlers", "type": "http" }, "http": { "method": "GET", "url": "https://{host}:{port}/ords/_/db-api/stable/ords/rest/handlers/", "params": [ { "name": "offset", "value": "", "type": "query", "description": "The index of the first item to return (0-based). Default is 0." }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of items to return per page. Default is 25." } ] }, "docs": "Retrieves a paginated list of all REST template handlers defined in the current schema." }, { "info": { "name": "Create a REST template handler", "type": "http" }, "http": { "method": "POST", "url": "https://{host}:{port}/ords/_/db-api/stable/ords/rest/handlers/", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new REST template handler that implements a specific HTTP method on a template. The handler contains the source code (SQL query or PL/SQL block) that will be executed when the template URI is accessed with the specified HTTP method." }, { "info": { "name": "Get a REST template handler", "type": "http" }, "http": { "method": "GET", "url": "https://{host}:{port}/ords/_/db-api/stable/ords/rest/handlers/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Unique identifier of the resource" } ] }, "docs": "Retrieves details of a specific REST template handler by its identifier." }, { "info": { "name": "Update a REST template handler", "type": "http" }, "http": { "method": "PUT", "url": "https://{host}:{port}/ords/_/db-api/stable/ords/rest/handlers/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Unique identifier of the resource" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an existing REST template handler including its source code, source type, and pagination settings." }, { "info": { "name": "Delete a REST template handler", "type": "http" }, "http": { "method": "DELETE", "url": "https://{host}:{port}/ords/_/db-api/stable/ords/rest/handlers/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Unique identifier of the resource" } ] }, "docs": "Deletes a specific REST template handler." }, { "info": { "name": "Get a REST handler source", "type": "http" }, "http": { "method": "GET", "url": "https://{host}:{port}/ords/_/db-api/stable/ords/rest/handlers/:id/source", "params": [ { "name": "id", "value": "", "type": "path", "description": "Unique identifier of the resource" } ] }, "docs": "Retrieves the source code implementation of a specific REST template handler." } ] } ], "bundled": true }