Github API - Test Config

PUT /notifications/threads/{thread_id}/subscription
activity

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.
Set a thread subscription

Arguments
key thread-id

thread-id [scalar]

The unique identifier of the notification thread. This corresponds to the value returned in the id field when you retrieve notifications (for example with the GET /notifications operation).

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json thread-subscription

thread-subscription [object]

Thread Subscription

Attributes
created_at string

ignored boolean

reason string

repository_url string

subscribed boolean

thread_url string

url string

API:
Github Open API
(version: 1.1.4)
304 not_modified

not_modified [scalar]

Not modified

API:
Github Open API
(version: 1.1.4)
401 requires_authentication

requires_authentication [scalar]

Requires authentication

API:
Github Open API
(version: 1.1.4)
403 forbidden

forbidden [scalar]

Forbidden

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)