{ "opencollection": "1.0.0", "info": { "name": "Managed Access Approval Template API", "version": "20220126" }, "items": [ { "info": { "name": "approvalTemplate", "type": "folder" }, "items": [ { "info": { "name": "Retrieves a list of all approval templates in a compartment.", "type": "http" }, "http": { "method": "GET", "url": "http://127.0.0.1/20220126/approvalTemplates", "headers": [ { "name": "opc-request-id", "value": "" } ], "params": [ { "name": "compartmentId", "value": "", "type": "query", "description": "The ID of the compartment in which to list resources." }, { "name": "id", "value": "", "type": "query", "description": "A generic Id query param used to filter lockbox, access request and approval template by Id." }, { "name": "displayName", "value": "", "type": "query", "description": "A filter to return only resources that match the entire display name given." }, { "name": "lifecycleState", "value": "", "type": "query", "description": "A filter to return only resources for which their lifecycleState matches the given lifecycleState." }, { "name": "limit", "value": "", "type": "query", "description": "The maximum number of items to return." }, { "name": "page", "value": "", "type": "query", "description": "A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response." }, { "name": "sortOrder", "value": "", "type": "query", "description": "The sort order to use, either 'ASC' or 'DESC'." }, { "name": "sortBy", "value": "", "type": "query", "description": "The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.\n" } ] }, "docs": "Retrieves a list of ApprovalTemplateSummary objects in a compartment.\n" }, { "info": { "name": "Creates a new approval template.", "type": "http" }, "http": { "method": "POST", "url": "http://127.0.0.1/20220126/approvalTemplates", "headers": [ { "name": "opc-retry-token", "value": "" }, { "name": "opc-request-id", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new approval template.\n" }, { "info": { "name": "Retrieves an approval template", "type": "http" }, "http": { "method": "GET", "url": "http://127.0.0.1/20220126/approvalTemplates/:approvalTemplateId", "headers": [ { "name": "opc-request-id", "value": "" } ], "params": [ { "name": "approvalTemplateId", "value": "", "type": "path", "description": "The unique identifier (OCID) of the approval template." } ] }, "docs": "Retrieves an approval template identified by the approval template ID." }, { "info": { "name": "Update the ApprovalTemplate identified by the id", "type": "http" }, "http": { "method": "PUT", "url": "http://127.0.0.1/20220126/approvalTemplates/:approvalTemplateId", "headers": [ { "name": "if-match", "value": "" }, { "name": "opc-request-id", "value": "" } ], "params": [ { "name": "approvalTemplateId", "value": "", "type": "path", "description": "The unique identifier (OCID) of the approval template." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the ApprovalTemplate" }, { "info": { "name": "Delete a provisioned Approval Template", "type": "http" }, "http": { "method": "DELETE", "url": "http://127.0.0.1/20220126/approvalTemplates/:approvalTemplateId", "headers": [ { "name": "if-match", "value": "" }, { "name": "opc-request-id", "value": "" } ], "params": [ { "name": "approvalTemplateId", "value": "", "type": "path", "description": "The unique identifier (OCID) of the approval template." } ] }, "docs": "Deletes an ApprovalTemplate resource by identifier" }, { "info": { "name": "Moves a resource into a different compartment.", "type": "http" }, "http": { "method": "POST", "url": "http://127.0.0.1/20220126/approvalTemplates/:approvalTemplateId/actions/changeCompartment", "headers": [ { "name": "if-match", "value": "" }, { "name": "opc-request-id", "value": "" }, { "name": "opc-retry-token", "value": "" } ], "params": [ { "name": "approvalTemplateId", "value": "", "type": "path", "description": "The unique identifier (OCID) of the approval template." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Moves an ApprovalTemplate resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource." } ] } ], "bundled": true }