Reference
Stars
The stars endpoints of the HTTP API.
PUT /dashboards/{id}/star
Star a dashboard for the signed-in person.
Stars belong to one person and follow them across browsers. Starring a dashboard that is already starred changes nothing. Only signed-in people may star: a service-account key gets 403 user_session_required.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id (required) |
path | string (uuid) |
Responses
| Status | Description | Body |
|---|---|---|
204 |
The dashboard is starred. | |
400 |
The request is malformed or fails validation. | Error |
401 |
Authentication is missing or invalid. | Error |
403 |
The caller is not a signed-in person (user_session_required). |
Error |
404 |
The resource does not exist, or the caller cannot see it; the two are never told apart. | Error |
500 |
The server failed to handle the request. | Error |
DELETE /dashboards/{id}/star
Remove the signed-in person’s star from a dashboard.
Removing a star that does not exist changes nothing. A service-account key gets 403 user_session_required.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id (required) |
path | string (uuid) |
Responses
| Status | Description | Body |
|---|---|---|
204 |
The dashboard is not starred. | |
400 |
The request is malformed or fails validation. | Error |
401 |
Authentication is missing or invalid. | Error |
403 |
The caller is not a signed-in person (user_session_required). |
Error |
404 |
The resource does not exist, or the caller cannot see it; the two are never told apart. | Error |
500 |
The server failed to handle the request. | Error |
GET /stars
List the signed-in person’s starred dashboards, newest star first.
Lists at most 200 stars, and only dashboards in folders the caller can see. A service-account key gets 403 user_session_required.
Responses
| Status | Description | Body |
|---|---|---|
200 |
The starred dashboards. | object |
400 |
The request is malformed or fails validation. | Error |
401 |
Authentication is missing or invalid. | Error |
403 |
The caller is not a signed-in person (user_session_required). |
Error |
500 |
The server failed to handle the request. | Error |
Generated from api/openapi.yaml at c770e5e0. Report a problem.