Get All Migration Tasks

get

/rest/v19/migrationTasks

This endpoint retrieves a list of all migration tasks.

Request

Query Parameters
  • Expand the child content.
    Allowed Values: [ "categories" ]
  • The requested page size, which limits the number of elements the collection should max return.
  • The offset of the page. By default, offset is 0, which means first page will be returned.
  • Specifies a comma-separated list of pairs to order the response by.
  • Specifies that the total count of records should be included in the response when doing pagination.
Back to Top

Response

Supported Media Types

Default Response

All migration task information.
Body ()
Root Schema : migrationTask-collection
Type: object
Show Source
Nested Schema : Migration Task List
Type: array
Title: Migration Task List
List of migration tasks.
Show Source
Nested Schema : Migration Task Details
Type: object
Title: Migration Task Details
Show Source
Nested Schema : migrationTaskCategory-collection
Type: object
Show Source
Nested Schema : taskCategory
Type: object
Title: taskCategory
Category of Migration Task.
Show Source
Nested Schema : Migration Task Category list
Type: array
Title: Migration Task Category list
List of migration task sub categories.
Show Source
Nested Schema : Migration Task Category Details
Type: object
Title: Migration Task Category Details
Show Source
Nested Schema : Migration Task Category Logs Details
Type: object
Title: Migration Task Category Logs Details
Show Source
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
Nested Schema : Migration Task Sub Category Logs
Type: array
Title: Migration Task Sub Category Logs
List of migration task sub category logs.
Show Source
Nested Schema : Migration Task Sub Category Log Event
Type: object
Title: Migration Task Sub Category Log Event
Show Source
Nested Schema : Migration Task Sub Category Log Messages
Type: object
Title: Migration Task Sub Category Log Messages
Show Source
Nested Schema : Migration Task Sub Category Log Messages
Type: array
Title: Migration Task Sub Category Log Messages
List of migration log messages.
Show Source
Back to Top

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
    }
  ]
}
Back to Top