Added note about missing parameters

This commit is contained in:
Michael 2021-06-07 07:45:20 +00:00
parent dc9b5df072
commit 8e12c1d39b

View file

@ -47,6 +47,13 @@ class Tag extends BaseApi
DI::mstdnError()->UnprocessableEntity(); 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([ $request = self::getRequest([
'local' => false, // If true, return only local statuses. Defaults to false. 'local' => false, // If true, return only local statuses. Defaults to false.
'remote' => false, // Show only remote statuses? Defaults to false. 'remote' => false, // Show only remote statuses? Defaults to false.