mirror of
https://github.com/friendica/friendica
synced 2025-04-26 06:30:11 +00:00
API: Parameter cleanup
This commit is contained in:
parent
453e6a9d75
commit
e3d227f3c9
22 changed files with 147 additions and 80 deletions
|
@ -27,7 +27,7 @@ use Friendica\DI;
|
|||
use Friendica\Module\BaseApi;
|
||||
|
||||
/**
|
||||
* @see https://docs.joinmastodon.org/methods/timelines/lists/
|
||||
* @see https://docs.joinmastodon.org/methods/timelines/lists/#accounts-in-a-list
|
||||
*
|
||||
* Currently the output will be unordered since we use public contact ids in the api and not user contact ids.
|
||||
*/
|
||||
|
@ -61,6 +61,8 @@ class Accounts extends BaseApi
|
|||
DI::mstdnError()->RecordNotFound();
|
||||
}
|
||||
|
||||
// @todo provide HTTP link header
|
||||
|
||||
$request = self::getRequest([
|
||||
'max_id' => 0, // Return results older than this id
|
||||
'since_id' => 0, // Return results newer than this id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue