Get All Migration Resources
get
/rest/v16/migrationResources
Use this endpoint to retrieve all the migration resources, grouped by categories.
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
Default Response
Migration resources response
Root Schema : migrationContent-collection
Type:
Show Source
object
-
items:
array Migration resources list
Title:
Migration resources list
List of migration resources -
links:
array Migration Package Links
Title:
Migration Package Links
Links for Migration Package Contents. These links contains self and parent link
Nested Schema : Migration resources list
Type:
array
Title:
Migration resources list
List of migration resources
Show Source
-
Array of:
object migrationContent
Low-level details
Nested Schema : Migration Package Links
Type:
array
Title:
Migration Package Links
Links for Migration Package Contents. These links contains self and parent link
Show Source
-
Array of:
object referenceLinks
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : migrationContent
Type:
object
Low-level details
Show Source
-
category:
string
Title:
Migration Package Contents Category
It's a category of migration contents -
children:
array List of children contents
Title:
List of children contents
List of children contents -
name:
string
Title:
Migration Package Contents Name
Name is an optional field in the request payload
Nested Schema : List of children contents
Type:
array
Title:
List of children contents
List of children contents
Show Source
-
Array of:
object migrationContent-children
Migration Resource children contents
Nested Schema : migrationContent-children
Type:
object
Migration Resource children contents
Show Source
-
granular:
boolean
Title:
granular
If true, the resource has low-level details -
links:
array Category Migration Resource Links
Title:
Category Migration Resource Links
Links for Category Migration Package Contents low-level details. These links contains related link (This links populate only when granular=true) -
name:
string
Title:
Migration Package Contents Name
Name is an optional field in Request Payload -
resourceType:
string
Title:
Migration Package node name
resourceType refers the node -
variableName:
string
Title:
Migration Package Content Child VarName
variableName refers the child varname
Nested Schema : Category Migration Resource Links
Type:
array
Title:
Category Migration Resource Links
Links for Category Migration Package Contents low-level details. These links contains related link (This links populate only when granular=true)
Show Source
-
Array of:
object referenceLinks
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : referenceLinks
Type:
object
Reference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
URL to the related object
URL to the related object -
rel:
string
Title:
Link Relationship to the current object
Link Relationship to the current object
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/migrationResources
Response Body Sample
{ "items": [{ "name": "Util Library", "category": "UTIL_LIBRARY", "children": [{ "name": "", "variableName": "template_1", "resourceType": "library", "granular": true, "links": [{ "rel": "related", "href": "http://sitename.oracle.com/rest/v16/migrationResources/UTIL_LIBRARY/template_1" } ] } ] }, { "name": "Product Definition", "category": "PRODUCT_DEFINITION", "children": [{ "name": "Vision Vehicles", "variableName": "visionVehicles", "resourceType": "product_family" } ] }, { "name": "Catalog", "category": "CATALOG", "children": [{ "name": "Admin", "variableName": "admin", "resourceType": "product_line_model" } ] }, { "name": "Configuration", "category": "CONFIGURATION", "children": [{ "name": "Admin", "variableName": "admin", "resourceType": "product_family_configuration", "granular": true, "links": [{ "rel": "related", "href": "http://sitename.oracle.com/rest/v16/migrationResources/CONFIGURATION/admin" } ] } ] } ], "links": [{ "rel": "self", "href": "http://sitename.oracle.com/rest/v16/migrationResources" } ] }