Validate package import

Validate package import

Validate content of a zip package. The zip file will be validated for all of its content, dependencies, etc. However, no import will be performed in this operation. It is highly recommended to use this operation before performing an import. See the import API for more details.

Request
URI
POST
https://{api_host}/content-management-service/api/packages/validate
COPY
Query Parameters
string
resolutionMode
Optional

The resolution mode to be used when the same entity is found to exist in the system

Possible values are : SKIP, OVERWRITE,

Request Body
Responses
200

Upload raw data successful

Returns OperationInfo of type(s) */*
{
    "operationStatus": "string",
    "operationResults": [
        {
            "operationErrors": [
                {
                    "errorMessage": "string",
                    "errorCode": 0
                }
            ],
            "operationStatus": "string",
            "contentId": "string",
            "contentTypeId": "string",
            "messages": [
                "string"
            ],
            "contentName": "string"
        }
    ],
    "operationType": "string"
}
string
operationStatus
Optional

operationStatus

Possible values are : SUCCESS, FAILED, WARNING,
operationResults
Optional

operationResults

string
operationType
Required

operationType

Possible values are : IMPORT, EXPORT, IMPORT_DRY_RUN, EXPORT_DRY_RUN,