Merge branch 'mastodon:main' into main

This commit is contained in:
John Haugabook 2024-03-29 15:48:35 -04:00 committed by GitHub
commit 17811549cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 6 deletions

View File

@ -38,11 +38,6 @@ See all currently active announcements set by admins.
Authorization
: {{<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
##### 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/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" >}}