Events

Rotate a Live Activity push token

Changed on

Authenticated. Replaces the stored hex ActivityKit push token on an existing registration. The token is for the client call OneSignal.LiveActivities.enter(activityId, pushToken). The server does not send it to Apple or OneSignal. 404 when no row matches activityId on this fixture. 403 when the row belongs to another user.

patch/api/events/{gameId}/live-activity

Request

  • Base URL
    https://app.d-sports.org
  • Auth
    HTTP bearer

Path parameters

gameIdstring required

Request body

activityIdstring required

Server-minted hq:{gameId}:{teamId}:{userId}.

pushTokenstring required

Replacement hex ActivityKit token.

Response

Token rotated

successtrue required

Changes