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

The stretches of a site left out of comparisons

The stretches of a site left out of comparisons, newest first, the undone among them.

Parameters

sitein the address
neededA site's id or name

The answer

Status 200

A list of StretchView A stretch left out of comparisons (the Dialogs board). Its views stay counted and on the chart; what is usual is worked out without them.

by
stringneededWho vouched for it.
from
integerneededUnix seconds.
id
stringneeded
made
integerneeded
says
stringneededFrom when to when, in words, in the site's own time.
undone
integer or nullWhen it was undone, if it was. It counts again from then.
undone_by
stringneeded
until
integerneeded
why
stringneeded

Asking

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