Update the shared view of a link
const url = 'https://beta-api.plune.ai/v1/dashboard-links/example/refresh';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://beta-api.plune.ai/v1/dashboard-links/example/refresh \ --header 'Authorization: Bearer <token>'Freezes the link’s widgets again as they are now (ADR 0061 §3): a renamed or changed widget shows its new recipe; an archived one, or one that can no longer be shared, drops out (409 link_empty when none is left). Owner only; audited.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”The link
object
How many widgets the link froze.
A visitor may pick a shorter preset; false, the period is fixed.
null: kept until revoked.
When the widgets were frozen: the creation or the last update of the shared view.
Example
{ "periodDays": 7}No / invalid token or session
Not the project’s owner
object
Example generated
{ "error": "example"}No such active link in the project
object
Example generated
{ "error": "example"}None of the link’s widgets can be shared any more
object
Example generated
{ "error": "example"}Rate-limited: the per-route throttle, or the per-minute request limit of the plan an API token counts by (#1442; the body names the plan, #2092). Retry-After carries the seconds until the window rolls over.
object
Example generated
{ "error": "example"}Headers
Section titled “Headers ”Seconds until the window rolls over