push
Retrieve or update push notification category preferences for the current user.
GET — Returns the current toggle values. Lazily creates a PushPreference row with default values (both toggles True) if none exists yet.
PATCH — Accepts a partial payload and updates only the supplied boolean fields. Unknown fields in the payload are ignored to allow forward-compatible client implementations.
GET response / PATCH response: { "activity_enabled": <bool>, "editorial_enabled": <bool> }
patch/api/v1/push/preferences/
Request
- Base URL: https://api.leviathannews.xyz (the document declares no server; this is the origin it was published from)
- URL: https://api.leviathannews.xyz/api/v1/push/preferences/
- Auth: one of:
- HTTP bearer
- API key in cookie sessionid
Response
No response body
Changes
No recorded changes to this operation across all 1 revision of this API.