logoBack to home screen

Transferring Contents as ZIP Files from and into ADx

Important When transferring contents between two repositories, the repositories should not be sharing the same Cash location.

Transferring Contents from ADx into a ZIP File

This page explains how to download contents as a .zip file and how to upload contents from a .zip file that you have previously downloaded from ADx.

  1. Log in to ADx and open the repository where the contents to be zipped are stored:

  2. For each content you want to zip, copy the content's technical ID and save it in a text file:

  3. Go back to the landing page and click the API link under content access where the contents to be zipped are stored:

    Swagger page opens, showing the available ADx endpoints.

  4. Open the /access.adx.content.{repositoryName}/v1/entries/transfer-out endpoint. Click Try it out to activate the fields.

  5. For each content, click Add item and enter the content technical ID into the entryIds field.

  6. Change other properties if required.

  7. Click Execute and check the response. A response with status 200 (success) is expected, giving you a link as the response body. Use the link to download the content.

  8. Under Responses Click Download File.

Transferring Contents from a ZIP File into ADx

Important The .zip file must be generated by ADx from a previous transfer of contents as mentioned above.

  1. Log in to ADx and open the repository where you want to transfer the contents:

  2. Go back to the landing page and click the API link under content access where the contents to be zipped are stored:

    Swagger page opens, showing the available ADx endpoints.

  3. Open the /access.adx.content.{repositoryName}/v1/entries/transfer-in endpoint. Click Try it out to activate the fields.

  4. Under resource, click Choose File. Select the .zip file you want to import.

Important! If you have more than one repository that share the same cache location, you can transfer in a .zip file only to one of these repositories. For example, if Repo1 and Repo2 share the same cache, and you transfer in test.zip to Repo1, you cannot transfer test.zip to Repo2.

  1. Change other properties if required.

  2. Click Execute and check the response. A response with status 200 (success) is expected, giving you a link as the response body. Use the link to download the content.

  3. Under Responses Click Download File. This downloads the import-report.txt file. This file contains the IDs of imported contents as well as other data. You can now find the imported contents in your repository.