Correct the API path for getting a single notification
This commit is contained in:
parent
5b0cd8b7f0
commit
164b57bc2a
|
@ -175,7 +175,7 @@ Invalid or missing Authorization header.
|
|||
## Get a single notification {#get-one}
|
||||
|
||||
```http
|
||||
GET /api/v1/notification/:id HTTP/1.1
|
||||
GET /api/v1/notifications/:id HTTP/1.1
|
||||
```
|
||||
|
||||
View information about a notification with a given ID.
|
||||
|
@ -394,4 +394,4 @@ Invalid or missing Authorization header.
|
|||
|
||||
{{< page-relref ref="methods/push" caption="push API methods" >}}
|
||||
|
||||
{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/notifications_controller.rb" caption="app/controllers/api/v1/notifications_controller.rb" >}}
|
||||
{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/notifications_controller.rb" caption="app/controllers/api/v1/notifications_controller.rb" >}}
|
||||
|
|
Loading…
Reference in New Issue