EDB Postgres Enterprise Manager REST APIs v10.0: Import Custom Dashboards v10.2

post__dashboard_custom_import_

Code samples

POST /dashboard/custom/import/

Imports custom alert templates using exported dashboards.

Body parameter

{
  "version": 1,
  "skip_overwrite": true,
  "skip_overwrite_probe": true,
  "skip_overwrite_chart": true,
  "dashboards": [
    {
      "name": "string",
      "descp": "string",
      "reference_id": "string",
      "font": "string",
      "font_size": 0,
      "level": 0,
      "is_ops": true,
      "show_title": true,
      "design_layout": [
        {}
      ],
      "c_charts": [
        {}
      ],
      "shared": [
        0
      ],
      "shared_all": true
    }
  ]
}

Parameters

NameInTypeRequiredDescription
X-Auth-TokenheaderstringtrueToken of authorization
bodybodyCustomDashboardImportPostDatatruenone

Example responses

200 Response
[
  {
    "name": "string",
    "status": "string",
    "msg": "string"
  }
]

Responses

StatusMeaningDescriptionSchema
200OKStatus 200Inline

Response Schema

Status Code 200

NameTypeRequiredRestrictionsDescription
» namestringtruenonenone
» statusstringtruenonenone
» msgstringtruenonenone
Info

This operation does not require authentication