Queries dashboards.
Operation description
Operation description
The Host in the request syntax consists of the Project name and the Simple Log Service endpoint. You must specify the Project in the Host.
An AccessKey pair has been created and obtained. For more information, see AccessKey pair.
An Alibaba Cloud account AccessKey pair has access permissions on all API operations, which poses high security risks. We strongly recommend that you create and use a Resource Access Management (RAM) user for API access or routine O&M. The RAM user must have permissions to operate Simple Log Service EPS resources. For more information, see Create a RAM user and authorization.
You have determined the name and region of the Project to which the logs you want to query belong. For information about how to query this information, see Manage a Project.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:ListDashboard |
list |
*Project
|
|
None |
Request syntax
GET /dashboards HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The Project name. |
ali-test-project |
| offset |
integer |
No |
The row from which the query starts. Default value: 0. |
0 |
| size |
integer |
No |
The number of rows per page in a paged query. Maximum value: 500. Default value: 500. |
10 |
| tags |
array<object> |
No |
The tag information. |
|
|
object |
No |
The tag. |
||
| key |
string |
No |
The tag key. |
key1 |
| value |
string |
No |
The tag value. |
value1 |
| dashboardName |
string |
No |
The dashboard name. |
dashboard-1609294922657-434834 |
| displayName |
string |
No |
The display name. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The dashboards. |
||
| dashboardItems |
array<object> |
The dashboards. |
|
|
object |
The dashboards. |
||
| dashboardName |
string |
The dashboard ID. The dashboard ID is unique within a Project and cannot be duplicated. Fuzzy match is supported. For example, if you enter da, all dashboards whose names start with da are returned. |
dashboard-1609294922657-434834 |
| description |
string |
The description. |
tablet_ai |
| displayName |
string |
The display name of the dashboard. |
data-ingest |
| dashboards |
array |
The list of dashboard names, corresponding to dashboardName. |
|
|
string |
The list of dashboard names, corresponding to dashboardName. |
dashboard-1609294922657-434834 |
Examples
Success response
JSON format
{
"dashboardItems": [
{
"dashboardName": "dashboard-1609294922657-434834",
"description": "tablet_ai",
"displayName": "data-ingest"
}
],
"dashboards": [
"dashboard-1609294922657-434834"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.