Create a Snapshot
post
/rest/v19/migrationTasks/actions/createSnapshot
This endpoint submits a task to create a snapshot.
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
Default Response
Migration snapshot task details
Root Schema : Task details
Type:
object
Title:
Task details
Task details
Show Source
-
links:
array Links to the related objects
Title:
Links to the related objects
Links to the related objects -
taskId:
integer
Title:
Task Id
Task Id
Nested Schema : Links to the related objects
Type:
array
Title:
Links to the related objects
Links to the related objects
Show Source
-
Array of:
object reference links
Title:
reference links
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : reference links
Type:
object
Title:
reference links
Reference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
URL to the related object
URL to the related object -
rel:
string
Title:
Link Relationship to the current object
Link Relationship to the current object
Examples
The following example shows how to submit a task to create a snapshot by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X POST -H "Authorization: Bearer <token>" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/migrationTasks/actions/createSnapshot
Response Body Sample
{ "taskId": 3023660644, "links": [{ "rel": "related", "href": "https://sitename.oracle.com/rest/v19/migrationTasks/3023660644" } ] }