{
  "opencollection": "1.0.0",
  "info": {
    "name": "Access Governance Access Governance CP API",
    "version": "20220518"
  },
  "items": [
    {
      "info": {
        "name": "accessGovernanceCP",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Gets a list of all GovernanceInstances in a compartment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://127.0.0.1/20220518/governanceInstances",
            "headers": [
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "compartmentId",
                "value": "",
                "type": "query",
                "description": "The OCID of the compartment in which resources are listed."
              },
              {
                "name": "lifecycleState",
                "value": "",
                "type": "query",
                "description": "The lifecycle state to filter on."
              },
              {
                "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": "The OCID of the GovernanceInstance"
              },
              {
                "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.\n"
              }
            ]
          },
          "docs": "Returns a list of Governance Instances.\n"
        },
        {
          "info": {
            "name": "Creates a new GovernanceInstance.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://127.0.0.1/20220518/governanceInstances",
            "headers": [
              {
                "name": "opc-retry-token",
                "value": ""
              },
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new GovernanceInstance.\n"
        },
        {
          "info": {
            "name": "Get GovernanceInstance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://127.0.0.1/20220518/governanceInstances/configuration",
            "headers": [
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "compartmentId",
                "value": "",
                "type": "query",
                "description": "The OCID of the compartment in which resources are listed."
              }
            ]
          },
          "docs": "Gets the tenancy-wide configuration for GovernanceInstances"
        },
        {
          "info": {
            "name": "Update the tenancy-wide configuration for GovernanceInstances",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://127.0.0.1/20220518/governanceInstances/configuration",
            "headers": [
              {
                "name": "if-match",
                "value": ""
              },
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "compartmentId",
                "value": "",
                "type": "query",
                "description": "The OCID of the compartment in which resources are listed."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the tenancy-wide configuration for GovernanceInstances"
        },
        {
          "info": {
            "name": "Get GovernanceInstance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://127.0.0.1/20220518/governanceInstances/:governanceInstanceId",
            "headers": [
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "governanceInstanceId",
                "value": "",
                "type": "path",
                "description": "The OCID of the GovernanceInstance"
              }
            ]
          },
          "docs": "Gets a GovernanceInstance by OCID."
        },
        {
          "info": {
            "name": "Update the GovernanceInstance.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://127.0.0.1/20220518/governanceInstances/:governanceInstanceId",
            "headers": [
              {
                "name": "if-match",
                "value": ""
              },
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "governanceInstanceId",
                "value": "",
                "type": "path",
                "description": "The OCID of the GovernanceInstance"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the GovernanceInstance."
        },
        {
          "info": {
            "name": "Deletes an existing GovernanceInstance.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://127.0.0.1/20220518/governanceInstances/:governanceInstanceId",
            "headers": [
              {
                "name": "if-match",
                "value": ""
              },
              {
                "name": "opc-retry-token",
                "value": ""
              },
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "governanceInstanceId",
                "value": "",
                "type": "path",
                "description": "The OCID of the GovernanceInstance"
              },
              {
                "name": "isLockOverride",
                "value": "",
                "type": "query",
                "description": "Whether to override locks (if any exist)."
              }
            ]
          },
          "docs": "Deletes an existing GovernanceInstance.\n"
        },
        {
          "info": {
            "name": "Adds a lock to a GovernanceInstance resource.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://127.0.0.1/20220518/governanceInstances/:governanceInstanceId/actions/addLock",
            "headers": [
              {
                "name": "opc-request-id",
                "value": ""
              },
              {
                "name": "if-match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "governanceInstanceId",
                "value": "",
                "type": "path",
                "description": "The OCID of the GovernanceInstance"
              }
            ]
          },
          "docs": "Adds a lock to a GovernanceInstance resource."
        },
        {
          "info": {
            "name": "Moves the GovernanceInstance into a different compartment.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://127.0.0.1/20220518/governanceInstances/:governanceInstanceId/actions/changeCompartment",
            "headers": [
              {
                "name": "if-match",
                "value": ""
              },
              {
                "name": "opc-request-id",
                "value": ""
              },
              {
                "name": "opc-retry-token",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "governanceInstanceId",
                "value": "",
                "type": "path",
                "description": "The OCID of the GovernanceInstance"
              },
              {
                "name": "isLockOverride",
                "value": "",
                "type": "query",
                "description": "Whether to override locks (if any exist)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Moves a GovernanceInstance resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource."
        },
        {
          "info": {
            "name": "Removes a lock to a GovernanceInstance resource.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://127.0.0.1/20220518/governanceInstances/:governanceInstanceId/actions/removeLock",
            "headers": [
              {
                "name": "opc-request-id",
                "value": ""
              },
              {
                "name": "if-match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "governanceInstanceId",
                "value": "",
                "type": "path",
                "description": "The OCID of the GovernanceInstance"
              }
            ]
          },
          "docs": "Removes a lock from a GovernanceInstance resource."
        },
        {
          "info": {
            "name": "List Work Requests",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://127.0.0.1/20220518/workRequests",
            "headers": [
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "compartmentId",
                "value": "",
                "type": "query",
                "description": "The OCID of the compartment in which resources are listed."
              },
              {
                "name": "workRequestId",
                "value": "",
                "type": "query",
                "description": "The OCID of the asynchronous work request."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "A filter to return only resources whose lifecycle state matches the given operation status."
              },
              {
                "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/20220518/workRequests/:workRequestId",
            "headers": [
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workRequestId",
                "value": "",
                "type": "path",
                "description": "The OCID 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/20220518/workRequests/:workRequestId",
            "headers": [
              {
                "name": "if-match",
                "value": ""
              },
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workRequestId",
                "value": "",
                "type": "path",
                "description": "The OCID 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/20220518/workRequests/:workRequestId/errors",
            "headers": [
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workRequestId",
                "value": "",
                "type": "path",
                "description": "The OCID 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/20220518/workRequests/:workRequestId/logs",
            "headers": [
              {
                "name": "opc-request-id",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workRequestId",
                "value": "",
                "type": "path",
                "description": "The OCID 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
}