Get List of Migration Packages
get
/rest/v19/migrationPackages
This endpoint retrieves a list of migration packages.
Request
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.
-
orderby: string
Specifies a comma-separated list of pairs to order the response by.
-
q: string
Allows to specify one or more filtering criteria. By default, no filtering is applied.
Response
Supported Media Types
- application/json
Default Response
All Migration Packages Information
Root Schema : migrationPackage-collection
Type:
Show Source
object-
items:
array Migration Packages list
Title:
Migration Packages listList of Migration Packages
Nested Schema : Migration Packages list
Type:
arrayTitle:
Migration Packages listList of Migration Packages
Show Source
Nested Schema : migrationPackageContent
Type:
Show Source
object-
contents:
object Migration Package Content
Title:
Migration Package ContentContents populate, when expand=contents or expand=all. -
crossProcessMigrationEnabled:
boolean
Title:
crossProcessMigrationEnabledUploaded package is eligible cross process migration. This field is only applicable if retrieveFromPackageZip is set as true. -
dateAdded:
string
Title:
dateAddedDate Added of the Migration Package -
dateModified:
string
Title:
dateModifiedDate Modified of the Migration Package -
dateRelease:
string
Title:
dateReleaseDate Release of the Migration Package -
dependencies:
object Migration Package Dependencies
Title:
Migration Package DependenciesDependent Packages for the Migration Package -
description:
string
Title:
descriptionDescription of the Migration Package -
identifier:
string
Title:
identifierUnique Identifier for the Migration Package -
installedVersionOnTarget:
integer
Title:
installedVersionOnTargetif package available in resource with same name. This field is only applicable if retrieveFromPackageZip is set as true -
isImported:
boolean
Title:
isImportedThe package is created in the local or imported package -
lastModifiedUser:
string
Title:
lastModifiedUserThe last modified user of Package -
links:
array Migration Package Links
Title:
Migration Package Linksshows self and child content links -
multipleDuplicatePkgs:
boolean
Title:
multipleDuplicatePkgsIf more than one package available in resource with same name. This field is only applicable if retrieveFromPackageZip is set as true. -
name:
string
Title:
nameName of the Migration Package -
owner:
string
Title:
ownerThe user name package was created. -
siteVersion:
string
Title:
siteVersionSite version. This field is only applicable if retrieveFromPackageZip is set as true -
sourceSiteUrl:
string
Title:
sourceSiteUrlThe site name of the package was created -
uploadedPackageIdentifer:
string
Title:
uploadedPackageIdentiferServer location of uploaded zip. This field is only applicable if retrieveFromPackageZip is set as true. -
version:
integer
Title:
versionVersion of the Migration Package
Nested Schema : Migration Package Content
Type:
objectTitle:
Migration Package ContentContents 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 contentsMigration package contents -
links:
array Links for Migration Package Contents
Title:
Links for Migration Package Contentsshows self and parent links
Nested Schema : Migration Package Dependencies
Type:
objectTitle:
Migration Package DependenciesDependent Packages for the Migration Package
Show Source
-
items:
array Migration Package Dependencies list
Title:
Migration Package Dependencies listList of Dependencies for Migration Package
Nested Schema : Migration Package Links
Type:
arrayTitle:
Migration Package Linksshows 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:
arrayTitle:
This is list of migration package contentsMigration package contents
Show Source
-
Array of:
object migrationContent
Low-level details
Nested Schema : Links for Migration Package Contents
Type:
arrayTitle:
Links for Migration Package Contentsshows 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:
objectLow-level details
Show Source
-
category:
string
Title:
Migration Package Contents CategoryIt's a category of migration contents -
children:
array List of children contents
Title:
List of children contentsList of children contents -
name:
string
Title:
Migration Package Contents NameName is an optional field in the request payload
Nested Schema : List of children contents
Type:
arrayTitle:
List of children contentsList of children contents
Show Source
-
Array of:
object migrationContent-children
Migration Resource children contents
Nested Schema : migrationContent-children
Type:
objectMigration Resource children contents
Show Source
-
granular:
boolean
Title:
granularIf true, the resource has low-level details -
links:
array Category Migration Resource Links
Title:
Category Migration Resource LinksLinks 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 NameName is an optional field in Request Payload -
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 Resource Child VarNamevariable name refers the child varname
Nested Schema : Category Migration Resource Links
Type:
arrayTitle:
Category Migration Resource LinksLinks 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:
objectReference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
URL to the related objectURL to the related object -
rel:
string
Title:
Link Relationship to the current objectLink Relationship to the current object
Nested Schema : Migration Package Dependencies list
Type:
arrayTitle:
Migration Package Dependencies listList of Dependencies for Migration Package
Show Source
Nested Schema : migrationPackageDependency
Type:
Show Source
object-
name(required):
string
Title:
nameName of the Migration Package -
version(required):
integer
Title:
versionVersion of the Migration Package
Examples
The following example shows how to get a list of migration packages 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 "Accept: application/json" https://sitename.oracle.com/rest/v19/migrationPackages
Response Body Sample
{
"items": [{
"name": "Migration Package",
"identifier": "migrationPackage_v12",
"version": 1,
"dateAdded": "2020-04-17T14:10:20.000Z",
"dateModified": "2020-04-17T14:10:20.000Z",
"dependencies": {
"items": []
},
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/migrationPackages/migrationPackage_v12"
}
]
}, {
"name": "ABO Utilities",
"identifier": "aBOUtilities_v12",
"version": 1,
"dateAdded": "2020-04-17T14:11:12.000Z",
"dateModified": "2020-04-17T14:11:12.000Z",
"dependencies": {
"items": []
},
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/migrationPackages/aBOUtilities_v12"
}
]
}, {
"name": "Migration Package",
"identifier": "migrationPackage_v12",
"version": 2,
"dateRelease": "2020-04-17T05:00:00.000Z",
"dateAdded": "2020-04-17T14:12:52.000Z",
"dateModified": "2020-04-17T14:14:10.000Z",
"dependencies": {
"items": [{
"name": "ABO Utilities",
"version": 1
}
]
},
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/migrationPackages/migrationPackage_v12"
}
]
}
],
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/migrationPackages"
}
]
}