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:
file
Required:true
Previously 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:
object
Nested Schema : items
Type:
array
-
Type:
object
PackageItem
Nested Schema : PackageItem
Type:
object
Nested Schema : items
Type:
array
-
Type:
object
PackageItemContent
Nested Schema : PackageItemContent
Type:
object
- code
-
Type:
string
- links
-
Type:
array
linksRequired: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