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

GET /api/v1/sites/{site}/arriving

`GET /api/v1/sites/{site}/arriving`: what arrives for a site, as it arrives (Add a site, the setup card). Each view is counted as any is; this feed stores nothing of its own.

Parameters

sitein the address
neededA site's id or name

The answer

Status 200, with a file

Asking

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