GET /sites/s_ab12cd34ef56/markers
Request examples and the documented response.
Back to this endpoint in the API reference
curl
Request
curl "https://api.pagehum.com/v1/sites/s_ab12cd34ef56/markers?range=30" \ -H "Authorization: Bearer $PAGEHUM_API_KEY"
JavaScript
Request
const response = await fetch("https://api.pagehum.com/v1/sites/s_ab12cd34ef56/markers?range=30", {
headers: { Authorization: `Bearer ${process.env.PAGEHUM_API_KEY}` },
});
const { ok, data, error } = await response.json();
if (!ok) throw new Error(error);Response
Response
{
"ok": true,
"data": {
"range": 30,
"limit": 1000,
"items": [
{
"id": "6f0e2c8a-4b1d-4e7a-9c35-2d8f1a7b9e40",
"at": 1791710700000,
"kind": "deploy",
"text": "v1.4.2: new checkout",
"source": "api",
"createdAt": 1791710700000
}
]
}
}