{
  "opencollection": "1.0.0",
  "info": {
    "name": "Process Automation Opa Instance API",
    "version": "20210621"
  },
  "items": [
    {
      "info": {
        "name": "opaInstance",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Gets a list of all OpaInstances in a compartment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://127.0.0.1/20210621/opaInstances",
            "headers": [
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "compartmentId",
                "value": "",
                "type": "query",
                "description": "The ID of the compartment in which to list resources."
              },
              {
                "name": "lifecycleState",
                "value": "",
                "type": "query",
                "description": "A filter to return only resources their lifecycleState matches the given lifecycleState."
              },
              {
                "name": "displayName",
                "value": "",
                "type": "query",
                "description": "A filter to return only resources that match the entire display name given."
              },
              {
                "name": "id",
                "value": "",
                "type": "query",
                "description": "unique OpaInstance identifier"
              },
              {
                "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": "Returns a list of OpaInstances.\n"
        },
        {
          "info": {
            "name": "Creates a new OpaInstance",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://127.0.0.1/20210621/opaInstances",
            "headers": [
              {
                "name": "opc-retry-token",
                "value": ""
              },
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new OpaInstance.\n"
        },
        {
          "info": {
            "name": "Get OpaInstance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://127.0.0.1/20210621/opaInstances/:opaInstanceId",
            "headers": [
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "opaInstanceId",
                "value": "",
                "type": "path",
                "description": "unique OpaInstance identifier"
              }
            ]
          },
          "docs": "Gets a OpaInstance by identifier"
        },
        {
          "info": {
            "name": "Update the OpaInstance identified by the id",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://127.0.0.1/20210621/opaInstances/:opaInstanceId",
            "headers": [
              {
                "name": "if-match",
                "value": ""
              },
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "opaInstanceId",
                "value": "",
                "type": "path",
                "description": "unique OpaInstance identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the OpaInstance"
        },
        {
          "info": {
            "name": "Delete a provisioned OpaInstance",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://127.0.0.1/20210621/opaInstances/:opaInstanceId",
            "headers": [
              {
                "name": "if-match",
                "value": ""
              },
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "opaInstanceId",
                "value": "",
                "type": "path",
                "description": "unique OpaInstance identifier"
              }
            ]
          },
          "docs": "Deletes a OpaInstance resource by identifier"
        },
        {
          "info": {
            "name": "Moves a resource into a different compartment.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://127.0.0.1/20210621/opaInstances/:opaInstanceId/actions/changeCompartment",
            "headers": [
              {
                "name": "if-match",
                "value": ""
              },
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "opaInstanceId",
                "value": "",
                "type": "path",
                "description": "unique OpaInstance identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Moves a OpaInstance resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource."
        },
        {
          "info": {
            "name": "List Work Requests",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://127.0.0.1/20210621/workRequests",
            "headers": [
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "compartmentId",
                "value": "",
                "type": "query",
                "description": "The ID of the compartment in which to list resources."
              },
              {
                "name": "workRequestId",
                "value": "",
                "type": "query",
                "description": "The ID of the asynchronous work request."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "A filter to return only resources their lifecycleState matches the given OperationStatus."
              },
              {
                "name": "resourceId",
                "value": "",
                "type": "query",
                "description": "The ID of the resource affected by the work request."
              },
              {
                "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": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum number of items to return."
              },
              {
                "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 timeAccepted is descending.\n"
              }
            ]
          },
          "docs": "Lists the work requests in a compartment.\n"
        },
        {
          "info": {
            "name": "GET Work Request Status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://127.0.0.1/20210621/workRequests/:workRequestId",
            "headers": [
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workRequestId",
                "value": "",
                "type": "path",
                "description": "The ID of the asynchronous request."
              }
            ]
          },
          "docs": "Gets the status of the work request with the given ID."
        },
        {
          "info": {
            "name": "Cancel the work request",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://127.0.0.1/20210621/workRequests/:workRequestId",
            "headers": [
              {
                "name": "if-match",
                "value": ""
              },
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workRequestId",
                "value": "",
                "type": "path",
                "description": "The ID of the asynchronous request."
              }
            ]
          },
          "docs": "Cancel work request with the given ID."
        },
        {
          "info": {
            "name": "Lists work request errors",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://127.0.0.1/20210621/workRequests/:workRequestId/errors",
            "headers": [
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workRequestId",
                "value": "",
                "type": "path",
                "description": "The ID of the asynchronous request."
              },
              {
                "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": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum number of items to return."
              },
              {
                "name": "sortBy",
                "value": "",
                "type": "query",
                "description": "The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.\n"
              },
              {
                "name": "sortOrder",
                "value": "",
                "type": "query",
                "description": "The sort order to use, either 'ASC' or 'DESC'."
              }
            ]
          },
          "docs": "Return a (paginated) list of errors for a given work request.\n"
        },
        {
          "info": {
            "name": "Lists work request logs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://127.0.0.1/20210621/workRequests/:workRequestId/logs",
            "headers": [
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workRequestId",
                "value": "",
                "type": "path",
                "description": "The ID of the asynchronous request."
              },
              {
                "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": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum number of items to return."
              },
              {
                "name": "sortBy",
                "value": "",
                "type": "query",
                "description": "The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.\n"
              },
              {
                "name": "sortOrder",
                "value": "",
                "type": "query",
                "description": "The sort order to use, either 'ASC' or 'DESC'."
              }
            ]
          },
          "docs": "Return a (paginated) list of logs for a given work request.\n"
        }
      ]
    }
  ],
  "bundled": true
}