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

A site's imports

A site's imports, newest first, the tools tidekeeper reads an export of, and where its own counting starts.

Parameters

sitein the address
neededThe site's id or name

The answer

Status 200

ImportsView

counted_from
string or null
imports
list of ImportViewneeded
now
integerneeded
site
stringneeded
sources
list of ImportSourceneeded

Asking

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