Documentation · API reference
GET/api/v1/sites/{site}/share

What a site shares with people who are not members, and how

What a site shares with people who are not members, and how.

Parameters

sitein the address
neededThe site's id or name

The answer

Status 200

ShareAdmin What the Sharing screen shows and changes.

address
stringneededWhere the public dashboard is, on or off.
floor
integerneededA row with fewer visitors than this is folded into "other".
links
list of ShareLinkViewneeded
never
list of stringneededWhat is never in a shared view, whatever is ticked.
now
integerneeded
panels
list of PanelViewneeded
settings
objectneeded
site
stringneeded

Asking

With your token from Settings
curl https://tidekeeper.eu/api/v1/sites/example.org/share \
    -H "Authorization: Bearer $TIDEKEEPER_TOKEN"
With your token from Settings
const answer = await fetch("https://tidekeeper.eu/api/v1/sites/example.org/share", {
  headers: {
    Authorization: `Bearer ${process.env.TIDEKEEPER_TOKEN}`,
  },
}).then((r) => r.json());