Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit31331a9

Browse files
committed
Merge pull request#487 from github/get-me-out-of-here
Clarify the set/delete endpoints of repo subscriptions
2 parents3adce2a +876bd68 commit31331a9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

‎content/v3/activity/watching.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ Name | Type | Description
7171
`subscribed`|`boolean`| Determines if notifications should be received from this repository.
7272
`ignored`|`boolean`| Determines if all notifications should be blocked from this repository.
7373

74+
{{#tip}}
75+
76+
If you would like to watch a repository, set`subscribed` to`true`. If you would like to ignore notifications made within a repository, set`ignored` to`true`. If you would like to stop watching a repository,[delete the repository's subscription](#delete-a-repository-subscription) completely.
77+
78+
{{/tip}}
7479

7580
###Response
7681

@@ -79,6 +84,12 @@ Name | Type | Description
7984

8085
##Delete a Repository Subscription
8186

87+
{{#tip}}
88+
89+
This endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository,[set the repository's subscription manually](#set-a-repository-subscription).
90+
91+
{{/tip}}
92+
8293
DELETE /repos/:owner/:repo/subscription
8394

8495
###Response

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp