Skip to content

Commit fe872ae

Browse files
committed
Merge pull request github#338 from claudiob/patch-2
Use :id, not 1, as a thread_id placeholder
2 parents 80b9dad + 44870e4 commit fe872ae

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

content/v3/activity/notifications.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ updated since this time will not be updated. Default: Now. Expected in ISO
157157
This checks to see if the current user is subscribed to a thread. You can also
158158
[get a Repository subscription](/v3/activity/watching/#get-a-repository-subscription).
159159

160-
GET /notifications/threads/1/subscription
160+
GET /notifications/threads/:id/subscription
161161

162162
### Response
163163

@@ -171,7 +171,7 @@ is unnecessary if the user is already subscribed to the repository. Ignoring
171171
a thread will mute all future notifications (until you comment or get
172172
@mentioned).
173173

174-
PUT /notifications/threads/1/subscription
174+
PUT /notifications/threads/:id/subscription
175175

176176
### Input
177177

@@ -190,7 +190,7 @@ thread.
190190

191191
## Delete a Thread Subscription
192192

193-
DELETE /notifications/threads/1/subscription
193+
DELETE /notifications/threads/:id/subscription
194194

195195
### Response
196196

0 commit comments

Comments
 (0)