Documentation · API reference
GET
/api/v1/across/changedWhat moved, across the sites
This page as Markdown, or in an AI chatMore ways to read this page
What moved on each site, the largest first.
# What moved, across the sites
> tidekeeper's API reference: https://tidekeeper.eu/docs/api/get-across-changed
`GET /api/v1/across/changed`
What moved on each site, the largest first.
## Parameters
- `period` (in path, needed): The period, as everywhere: `7d` when left out.
- `in` (in path, needed): `easy`, `hard` or a group's id; every site when left out.
- `dim` (in path, needed): The dimension: `page`, `entry`, `exit`, `source`, `channel`, `utm_campaign`, `country`, `device`, `browser`, `os`, …
- `limit` (in path, needed): Rows at most: 50 when left out, 200 at the most.
## The answer
200, `AcrossChanged`: What moved on each site against the period before, the largest moves first, whichever site they were on.
- `compare` (PeriodView, needed)
- `moves` (list of AcrossMove, needed)
- `period` (PeriodView, needed)
- `scope` (SitesScope, needed)
## Asking
```sh
curl https://tidekeeper.eu/api/v1/across/changed \
-H "Authorization: Bearer $TIDEKEEPER_TOKEN"
```
Parameters
- periodin the address
- neededThe period, as everywhere:
7dwhen left out. - inin the address
- needed
easy,hardor a group's id; every site when left out. - dimin the address
- neededThe dimension:
page,entry,exit,source,channel,utm_campaign,country,device,browser,os, … - limitin the address
- neededRows at most: 50 when left out, 200 at the most.
The answer
Status 200
AcrossChanged What moved on each site against the period before, the largest moves first, whichever site they were on.
- compare
- PeriodViewneeded
- moves
- list of AcrossMoveneeded
- period
- PeriodViewneeded
- scope
- SitesScopeneeded
Asking
curl https://tidekeeper.eu/api/v1/across/changed \ -H "Authorization: Bearer $TIDEKEEPER_TOKEN"
const answer = await fetch("https://tidekeeper.eu/api/v1/across/changed", { headers: { Authorization: `Bearer ${process.env.TIDEKEEPER_TOKEN}`, }, }).then((r) => r.json());