List the templates.
GET
/dashboards/templates
const url = 'https://api.siteqwality.com/dashboards/templates';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/templates \ --header 'Authorization: Bearer <token>'has_data says whether the account already has data for each template’s main source.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”The templates, in gallery order
Media type application/json
object
items
required
Array<object>
object
key
required
string
name
required
string
description
required
string
category
required
string
widget_count
required
integer format: int64
has_data
required
Whether the account already has data for the template’s main source.
boolean
requires
required
Every source the template reads, main source first.
Array<string>
Example
{ "items": [ { "category": "uptime", "requires": [ "monitors" ] } ]}Missing or invalid authentication
Internal server error