Merge branch 'mastodon:main' into main
This commit is contained in:
commit
17811549cf
|
@ -38,11 +38,6 @@ See all currently active announcements set by admins.
|
||||||
Authorization
|
Authorization
|
||||||
: {{<required>}} Provide this header with `Bearer <user token>` to gain authorized access to this API method.
|
: {{<required>}} Provide this header with `Bearer <user token>` to gain authorized access to this API method.
|
||||||
|
|
||||||
##### Query parameters
|
|
||||||
|
|
||||||
with_dismissed
|
|
||||||
: Boolean. If true, response will include announcements dismissed by the user. Defaults to false.
|
|
||||||
|
|
||||||
#### Response
|
#### Response
|
||||||
##### 200: OK
|
##### 200: OK
|
||||||
|
|
||||||
|
@ -294,4 +289,4 @@ Announcement with given ID does not exist
|
||||||
|
|
||||||
{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/announcements_controller.rb" caption="app/controllers/api/v1/announcements_controller.rb" >}}
|
{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/announcements_controller.rb" caption="app/controllers/api/v1/announcements_controller.rb" >}}
|
||||||
|
|
||||||
{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/announcements/reactions_controller.rb" caption="app/controllers/api/v1/announcements/reactions_controller.rb" >}}
|
{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/announcements/reactions_controller.rb" caption="app/controllers/api/v1/announcements/reactions_controller.rb" >}}
|
||||||
|
|
Loading…
Reference in New Issue