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 ResourcesList of dependent resources
Nested Schema : List of Dependent Resources
Type:
arrayTitle:
List of Dependent ResourcesList of dependent resources
Show Source
-
Array of:
object dependencyResponse-children
Dependency response
Nested Schema : dependencyResponse-children
Type:
objectDependency response
Show Source
-
category:
string
Title:
Migration Resource CategoryCategory -
children:
array List of Resources
Title:
List of ResourcesList of resources -
name:
string
Title:
Migration Resource Category NameName of the category
Nested Schema : List of Resources
Type:
arrayTitle:
List of ResourcesList of resources
Show Source
-
Array of:
object dependencyResponse-subChildren
Migration resource
Nested Schema : dependencyResponse-subChildren
Type:
objectMigration resource
Show Source
-
dependencies:
array List of Migration Resource Dependencies
Title:
List of Migration Resource DependenciesList of migration resource dependencies -
name:
string
Title:
Migration Resource NameName of resource -
resourceType:
string
Title:
Migration Package node nameresourceType refers to the node type -
resourceTypeLabel:
string
Title:
Migration Resource Type LabelresourceTypeLabel refers the node type label -
variableName:
string
Title:
Migration Resouce Variable NameMigration resource variable name
Nested Schema : List of Migration Resource Dependencies
Type:
arrayTitle:
List of Migration Resource DependenciesList of migration resource dependencies
Show Source
-
Array of:
object dependencyDetails
Migration resource dependency
Nested Schema : dependencyDetails
Type:
objectMigration resource dependency
Show Source
-
category:
string
Title:
Migration Resource CategoryMigration resource category -
hierarchy:
string
Title:
Migration Resource HierarchyHierarchy refers path information of the resource -
hierarchyLabel:
string
Title:
Migration Resource Hierarchy LabelHierarchy label refers path information of the resource -
name:
string
Title:
Migration Resource NameName of the resource -
resourceType:
string
Title:
Migration Package node nameresourceType refers to the node type -
resourceTypeLabel:
string
Title:
Migration Resource Type LabelresourceTypeLabel refers the node type label -
type:
string
Title:
Migration Resource Dependency TypeMigration resource dependency type -
variableName:
string
Title:
Migration Resource Variable NameMigration 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"
}
]
}
]
}
]
}
]
}