From: Michael <heluecht@pirati.ca>
Date: Mon, 7 Jun 2021 07:45:20 +0000 (+0000)
Subject: Added note about missing parameters
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8e12c1d39be91d58ef4ee5748de127f5ac865e2a;p=friendica.git

Added note about missing parameters
---

diff --git a/src/Module/Api/Mastodon/Timelines/Tag.php b/src/Module/Api/Mastodon/Timelines/Tag.php
index efcab825ad..74a5bb9014 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.