v4

latestOpenAPI 3.0.1Apache 2.02026-08-016079122.3 MB
Dashboards

Get gadgets

Returns a list of dashboard gadgets on a dashboard.

This operation returns:

  • Gadgets from a list of IDs, when id is set.
  • Gadgets with a module key, when moduleKey is set.
  • Gadgets from a list of URIs, when uri is set.
  • All gadgets, when no other parameters are set.

This operation can be accessed anonymously.

Permissions required: None.

get/rest/api/2/dashboard/{dashboardId}/gadget

Path parameters

dashboardIdinteger required

The ID of the dashboard.

Query parameters

moduleKeystring[]

The list of gadgets module keys. To include multiple module keys, separate module keys with ampersand: moduleKey=key:one&moduleKey=key:two.

uristring[]

The list of gadgets URIs. To include multiple URIs, separate URIs with ampersand: uri=/rest/example/uri/1&uri=/rest/example/uri/2.

gadgetIdinteger[]

The list of gadgets IDs. To include multiple IDs, separate IDs with ampersand: gadgetId=10000&gadgetId=10001.

Response

Returned if the request is successful.