The project’s public dashboard links
GET
/v1/dashboard-links
const url = 'https://beta-api.plune.ai/v1/dashboard-links';const options = {method: 'GET', 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 GET \ --url https://beta-api.plune.ai/v1/dashboard-links \ --header 'Authorization: Bearer <token>'The «Public sharing» switch, the active links (not revoked, not expired), newest first, and the limit (20). Every member reads them (Р316); never a token.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”The switch and the links
Media type application/json
object
sharing
required
boolean
links
required
Array<object>
object
id
required
string
label
required
string | null
widgets
required
How many widgets the link froze.
integer
periodDays
required
integer
periodOpen
required
A visitor may pick a shorter preset; false, the period is fixed.
boolean
passwordProtected
required
boolean
expiresAt
required
null: kept until revoked.
string | null format: date-time
createdAt
required
string format: date-time
createdBy
required
string | null
sharedAt
required
When the widgets were frozen: the creation or the last update of the shared view.
string format: date-time
views
required
integer
lastViewedAt
required
string | null format: date-time
limit
required
integer
Example
{ "links": [ { "periodDays": 7 } ]}No / invalid token or session