Reference
Home dashboard
The home dashboard endpoints of the HTTP API.
GET /me/home-dashboard
Get the dashboard that opens for the signed-in person after sign-in.
status says whether it is set and still usable. gone and unreadable keep the choice so the web app can tell the person, and the person clears it or picks another. Only signed-in people have one: a service-account key gets 403 user_session_required.
Responses
| Status | Description | Body |
|---|---|---|
200 |
The home dashboard choice. | HomeDashboard |
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 |
PUT /me/home-dashboard
Choose the dashboard that opens after sign-in.
It replaces the earlier choice, and choosing the same dashboard again changes nothing. The caller must be able to view the dashboard, otherwise 404 not_found. A service-account key gets 403 user_session_required.
Request body
application/json, required.
| Field | Type | Description |
|---|---|---|
dashboard_id (required) |
string (uuid) |
Responses
| Status | Description | Body |
|---|---|---|
200 |
The choice after the write. | HomeDashboard |
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 /me/home-dashboard
Clear the home dashboard so Home opens after sign-in.
Clearing when none is set changes nothing. A service-account key gets 403 user_session_required.
Responses
| Status | Description | Body |
|---|---|---|
204 |
No home dashboard is set. | |
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.