xmb.api.v1.TraktService
TraktService makes and manages the link. The traffic the link exists for — scrobbles out, watches and positions back — happens server-side and has no method here.
postBegin Trakt device link
Requests a device code from Trakt for the caller to authorise at the verification URL. **Required scopes:** `xmb:user:write`
postDisconnect Trakt
Revokes and deletes the caller's Trakt link. **Required scopes:** `xmb:user:write`
postGet Trakt connection
Returns the caller's Trakt link, if any, with its settings and sync state. **Required scopes:** `xmb:user:read`
postPoll Trakt device link
Reports the state of the pending device link, storing the connection once Trakt grants it. **Required scopes:** `xmb:user:write`
postSync with Trakt now
Queues an on-demand sync run for the caller's Trakt link. **Required scopes:** `xmb:user:write`
postUpdate Trakt settings
Replaces the scrobble and sync settings on the caller's Trakt link. **Required scopes:** `xmb:user:write`
Mint a telemetry token POST
Mints a short-lived Lantern ingest token for an app. Anonymous callers are allowed; a signed-in caller's user id, and the server they name, are baked into the token and stamped on every record.
Begin Trakt device link POST
Requests a device code from Trakt for the caller to authorise at the verification URL. **Required scopes:** `xmb:user:write`