Get All Migration Resources

get

/rest/v19/migrationResources

This endpoint retrieves all the migration resources, grouped by categories.

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

Default Response

Migration resources response
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/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/v19/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/v19/migrationResources/CONFIGURATION/admin"
            }
          ]
        }
      ]
    }
  ],
  "links": [{
      "rel": "self",
      "href": "http://sitename.oracle.com/rest/v19/migrationResources"
    }
  ]
}
Back to Top