Import (Add) a Package
post
/icsapis/v1/packages/import
Imports (adds) a package that was exported previously. If you are using cURL, use the -F option to specify the file to import.
Request
Supported Media Types
- multipart/form-data
Form Parameters
- file
-
Type:
fileRequired:truePreviously exported package file
Response
Supported Media Types
- application/json; charset=UTF-8
- application/xml; charset=UTF-8
200 Response
Successful operation
Body
Root Schema : ICSPackages
Type:
objectNested Schema : items
Type:
array-
Type:
objectPackageItem
Nested Schema : PackageItem
Type:
objectNested Schema : items
Type:
array-
Type:
objectPackageItemContent
Nested Schema : PackageItemContent
Type:
object- code
-
Type:
string - links
-
Type:
arraylinksRequired:true - name
-
Type:
string - version
-
Type:
string
Nested Schema : Link
Type:
object- href
-
Type:
string - rel
-
Type:
string
400 Response
Incomplete or invalid Package
409 Response
Package already exists