API referenceNotifications
Mark a notification read or unread, archived or not
Someone else's notification is 404.
PATCH
Sends a real request with your token. Prefer a read-only token; it is kept in this browser's storage.
Someone else's notification is 404.
header
AuthorizationBearer <token>A personal access token (rsk_…) or a Supabase access token.
id*stringMatch
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$application/json- body
is_read?booleanarchived?booleanThe notification's state
application/json- response
id*stringMatch
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Format
uuidis_read*booleanread_at*string|nullarchived_at*string|nullcurl -X PATCH 'https://www.ressource.social/api/v1/notifications/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_read": true, "read_at": "string", "archived_at": "string"}Set one community's activity preferences PATCH
`enabled` alone is the community's master switch: false mutes it, true makes it follow the global defaults again. Otherwise the channels sent are set on one `activity_type`, or on all of them when it is omitted; channels not sent keep their current value. Only this community changes. Members only (403 otherwise).
Turn one notification type's channels on or off PATCH
Next Page