Migrating visual artifacts with REST APIs

Artifact migration allows you to export and import visual artifacts between Cloudera Data Visualization environments. Common use cases include promoting content from development or testing environments to production, creating backups, and sharing dashboards or applications with other users. Cloudera Data Visualization supports both manual migration through the user interface and automated migration using REST APIs.

Use the Cloudera Data Visualization REST APIs to export and import visual artifacts between environments. REST APIs support a wider range of object types than migration through the UI and can be integrated into automation workflows.

The examples in this guide use the secret API key displayed when you first generate a key. Use the source environment’s key for export and the destination environment’s key for import.

Enable data API access and create API keys in both the source and destination environments. For instructions, see Enabling API keys and Creating new API keys.
  1. Export the artifacts by submitting a GET request to the source environment. For instructions, see Exporting visual artifacts with REST APIs.
  2. Import the artifacts by submitting a POST request on the target environment. For instructions, see Importing visual artifacts with REST APIs.