v5

latestSwagger 2.0MIT2026-08-03485217850.7 KB
notification

Mark notification threads as read, pinned or unread on a specific repo

put/repos/{owner}/{repo}/notifications

Path parameters

ownerstring required

owner of the repo

repostring required

name of the repo

Query parameters

allstring

If true, mark all notifications on this repo. Default value is false

status-typesstring[]

Mark notifications with the provided status types. Options are: unread, read and/or pinned. Defaults to unread.

to-statusstring

Status to mark notifications as. Defaults to read.

last_read_atstring date-time

Describes the last point that notifications were checked. Anything updated since this time will not be updated.

Response

NotificationThreadList

idinteger

ID is the unique identifier for the notification thread

pinnedboolean

Pinned indicates if the notification is pinned

unreadboolean

Unread indicates if the notification has been read

updated_atstring date-time

UpdatedAt is the time when the notification was last updated

urlstring

URL is the API URL for this notification thread