Removed unused (not implemented) query parameter. (#1369)
Signed-off-by: Andy Piper <andypiper@users.noreply.github.com>
This commit is contained in:
parent
c20d658062
commit
a610154747
|
@ -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