Export Dashboard

put

/serviceapi/dashboards.service/export

Exports 1 or more dashboards into a file.

The input must be a JSON array with the names of the dashboards that are going to be exported.

Request

Supported Media Types
Path Parameters
  • Check and print a brief summary about what will be exported. Export will NOT be executed.
Body ()
Root Schema : schema
Type: array
Show Source
  • An array with the name of the dashboard that will be exported.
    Example: ["demoDashboard01", "demoDashboard02"]
Back to Top

Response

Supported Media Types

200 Response

Successful operation - Export result will be stored in
Back to Top

Examples

Create a new JSON file called export_input.json and paste the following, this JSON file will contain the names of the dashboards to be exported:

["dashboardName1", "dashboardName2"]

This cURL call will export the selected dashboards:

curl -u ${tenant_ID}.${OMC_USERNAME}:${PASSWORD} -X PUT -H "Content-Type:application/json" "https://{OMC_URL}/serviceapi/dashboardModel/export" --data @/<yourpath>/export_input.json -o /<yourpath>/export_output

Example of Response

The following shows an example of the response body and the export result will be stored into 'export_output' file. This file will contain the dashboard's information that is required for the import endpoint.

% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
100 293k 0 293k 0 18 185k 11 --:--:-- 0:00:01 --:--:-- 185k
Back to Top