Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Retrieve the validation messages from the api response by getting the "validation" key from the import_data.
  2. Construct an object of responses for each message,
    1. For each validation message the key should be the UUID of the validation message
    2. The value should be one of:
      1. dont-import //Does not import this theme/system-type 
      2. replace //Replaces the existing theme/system-type with the one from the import
      3. 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.
  3. Retrieve the respond url by accessing the "respond" key in your api response.
  4. POST the object you constructed in step 2 to this url. The object should be sent with a name of "responses" and JSON encoded.
  5. Retrieve the "continue_import" key from the api response.
  6. POST to continue_import with no data to resume the import with your validation responses.
  7. Complete the import as usual.