Appearance
Pagination
Every list is cursor-paginated. Offsets skip and repeat rows when items are inserted, which on a feed is constant, so the API never uses them.
Request
| Query | Default | Limits |
|---|---|---|
limit | 20 | 1–100 |
cursor | none (first page) | Opaque string, up to 512 characters |
bash
curl "https://api.plemuz.com/v1/notifications?limit=50" -H "Authorization: Bearer $TOKEN"Response
json
{
"data": [{ "id": "…" }, { "id": "…" }],
"meta": {
"requestId": "…",
"nextCursor": "eyJrIjoiMjAyNi0xMS0yMVQxMDowMDowMFoiLCJpIjoiMDE5MiJ9",
"hasMore": true
}
}Pass meta.nextCursor as cursor to get the next page. When hasMore is false, nextCursor is null and you have everything.
Rules
- Cursors are opaque. Don't build, decode or store them long-term. A tampered or stale cursor is
400 PAGINATION_CURSOR_INVALID; start again from the first page. - Keep filters the same across pages. A cursor belongs to the query that produced it.
- No totals. Lists don't return a
total, because counting is often slower than the page. Counters that matter (followers, likes, unread) have their own fields. - A few endpoints that return small, bounded sets (for example search groups or a lookup list) return everything at once; their reference page says so.