notifications

Update Notifications

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 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

Changed in 3 of the 34 revisions of this API.94

    • added the new contact_accepted enum value to the items/type response property for the response status 200

      response-property-enum-value-added

    • added the new user_message enum value to the items/type response property for the response status 200

      response-property-enum-value-added

    • added the new workspaceuser_added_collaborator enum value to the items/type response property for the response status 200

      response-property-enum-value-added

    • added the new workspaceuser_added_guest enum value to the items/type response property for the response status 200

      response-property-enum-value-added

    • added the new workspaceuser_added_owner enum value to the items/type response property for the response status 200

      response-property-enum-value-added

    • added the new workspaceuser_removed enum value to the items/type response property for the response status 200

      response-property-enum-value-added

    • added the new workspaceuser_updated_collaborator enum value to the items/type response property for the response status 200

      response-property-enum-value-added

    • added the new workspaceuser_updated_guest enum value to the items/type response property for the response status 200

      response-property-enum-value-added

    • added the new workspaceuser_updated_owner enum value to the items/type response property for the response status 200

      response-property-enum-value-added

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional request property updates/items/read

      new-optional-request-property

    • the request property updates/items/content became optional

      request-property-became-optional

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

      request-property-list-of-types-widened

    • endpoint added

      endpoint-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog