Import package
Import content of a zip package. The zip file will be validated and import will be performed based on the 'dependencies' specified in the metadata file. The result of the import operation will be captured in OperationInfo object. At this point, we don't support any form of rollback strategies. A failed import may potentially leave the system in an inconsistent state. Hence, its highly recommend to run a precheck/dry-run before the import to validate the package. See HTTP POST /api/packages/validate for more details. This will help catch most of the errors upfront. Although the API looks similar to create package API but differs in the 'Content-Type' header where it expects 'multipart/form-data'.
The resolution mode to be used when the same entity is found to exist in the system
Upload raw data successful
{
"operationStatus": "string",
"operationResults": [
{
"operationErrors": [
{
"errorMessage": "string",
"errorCode": 0
}
],
"operationStatus": "string",
"contentId": "string",
"contentTypeId": "string",
"messages": [
"string"
],
"contentName": "string"
}
],
"operationType": "string"
}
operationStatus
operationType