Get Migration Package Content Dependencies
get
/rest/v16/migrationPackages/{identifier}/contents/dependencies
Use this endpoint to retrieve content dependencies for a migration package.
Request
Path Parameters
-
identifier(required): string
The unique identifier for the migration package to fetch dependencies
Response
Supported Media Types
- application/json
Default Response
Migration package content dependencies response
Root Schema : dependency-Response
Type:
Show Source
object
-
items:
array List of Dependent Resources
Title:
List of Dependent Resources
List of dependent resources
Nested Schema : List of Dependent Resources
Type:
array
Title:
List of Dependent Resources
List of dependent resources
Show Source
-
Array of:
object dependencyResponse-children
Dependency response
Nested Schema : dependencyResponse-children
Type:
object
Dependency response
Show Source
-
category:
string
Title:
Migration Resource Category
Category -
children:
array List of Resources
Title:
List of Resources
List of resources -
name:
string
Title:
Migration Resource Category Name
Name of the category
Nested Schema : List of Resources
Type:
array
Title:
List of Resources
List of resources
Show Source
-
Array of:
object dependencyResponse-subChildren
Migration resource
Nested Schema : dependencyResponse-subChildren
Type:
object
Migration resource
Show Source
-
dependencies:
array List of Migration Resource Dependencies
Title:
List of Migration Resource Dependencies
List of migration resource dependencies -
name:
string
Title:
Migration Resource Name
Name of resource -
resourceType:
string
Title:
Migration Resource Type
Migration resource type -
variableName:
string
Title:
Migration Resouce Variable Name
Migration resource variable name
Nested Schema : List of Migration Resource Dependencies
Type:
array
Title:
List of Migration Resource Dependencies
List of migration resource dependencies
Show Source
-
Array of:
object dependencyDetails
Migration resource dependency
Nested Schema : dependencyDetails
Type:
object
Migration resource dependency
Show Source
-
category:
string
Title:
Migration Resource Category
Migration resource category -
hierarchy:
string
Title:
Migration Resource Hierarchy
Hierarchy refers path information of the resource -
name:
string
Title:
Migration Resource Name
Name of the resource -
type:
string
Title:
Migration Resource Dependency Type
Migration resource dependency type -
variableName:
string
Title:
Migration Resource Variable Name
Migration resource variable name
Examples
The following example shows how to retrieve content dependencies for a 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 "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v16/migrationPackages/migrationPackage_v1/contents/dependencies
Response Body Sample
{ "items": [{ "name": "Configuration", "category": "CONFIGURATION", "children": [{ "name": "Admin", "variableName": "admin", "resourceType": "product_family_configuration", "dependencies": [{ "name": "Admin", "category": "PRODUCT_DEFINITION", "variableName": "admin", "type": "HIGH_LEVEL", "hierarchy": "CATALOG~Admin" }, { "name": "Get User Data", "category": "UTIL_LIBRARY", "variableName": "getUserData", "type": "HIGH_LEVEL", "hierarchy": "UTIL_LIBRARY~Get User Data" } ] } ] }, { "name": "Commerce", "category": "COMMERCE", "children": [{ "name": "Test", "variableName": "test", "resourceType": "process", "dependencies": [{ "name": "Document - English", "category": "DOCUMENT_DESIGNER", "variableName": "Document - English", "type": "HIGH_LEVEL", "hierarchy": "DOCUMENT_DESIGNER~Test/Test~Document - English" } ] } ] } ] }