thread_id parameter
Set a thread subscription
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.
Path Parameters
Body
application/json
Body
Whether to block all notifications from a thread.
Default:false
Response
application/json
Response
Response
Thread Subscription
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
Path Parameters
Body
Delete a thread subscription
Mutes all future notifications for a conversation until you comment on the thread or get an @mention. If you are watching the repository of the thread, you will still receive notifications. To ignore future notifications for a repository you are watching, use the Set a thread subscription endpoint and set ignore
to true
.
Path Parameters
thread_id parameter
Response
Response
Response
Path Parameters
List public organization events
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
Response
200 application/json
Response
Response
Event
Actor
Show Child Parameters
Show Child Parameters
Actor
Show Child Parameters
Show Child Parameters
Path Parameters
Query Parameters
List repository events
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
Response
200 application/json
Response
Response
Event
Actor
Show Child Parameters
Show Child Parameters
Actor
Show Child Parameters
Show Child Parameters
Path Parameters
Query Parameters
List repository notifications for the authenticated user
List all notifications for the current user.
Query Parameters
If true
, show notifications marked as read.
Default:false
If true
, only shows notifications in which the user is directly participating or mentioned.
Default:false
Only show notifications updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
Only show notifications updated before the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
Response
200 application/json
Response
Response
Thread
Minimal Repository
Show Child Parameters
Show Child Parameters
Example:https://api.github.com/notifications/threads/2/subscription