Rezepte 1.3.1: The app offers notifications
ReferencePush

/api/v1/push/subscription

The subscription belongs to the calling session and ends with it: signing out, a password change or a reset stops the device's pushes. An endpoint another account had moves to the current user, without that account's alarms. At most 20 per user; an endpoint that is not https on a known push service is 422.

PUT/api/v1/push/subscription

Authorization

session
rezepte_session<token>

Session cookie set by POST /api/v1/auth/login.

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/problem+json

application/problem+json

application/problem+json

curl -X PUT "https://example.com/api/v1/push/subscription" \  -H "Content-Type: application/json" \  -d '{    "auth": "string",    "endpoint": "string",    "p256dh": "string"  }'
Empty