Removed unused (not implemented) query parameter.

Signed-off-by: Andy Piper <andypiper@users.noreply.github.com>
This commit is contained in:
Andy Piper 2023-12-11 23:17:30 +00:00
parent 3712250ef2
commit d85d05f47f
No known key found for this signature in database
GPG Key ID: 8FBF7373AC449A7F
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" >}}