v52

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-037389158.9 KB
UserService

UpdateUserNotification updates a notification.

patch/api/v1/users/{user}/notifications/{notification}

Path parameters

userstring required

The user id.

notificationstring required

The notification id.

Query parameters

updateMaskstring field-mask

Request body

namestring

The resource name of the notification. Format: users/{user}/notifications/{notification}

senderstring

The sender of the notification. Format: users/{user}

status'STATUS_UNSPECIFIED' | 'UNREAD' | 'ARCHIVED' enum

The status of the notification.

createTimestring date-time

The creation timestamp.

type'TYPE_UNSPECIFIED' | 'MEMO_COMMENT' | 'MEMO_MENTION' enum

The type of the notification.

Response

OK

namestring

The resource name of the notification. Format: users/{user}/notifications/{notification}

senderstring

The sender of the notification. Format: users/{user}

status'STATUS_UNSPECIFIED' | 'UNREAD' | 'ARCHIVED' enum

The status of the notification.

createTimestring date-time

The creation timestamp.

type'TYPE_UNSPECIFIED' | 'MEMO_COMMENT' | 'MEMO_MENTION' enum

The type of the notification.