Describes the last point that notifications were checked.
Whether the notification has been read.
Marks all notifications as “read” removes it from the default view on GitHub Enterprise Server. If the number of notifications is too large to complete in one request, you will receive a 202 Accepted
status and GitHub Enterprise Server will run an asynchronous process to mark notifications as “read.” To check whether any “unread” notifications remain, you can use the List notifications for the authenticated user endpoint and pass the query parameter all=false
.
Describes the last point that notifications were checked.
Whether the notification has been read.
Response
thread_id parameter
Response
Thread
Minimal Repository
Example:https://api.github.com/notifications/threads/2/subscription
thread_id parameter
Reset Content
This checks to see if the current user is subscribed to a thread. You can also get a repository subscription.
Note that subscriptions are only generated if a user is participating in a conversation–for example, they’ve replied to the thread, were @mentioned, or manually subscribe to a thread.
thread_id parameter
Response
Thread Subscription
Example:true
Example:2012-10-06T21:34:12Z
Example:https://api.github.com/notifications/threads/1/subscription
Example:https://api.github.com/notifications/threads/1
Example:https://api.github.com/repos/1
If you are watching a repository, you receive notifications for all threads by default. Use this endpoint to ignore future notifications for threads until you comment on the thread or get an @mention.
You can also use this endpoint to subscribe to threads that you are currently not receiving notifications for or to subscribed to threads that you have previously ignored.
Unsubscribing from a conversation in a repository that you are not watching is functionally equivalent to the Delete a thread subscription endpoint.
thread_id parameter
Whether to block all notifications from a thread.
Default:false
Response
Thread Subscription
Example:true
Example:2012-10-06T21:34:12Z
Example:https://api.github.com/notifications/threads/1/subscription
Example:https://api.github.com/notifications/threads/1
Example:https://api.github.com/repos/1