Documentation · API reference
GET
/api/v1/groupsYour groups of sites
This page as Markdown, or in an AI chatMore ways to read this page
The workspace's groups, each with the sites the caller may open.
# Your groups of sites
> tidekeeper's API reference: https://tidekeeper.eu/docs/api/get-groups
`GET /api/v1/groups`
The workspace's groups, each with the sites the caller may open.
## The answer
200, `A list of GroupView`: A workspace's own group of sites (doc/all-sites.md §3.3).
- `created_at` (string, needed): RFC 3339.
- `id` (string, needed)
- `made_by` (string, needed)
- `name` (string, needed)
- `sites` (list of string, needed): Its sites by name, those the caller may open, in the order they were put in.
## Asking
```sh
curl https://tidekeeper.eu/api/v1/groups \
-H "Authorization: Bearer $TIDEKEEPER_TOKEN"
```
The answer
Status 200
A list of GroupView A workspace's own group of sites (doc/all-sites.md §3.3).
- created_at
- stringneededRFC 3339.
- id
- stringneeded
- made_by
- stringneeded
- name
- stringneeded
- sites
- list of stringneededIts sites by name, those the caller may open, in the order they were put in.
Asking
curl https://tidekeeper.eu/api/v1/groups \ -H "Authorization: Bearer $TIDEKEEPER_TOKEN"
const answer = await fetch("https://tidekeeper.eu/api/v1/groups", { headers: { Authorization: `Bearer ${process.env.TIDEKEEPER_TOKEN}`, }, }).then((r) => r.json());