Documentation · API reference
GET
/api/v1/sites/{site}/storesEvery table that holds anything about a site
This page as Markdown, or in an AI chatMore ways to read this page
Every table that holds anything about a site, and what is never kept.
# Every table that holds anything about a site
> tidekeeper's API reference: https://tidekeeper.eu/docs/api/get-sites-site-stores
`GET /api/v1/sites/{site}/stores`
Every table that holds anything about a site, and what is never kept.
## Parameters
- `site` (in path, needed): A site's id or name
## The answer
200, `StoresView`: Every table that holds anything about a site, and what is never kept (the Stores board).
- `never` (list of string, needed)
- `site` (string, needed)
- `statement` (string, needed): What to tell a visitor who asks what is held about them.
- `tables` (list of StoreTable, needed)
## Asking
```sh
curl https://tidekeeper.eu/api/v1/sites/example.org/stores \
-H "Authorization: Bearer $TIDEKEEPER_TOKEN"
```
Parameters
- sitein the address
- neededA site's id or name
The answer
Status 200
StoresView Every table that holds anything about a site, and what is never kept (the Stores board).
- never
- list of stringneeded
- site
- stringneeded
- statement
- stringneededWhat to tell a visitor who asks what is held about them.
- tables
- list of StoreTableneeded
Asking
curl https://tidekeeper.eu/api/v1/sites/example.org/stores \ -H "Authorization: Bearer $TIDEKEEPER_TOKEN"
const answer = await fetch("https://tidekeeper.eu/api/v1/sites/example.org/stores", { headers: { Authorization: `Bearer ${process.env.TIDEKEEPER_TOKEN}`, }, }).then((r) => r.json());