Play sessions
Play sessions overlapping the range, newest first (activity). Default: the last 30 days.
Authorization
bearerAuth An API key from the hub’s API keys page.
In: header
Path Parameters
The account's public id (opaque, base62), as id in /accounts.
^[0-9A-Za-z]{1,64}$Query Parameters
Start of the range (ISO-8601 date-time). Default: to − 30 days.
date-timeEnd of the range (ISO-8601 date-time). Default: now.
date-timeResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/accounts/4fT9kQ2mXa7B/sessions"{ "data": { "account": { "id": "string", "name": "string" }, "from": "2019-08-24T14:15:22Z", "to": "2019-08-24T14:15:22Z", "sessions": [ { "id": "string", "started_at": "2019-08-24T14:15:22Z", "ended_at": "2019-08-24T14:15:22Z", "last_seen_at": "2019-08-24T14:15:22Z", "duration_ms": 0, "worlds": [ 0 ], "end_reason": "logout" } ] }, "meta": { "generated_at": "2019-08-24T14:15:22Z" }}Event cursor feed GET
Loot, level-ups, deaths, collection log, diaries, combat tasks and superiors of the accounts whose `events` the key may read, ordered by the order the hub stored them, for the Discord bot and Home Assistant automations. **Cursor semantics.** Start with `cursor=now` (no events, just the current cursor) or without a cursor (the newest `limit` events, default 100, at most 500). Then always pass the previous `meta.next_cursor`: you get the events after it, oldest first, and a new cursor. Fewer than `limit` events means "caught up for now". The cursor always moves forward, also past events your filters leave out, and is unchanged while nothing new has arrived. Cursors are opaque; keep them as strings. The feed only serves events stored at least 10 s ago, so a cursor can never skip an event that is still being committed: expect an event 10–15 s after the hub received it. `occurred_at` is when it happened in game, `received_at` when the hub got it (the plugin may resend events up to ~10 minutes late).
Equipment change log GET
Every change of the worn set in the range, newest first, each with the whole set after it (`equipment`). Default: the last 30 days.