From 8e12c1d39be91d58ef4ee5748de127f5ac865e2a Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 7 Jun 2021 07:45:20 +0000 Subject: [PATCH] Added note about missing parameters --- src/Module/Api/Mastodon/Timelines/Tag.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Module/Api/Mastodon/Timelines/Tag.php b/src/Module/Api/Mastodon/Timelines/Tag.php index efcab825a..74a5bb901 100644 --- a/src/Module/Api/Mastodon/Timelines/Tag.php +++ b/src/Module/Api/Mastodon/Timelines/Tag.php @@ -47,6 +47,13 @@ class Tag extends BaseApi DI::mstdnError()->UnprocessableEntity(); } + /** + * @todo Respect missing parameters + * @see https://github.com/tootsuite/mastodon/blob/main/app/controllers/api/v1/timelines/tag_controller.rb + * + * There seem to be the parameters "any", "all", and "none". + */ + $request = self::getRequest([ 'local' => false, // If true, return only local statuses. Defaults to false. 'remote' => false, // Show only remote statuses? Defaults to false.