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.