notifications_thread_subscriptions
Overview
Name | notifications_thread_subscriptions |
Type | Resource |
Id | github.activity.notifications_thread_subscriptions |
Fields
Name | Datatype |
---|---|
created_at | string |
ignored | boolean |
reason | string |
repository_url | string |
subscribed | boolean |
thread_url | string |
url | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_thread_subscription_for_authenticated_user | SELECT | thread_id | 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. |
delete_thread_subscription | DELETE | thread_id | 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 . |
set_thread_subscription | EXEC | thread_id | 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. |