Get All Migration Tasks
get
/rest/v19/migrationTasks
This endpoint retrieves a list of all migration tasks.
Request
Query Parameters
-
expand: string
Expand the child content.Allowed Values:
[ "categories" ]
-
limit: integer
The requested page size, which limits the number of elements the collection should max return.
-
offset: integer
The offset of the page. By default, offset is 0, which means first page will be returned.
-
orderby: string
Specifies a comma-separated list of pairs to order the response by.
-
totalResults: boolean
Specifies that the total count of records should be included in the response when doing pagination.
Response
Supported Media Types
- application/json
Default Response
All migration task information.
Root Schema : migrationTask-collection
Type:
Show Source
object
-
items:
array Migration Task List
Title:
Migration Task List
List of migration tasks. -
links:
array Links to the related objects
Title:
Links to the related objects
Links to the related objects
Nested Schema : Migration Task List
Type:
array
Title:
Migration Task List
List of migration tasks.
Show Source
-
Array of:
object Migration Task Details
Title:
Migration Task Details
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 referenceLinks
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : Migration Task Details
Type:
object
Title:
Show Source
Migration Task Details
-
categories:
object migrationTaskCategory-collection
-
date:
string
Title:
date
Completed date for migration task. -
description:
string
Title:
description
Description for the migration task. -
isCancel:
boolean
Title:
isCancel
Is migration task cancelable? -
isDelete:
boolean
Title:
isDelete
Is migration task deletable? -
isDownload:
boolean
Title:
isDownload
Is downloadable file available for the migration task? -
isRevertToSnapshot:
boolean
Title:
isRevertToSnapshot
Is revert to snapshot available for the migration task? -
isRollback:
boolean
Title:
isRollback
Is migration task rollbackable? -
links:
array Links to the related objects
Title:
Links to the related objects
Links to the related objects -
owner:
string
Title:
owner
User login name. -
status:
string
Title:
status
Status of the migration task. -
statusLabel:
string
Title:
statusLabel
Status display name. -
taskCategory:
object taskCategory
Title:
taskCategory
Category of Migration Task. -
taskId:
number
Title:
taskId
Id of the migration task.
Nested Schema : migrationTaskCategory-collection
Type:
Show Source
object
-
items:
array Migration Task Category list
Title:
Migration Task Category list
List of migration task sub categories. -
links:
array Links to the related objects
Title:
Links to the related objects
Links to the related objects
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 referenceLinks
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : taskCategory
Type:
object
Title:
taskCategory
Category of Migration Task.
Show Source
-
displayValue:
string
Title:
Display Value
Display Value -
value:
number
Title:
Value
Value
Nested Schema : Migration Task Category list
Type:
array
Title:
Migration Task Category list
List of migration task sub categories.
Show Source
-
Array of:
object Migration Task Category Details
Title:
Migration Task Category Details
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 referenceLinks
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : Migration Task Category Details
Type:
object
Title:
Show Source
Migration Task Category Details
-
category:
string
Title:
category
Migration task sub category. -
categoryDetails:
object Migration Task Category Logs Details
Title:
Migration Task Category Logs Details
-
categoryLabel:
string
Title:
categoryLabel
Category display name. -
date:
string
Title:
date
Completed date for migration sub task. -
links:
array Links to the related objects
Title:
Links to the related objects
Links to the related objects -
status:
string
Title:
status
Status of the migration sub task. -
statusLabel:
string
Title:
statusLabel
Status display name. -
statusMessage:
string
Title:
statusMessage
Task Status message.
Nested Schema : Migration Task Category Logs Details
Type:
object
Title:
Show Source
Migration Task Category Logs Details
-
category:
string
Title:
category
Migration task sub category. -
categoryLabel:
string
Title:
categoryLabel
Category display name. -
events:
array Migration Task Sub Category Log Event
Title:
Migration Task Sub Category Log Event
List of migration task sub category log event. -
logs:
array Migration Task Sub Category Logs
Title:
Migration Task Sub Category Logs
List of migration task sub category logs.
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 referenceLinks
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : Migration Task Sub Category Log Event
Type:
array
Title:
Migration Task Sub Category Log Event
List of migration task sub category log event.
Show Source
-
Array of:
object Migration Task Sub Category Log Event
Title:
Migration Task Sub Category Log Event
Nested Schema : Migration Task Sub Category Logs
Type:
array
Title:
Migration Task Sub Category Logs
List of migration task sub category logs.
Show Source
-
Array of:
object Migration Task Sub Category Log Messages
Title:
Migration Task Sub Category Log Messages
Nested Schema : Migration Task Sub Category Log Event
Type:
object
Title:
Show Source
Migration Task Sub Category Log Event
-
name:
string
Title:
name
Name of the log event. -
status:
string
Title:
status
Status of the event. -
statusLabel:
string
Title:
statusLabel
Event status display name. -
statusMessage:
string
Title:
statusMessage
Event status message. -
timeStamp:
string
Title:
timeStamp
Event completed timestamp.
Nested Schema : Migration Task Sub Category Log Messages
Type:
object
Title:
Show Source
Migration Task Sub Category Log Messages
-
displayName:
string
Title:
displayName
Display Name of the log Messages. -
items:
array Migration Task Sub Category Log Messages
Title:
Migration Task Sub Category Log Messages
List of migration log messages.
Nested Schema : Migration Task Sub Category Log Messages
Type:
array
Title:
Migration Task Sub Category Log Messages
List of migration log messages.
Show Source
-
Array of:
string
Title:
Message
Message
Nested Schema : referenceLinks
Type:
object
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 retrieve a list of all migration tasks by submitting a GET 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
Response Body Sample
{ "items": [{ "taskId": 3023634117, "owner": "adminuser1", "taskCategory": { "value": 22, "displayValue": "Snapshot" }, "status": "Snapshot Cancelled", "statusLabel": "Snapshot Cancelled", "date": "2025-02-14T05:27:40.000Z", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v19/migrationTasks/3023634117" } ], "isRevertToSnapshot": false, "isDownload": false, "isDelete": false, "isRollback": false, "isCancel": false }, { "taskId": 3023628792, "owner": "adminuser1", "taskCategory": { "value": 33, "displayValue": "Rollback of a migration" }, "description": "Rollback for migration dated 02/12/2025 6:41 AM", "status": "Successful", "statusLabel": "Successful", "date": "2025-02-14T05:40:07.250Z", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v19/migrationTasks/3023628792" }, { "rel": "child", "href": "https://sitename.oracle.com/rest/v19/migrationTasks/3023628792/categories" } ], "isRevertToSnapshot": false, "isDownload": false, "isDelete": true, "isRollback": false, "isCancel": false }, { "taskId": 3023628791, "owner": "adminuser1", "taskCategory": { "value": 32, "displayValue": "Migration Rollback Helper" }, "description": "User Initiated Rollback", "status": "Successful", "statusLabel": "Successful", "date": "2025-02-14T05:25:18.000Z", "links": [{ "rel": "self", "href": "https://sitename.oracle.com/rest/v19/migrationTasks/3023628791" } ], "isRevertToSnapshot": false, "isDownload": false, "isDelete": true, "isRollback": false, "isCancel": false } ] }