List a dashboard's public links.
GET
/dashboards/{id}/shares
const url = 'https://api.siteqwality.com/dashboards/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/shares';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://api.siteqwality.com/dashboards/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/shares \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
Dashboard id
Responses
Section titled “ Responses ”Every link, newest first
Media type application/json
Array<object>
object
id
required
string format: uuid
url_token
required
The capability in https://app.siteqwality.com/share/d/<token>.
string
config
required
object
allowed_times
Presets a viewer may pick, from 15m 1h 4h 1d 2d 7d 30d 90d.
Array<string>
default_time
One of allowed_times.
string
theme
string
variables
object
key
additional properties
How a public viewer may use one variable. A variable the share does not list is locked to the dashboard default.
object
locked
boolean
allowed
The values a viewer may pick; null allows every value (and All when the variable
includes it).
array | null
paused
required
boolean
expires_at
string | null format: date-time
created_by
created_at
required
string format: date-time
last_accessed_at
string | null format: date-time
access_count
required
integer format: int64
Example
[ { "config": { "theme": "light" } }]Missing or invalid authentication
The caller cannot edit dashboards, or is a connected app
No such dashboard
Internal server error