The sites whoever asks may open, each with its settings.

The answer

Status 200

A list of SiteView

created_at
stringneeded
declared
booleanneededDeclared in the instance's configuration: read-only here, pausable.
hostnames
list of stringneededHostnames allowed to send hits for this site.
id
stringneeded
mode
stringneeded`easy` or `hard`.
name
stringneededThe name the tag carries (`data-site`).
paused
booleanneeded
reading
stringneeded`strict` or `cnil`.
settings
objectneeded
time_zone
stringneeded

Asking

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