Start a Restore Operation
post
/paas/api/v1.1/instancemgmt/{identityDomainId}/services/IntegrationCloud/instances/{service_name}/restoredbackups
Restores the service from a backup.
Request
Supported Media Types
- application/json
Path Parameters
-
identityDomainId: string
Name of the identity domain for the service account
-
service_name: string
Name of the Integration Cloud Service instance
Header Parameters
-
X-ID-TENANT-NAME: string
Identity domain ID for the Oracle Integration Classic account.
JSON payload for this REST endpoint
Root Schema : Request Body
Type:
object
Title:
Show Source
Request Body
-
backupId(optional):
string
ID of the backup to be restored
-
notes(optional):
string
Notes for this restore
-
restoreId(optional):
string
The Id to be used for restore
-
restoreType(optional):
string
Restore Identifier
Response
Supported Media Types
- application/json
202 Response
Accepted
Root Schema : accepted-response
Type:
Show Source
object
-
jobId(optional):
string
Job ID of the operation.
-
message(optional):
string
System message that describes the operation. For example:
Submitted job to create service [{serviceName}] in domain [{identityDomainId}].
Examples
The following example shows how to restore a backup for an Oracle Integration Classic Instance by submitting a POST request on the REST resource using cURL.
Note:
The command in this example uses the URL structurehttps://example.com/resource-path
, where
example.com
is the Oracle Cloud server to contact for your identity domain.
cURL Command
curl -i -X POST -u jstein:Password -d '{"backupId":"1501088628567", "notes": "This is my restore"}' -H "Content-Type:application/json" -H "X-ID-TENANT-NAME:ExampleIdentityDomain" http://example.com/paas/api/v1.1/instancemgmt/ExampleIdentityDomain/services/IntegrationCloud/instances/ExampleInstance/restoredbackups
Example of Request Header
The following shows an example of the response header.
headers: Content-Type:application/json Authorization: <Basic Auth credentials> X-ID-TENANT-NAME: <identity domain>
Example of Request Body
The following shows an example of the request body in JSON format.
{ "backupId": "<ID Value>", "notes": "<Sample Notes>" }