Update a notification preference
Changed onSets whether the logged in user gets a category of notifications on the channels given (channels, by ID, e.g. { "email": false }), leaving the others as they are. Each must be one of getPreferences' channels that delivers the category (BAD_REQUEST otherwise, e.g. in-app in an app without a notification center), and those that always deliver it (security emails) can't be turned off (BAD_REQUEST). Returns the category's preference, as getPreferences does
Request
- Base URLhttps://app.easyscraper.com
- URLhttps://app.easyscraper.com/api/v1/notifications/preferences/{category}
- AuthAPI key in cookie better-auth.session_token
Path parameters
Request body
Response
OK
Changes
- breaking
added the new required request property
- breaking
request body became required
- breaking
added
subschema #1to the response bodyoneOflist for the response status - breaking
removed the required property
from the response with the status - warning
removed the request property
- warning
removed the request property
- warning
removed the optional property
from the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- info
endpoint added
- info