Get List of Migration Packages

get

/rest/v16/migrationPackages

Use this endpoint to retrieve a list of migration packages.

Request

Query Parameters
  • Expand the child content.
  • Restrict which fields shall be returned. The value is a comma delimited string and each token is a field name.
  • Specifies a comma-separated list of pairs to order the response by.
  • Declares a query expression to specify filtering criteria. By default, no filtering is applied.
Back to Top

Response

Supported Media Types

Default Response

All Migration Packages Information
Body ()
Root Schema : migrationPackage-collection
Type: object
Show Source
Nested Schema : Migration Packages list
Type: array
Title: Migration Packages list
List of Migration Packages
Show Source
Nested Schema : migrationPackageContent
Type: object
Show Source
Nested Schema : Migration Package Content
Type: object
Title: Migration Package Content
Contents populate, when expand=contents or expand=all.
Show Source
Nested Schema : Migration Package Dependencies
Type: object
Title: Migration Package Dependencies
Dependent Packages for the Migration Package
Show Source
Nested Schema : This is list of migration package contents
Type: array
Title: This is list of migration package contents
Migration package contents
Show Source
Nested Schema : migrationContent
Type: object
Low-level details
Show Source
Nested Schema : List of children contents
Type: array
Title: List of children contents
List of children contents
Show Source
Nested Schema : migrationContent-children
Type: object
Migration Resource children contents
Show Source
  • Title: granular
    If true, the resource has low-level details
  • Category Migration Resource Links
  • Title: Migration Package Contents Name
    Name is an optional field in Request Payload
  • Title: Migration Package node name
    resourceType refers the node
  • Title: Migration Package Content Child VarName
    variableName refers the child varname
Nested Schema : Migration Package Dependencies list
Type: array
Title: Migration Package Dependencies list
List of Dependencies for Migration Package
Show Source
Nested Schema : migrationPackageDependency
Type: object
Show Source
Back to Top

Examples

The following example shows how to get a list of migration packages by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.

>curl -X GET -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Accept: application/json"
https://sitename.oracle.com/rest/v16/migrationPackages

Response Body Sample

{
  "items": [{
      "name": "Migration Package",
      "identifier": "migrationPackage_v12",
      "version": 1,
      "dateAdded": "2020-04-17T14:10:20.000Z",
      "dateModified": "2020-04-17T14:10:20.000Z",
      "dependencies": {
        "items": []
      },
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/migrationPackages/migrationPackage_v12"
        }
      ]
    }, {
      "name": "ABO Utilities",
      "identifier": "aBOUtilities_v12",
      "version": 1,
      "dateAdded": "2020-04-17T14:11:12.000Z",
      "dateModified": "2020-04-17T14:11:12.000Z",
      "dependencies": {
        "items": []
      },
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/migrationPackages/aBOUtilities_v12"
        }
      ]
    }, {
      "name": "Migration Package",
      "identifier": "migrationPackage_v12",
      "version": 2,
      "dateRelease": "2020-04-17T05:00:00.000Z",
      "dateAdded": "2020-04-17T14:12:52.000Z",
      "dateModified": "2020-04-17T14:14:10.000Z",
      "dependencies": {
        "items": [{
            "name": "ABO Utilities",
            "version": 1
          }
        ]
      },
      "links": [{
          "rel": "self",
          "href": "https://sitename.oracle.com/migrationPackages/migrationPackage_v12"
        }
      ]
    }
  ],
  "links": [{
      "rel": "self",
      "href": "https://sitename.oracle.com/migrationPackages"
    }
  ]
}
Back to Top