User
Create push subscription
Changed onUpserts the caller's push subscription. Body: { platform (required), provider?, externalSubscriptionId?, pushToken?, isEnabled?, metadata? }. A non-blank externalSubscriptionId is trimmed and upserted on that id, and the row's userId moves to the caller so a device signed into another account stops receiving the previous account's pushes. A missing or blank id updates or creates the legacy null-id row for that caller and platform. Returns 201.
post/api/user/push-subscriptions
Request
- Base URLhttps://app.d-sports.org
- AuthHTTP bearer
Response
{ success, data }
Changes
- breaking
removed the success response with the status
- info
added the success response with the status
- breaking
- info
endpoint added
- info