Get All Migration Package Content

get

/rest/v16/migrationPackages/{identifier}/contents

Use this endpoint to retrieve all content within a migration package.

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

Default Response

Migration package content information
Body ()
Root Schema : migrationContent-collection
Type: object
Show Source
Nested Schema : Migration resources list
Type: array
Title: Migration resources list
List of migration resources
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
Back to Top

Examples

The following example shows how to get all migration resources for 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 -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Accept: application/json"
https://sitename.oracle.com/rest/v16/migrationPackages/migrationPackage_v1/contents

Response Body Sample

{
  "items": [{
      "name": "Configuration",
      "category": "CONFIGURATION",
      "children": [{
          "name": "Integration",
          "variableName": "integration",
          "resourceType": "product_family_configuration"
        }
      ]
    }, {
      "name": "Commerce",
      "category": "COMMERCE",
      "children": [{
          "name": "Test",
          "variableName": "test",
          "resourceType": "process"
        }
      ]
    }
  ],
  "links": [{
      "rel": "self",
      "href": "http://sitename.oracle.com/rest/v16/migrationPackages/migrationPackage_v1/contents"
    }, {
      "rel": "parent",
      "href": "http://sitename.oracle.com/rest/v16/migrationPackages/migrationPackage_v1"
    }
  ]
}
     
Back to Top