Get All Migration Package Content

get

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

This endpoint retrieves 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
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 -H "Authorization: Bearer <token>" -H "Accept: application/json"
https://sitename.oracle.com/rest/v19/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/v19/migrationPackages/migrationPackage_v1/contents"
    }, {
      "rel": "parent",
      "href": "http://sitename.oracle.com/rest/v19/migrationPackages/migrationPackage_v1"
    }
  ]
}
     
Back to Top