Get Migration Package Content Dependencies
get
/rest/v19/migrationPackages/{identifier}/contents/dependencies
This endpoint retrieve content dependencies for a migration package.
Request
Path Parameters
-
identifier(required): string
The unique identifier for the migration package the user wants 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 Package node name
resourceType refers to the node type -
resourceTypeLabel:
string
Title:
Migration Resource Type Label
resourceTypeLabel refers the node type label -
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 -
hierarchyLabel:
string
Title:
Migration Resource Hierarchy Label
Hierarchy label refers path information of the resource -
name:
string
Title:
Migration Resource Name
Name of the resource -
resourceType:
string
Title:
Migration Package node name
resourceType refers to the node type -
resourceTypeLabel:
string
Title:
Migration Resource Type Label
resourceTypeLabel refers the node type label -
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 retrieves 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 GET -H "Authorization: Bearer <token>" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/migrationPackages/migrationPackage_v1/contents/dependencies
Response Body Sample
{ "items": [{ "name": "Configuration", "category": "CONFIGURATION", "children": [{ "name": "Admin", "variableName": "admin", "resourceType": "product_family_configuration", "resourceTypeLabel": "Configuration", "dependencies": [{ "name": "Admin", "category": "CATALOG", "variableName": "admin", "resourceTypeLabel": "Catalog", "type": "HIGH_LEVEL", "hierarchy": "CATALOG~Admin" } ] } ] }, { "name": "Commerce", "category": "COMMERCE", "children": [{ "name": "Test", "variableName": "test", "resourceType": "process", "resourceTypeLabel": "Commerce", "granular": true, "dependencies": [{ "name": "Float Field 1", "category": "COMMERCE", "variableName": "floatField1", "resourceType": "attribute", "resourceTypeLabel": "Attribute(s)", "type": "LOW_LEVEL", "hierarchy": "test~process/main~document/floatField1~attribute", "hierarchyLabel": "Test/Document(s)/Main/Attribute(s)/Float Field 1", "source": [{ "name": "Copy", "variableName": "_action_process_resubmit", "resourceType": "action", "resourceTypeLabel": "Action(s)", "hierarchyLabel": "Test/Action(s)" } ] } ] } ] }, { "name": "Data Table", "category": "DATA_TABLE", "children": [{ "name": "[Default]", "variableName": "_default", "resourceType": "data_table_folder", "resourceTypeLabel": "Data Table", "children": [{ "name": "Status", "variableName": "Status", "resourceType": "data_table", "resourceTypeLabel": "Data Table", "dependencies": [{ "name": "SOAPSingleKey", "category": "DATA_TABLE", "variableName": "SOAPSingleKey", "resourceTypeLabel": "Data Table", "type": "HIGH_LEVEL", "hierarchy": "DATA_TABLE~SOAP/SOAP~SOAPSingleKey" } ] } ] } ] } ] }