Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Dashboard List
Returns a list of recently used dashboards or clones a dashboard.
Syntax
URI: /services/data/vXX.X/analytics/dashboards
Formats: JSON
HTTP methods
| Method | Description |
|---|---|
| GET | Returns a list of dashboards that were recently viewed by the API user. See this example. |
| POST | Makes a copy of a dashboard. See this example. |
Authentication: Authorization: Bearer token
GET Response body
An array of recent dashboard objects. Each object contains the following fields:
| Property | Type | Description |
|---|---|---|
| id | String | Unique identifier of the dashboard. |
| name | String | Localized display name of the dashboard. |
| statusUrl | String | Dashboard status URL. |
| url | String | Dashboard result URL. |
POST Response Body
Uses the same format as the GET and PUT responses for the resource.