notifications

Mark Read

Set read_at on a list of notifications, or all of the user's unread.

Always scopes the UPDATE to user_id = current_user so a malicious client can't clear another user's inbox by guessing notification IDs.

post/notifications/mark-read

Request

  • Base URL
    https://stardrift.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://stardrift.ai/notifications/mark-read
  • Auth
    none declared

Request body

idsstring[] nullable
allboolean
trip_idstring uuid nullable
scopestring nullable
target_idstring nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 34 revisions of this API.