Get Migration Package Properties
get
/rest/v19/migrationPackages/{identifier}
This endpoint retrieves the properties for the specified migration package.
Request
Path Parameters
-
identifier(required): string
The unique identifier of the package the user wants to fetch.
Query Parameters
-
expand: string
Expand the child content.
-
fields: string
Restrict which fields shall be returned. The value is a comma delimited string and each token is a field name.
-
retrieveFromPackageZip: boolean
To fetch uploaded package content.
-
targetProcessVarName: string
Cross process migration variable name.This field is only applicable if retrieveFromPackageZip is set as true.
Response
Supported Media Types
- application/json
Default Response
Package information
Root Schema : migrationPackageContent
Type:
Show Source
object
-
contents:
object Migration Package Content
Title:
Migration Package Content
Contents populate, when expand=contents or expand=all. -
crossProcessMigrationEnabled:
boolean
Title:
crossProcessMigrationEnabled
Uploaded package is eligible cross process migration. This field is only applicable if retrieveFromPackageZip is set as true. -
dateAdded:
string
Title:
dateAdded
Date Added of the Migration Package -
dateModified:
string
Title:
dateModified
Date Modified of the Migration Package -
dateRelease:
string
Title:
dateRelease
Date Release of the Migration Package -
dependencies:
object Migration Package Dependencies
Title:
Migration Package Dependencies
Dependent Packages for the Migration Package -
description:
string
Title:
description
Description of the Migration Package -
identifier:
string
Title:
identifier
Unique Identifier for the Migration Package -
installedVersionOnTarget:
integer
Title:
installedVersionOnTarget
if package available in resource with same name. This field is only applicable if retrieveFromPackageZip is set as true -
isImported:
boolean
Title:
isImported
The package is created in the local or imported package -
lastModifiedUser:
string
Title:
lastModifiedUser
The last modified user of Package -
links:
array Migration Package Links
Title:
Migration Package Links
shows self and child content links -
multipleDuplicatePkgs:
boolean
Title:
multipleDuplicatePkgs
If more than one package available in resource with same name. This field is only applicable if retrieveFromPackageZip is set as true. -
name:
string
Title:
name
Name of the Migration Package -
owner:
string
Title:
owner
The user name package was created. -
siteVersion:
string
Title:
siteVersion
Site version. This field is only applicable if retrieveFromPackageZip is set as true -
sourceSiteUrl:
string
Title:
sourceSiteUrl
The site name of the package was created -
uploadedPackageIdentifer:
string
Title:
uploadedPackageIdentifer
Server location of uploaded zip. This field is only applicable if retrieveFromPackageZip is set as true. -
version:
integer
Title:
version
Version of the Migration Package
Nested Schema : Migration Package Content
Type:
object
Title:
Migration Package Content
Contents populate, when expand=contents or expand=all.
Show Source
-
items:
array This is list of migration package contents
Title:
This is list of migration package contents
Migration package contents -
links:
array Links for Migration Package Contents
Title:
Links for Migration Package Contents
shows self and parent links
Nested Schema : Migration Package Dependencies
Type:
object
Title:
Migration Package Dependencies
Dependent Packages for the Migration Package
Show Source
-
items:
array Migration Package Dependencies list
Title:
Migration Package Dependencies list
List of Dependencies for Migration Package
Nested Schema : Migration Package Links
Type:
array
Title:
Migration Package Links
shows self and child content links
Show Source
-
Array of:
object referenceLinks
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : This is list of migration package contents
Type:
array
Title:
This is list of migration package contents
Migration package contents
Show Source
-
Array of:
object migrationContent
Low-level details
Nested Schema : Links for Migration Package Contents
Type:
array
Title:
Links for Migration Package Contents
shows self and parent links
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 Resource Child Name
Name is an optional field in Request Payload -
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 Resource Child VarName
variable name 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
Nested Schema : Migration Package Dependencies list
Type:
array
Title:
Migration Package Dependencies list
List of Dependencies for Migration Package
Show Source
Nested Schema : migrationPackageDependency
Type:
Show Source
object
-
name(required):
string
Title:
name
Name of the Migration Package -
version(required):
integer
Title:
version
Version of the Migration Package
Examples
The following examples show how to retrieve properties for the specified 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" https://sitename.oracle.com/rest/v19/migrationPackages/migrationPackage_v12
Response Body Sample
{ "name": "Migration Package", "identifier": "migrationPackage_v12", "version": 2, "dateAdded": "2020-04-15T21:01:57.000Z", "dateModified": "2020-04-15T21:01:57.000Z", "dependencies": { "items": [] }, "links": [{ "rel": "self", "href": "https://sitename.oracle.com/migrationPackages/migrationPackage_v12" } ] }