notifications

Update Notifications

Changed on

Bulk update notifications.

Supports:

  • content: Re-encrypt content (sender OR recipient can do this)
  • read: Mark as read (only recipient can do this)

Returns the updated notifications.

patch/api/notifications/

Request

  • The document declares no server URL.
  • Auth
    HTTP bearer

Request body

Response

Successful Response

type'user_message' | 'workspaceuser_added_owner' | 'workspaceuser_added_collaborator' | 'workspaceuser_added_guest' | 'workspaceuser_removed' | 'workspaceuser_updated_owner' | 'workspaceuser_updated_collaborator' | 'workspaceuser_updated_guest' | 'contact_accepted' required

Notification types - all persisted AND delivered via WebSocket.

Type is self-descriptive, no need to parse content field.

external_idstring required
workspace_ext_idstring nullable
contentstring nullable
newboolean
created_atstring date-time required
updated_atstring date-time required

Changes

    • warning

      added the new contact_accepted enum value to the / response property for the response status

    • warning

      added the new user_message enum value to the / response property for the response status

    • warning

      added the new workspaceuser_added_collaborator enum value to the / response property for the response status

    • warning

      added the new workspaceuser_added_guest enum value to the / response property for the response status

    • warning

      added the new workspaceuser_added_owner enum value to the / response property for the response status

    • warning

      added the new workspaceuser_removed enum value to the / response property for the response status

    • warning

      added the new workspaceuser_updated_collaborator enum value to the / response property for the response status

    • warning

      added the new workspaceuser_updated_guest enum value to the / response property for the response status

    • warning

      added the new workspaceuser_updated_owner enum value to the / response property for the response status

    • info

      added the new optional request property //

    • info

      the request property // became optional

    • info

      request property // list-of-types was widened by adding types null to media type application/json