...
- Retrieve the validation messages from the api response by getting the "validation" key from the import_data.
- Construct an object of responses for each message,
- For each validation message the key should be the UUID of the validation message
- The value should be one of:
- dont-import //Does not import this theme/system-type
- replace //Replaces the existing theme/system-type with the one from the import
- create-new //Creates a new theme/system-type based on the import and uses it for all content in the import in the place of the existing one.
- Retrieve the respond url by accessing the "respond" key in your api response.
- POST the object you constructed in step 2 to this url. The object should be sent with a name of "responses" and JSON encoded.
- Retrieve the "continue_import" key from the api response.
- POST to continue_import with no data to resume the import with your validation responses.
- Complete the import as usual.