Get Migration Package Category Content

get

/rest/v19/migrationPackages/{identifier}/contents/{category}

This endpoint retrieves all migration resources for a specific category included in an existing migration package.

Request

Path Parameters
Query Parameters
  • Flag to determine if contents must be fetched from the uploaded zip file. If true, the uploaded package identifier should be passed as a path parameter.
  • Cross process migration variable name.This field is only applicable if retrieveFromPackageZip is set as true.
Back to Top

Response

Supported Media Types

Default Response

Migration package content response
Body ()
Root 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
Back to Top

Examples

The following example shows how to get all migration resources for a specific category included in an existing migration package 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 "Accept: application/json"
https://sitename.oracle.com/rest/v19/migrationPackages/migrationPackage_v1/contents/CONFIGURATION

Response Body Sample

{
  "name": "Configuration",
  "category": "CONFIGURATION",
  "children": [{
      "name": "Integration",
      "variableName": "integration",
      "resourceType": "product_family_configuration"
    }
  ],
  "links": [{
      "rel": "self",
      "href": "http://sitename.oracle.com/rest/v19/migrationPackages/migrationPackage_v1/contents/CONFIGURATION"
    }
  ]
}
Back to Top