Publish dashboard public link
fastero_share_dashboardAsk for a dashboard's public link, or refresh one already published. Only dashboards have public links; to share with particular people who sign in, use fastero_invite_to_project. A dashboard with no published link is not made public by this call: its link waits, serving a not-found page, until a signed-in Owner, Admin or Editor of the project confirms it at confirmUrl, a page in Fastero that names the dashboard and says anyone with the link can open it without signing in. Confirming publishes a snapshot with each widget's query run live. The request lapses after 7 days, and calling again while it waits changes nothing. A link already published is refreshed at once, with no new confirmation: each call takes a new snapshot of the dashboard as it then stands, widgets added since included (a widget whose query fails keeps its last cached rows), and with the dashboard's refresh on (fastero_set_dashboard_refresh), its numbers are re-taken when someone opens it. Needs an Editor role or above in the project. A dashboard with no widgets is refused (409). Returns status 'awaiting_confirmation' with confirmUrl and expiresAt, or 'published' with shareUrl, the link itself ('none' when the link changed while this ran, for example it was revoked); and live, how the published link re-takes its numbers, or null.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | The project the dashboard is in: its id, from fastero_list_projects. | |
| dashboardId | Yes | The dashboard whose public link this is: its id, from fastero_list_dashboards. |