mirror of
https://github.com/friendica/friendica
synced 2025-05-11 12:24:10 +02:00
API: Parameter cleanup
This commit is contained in:
parent
453e6a9d75
commit
e3d227f3c9
22 changed files with 147 additions and 80 deletions
|
@ -55,8 +55,8 @@ class Search extends BaseApi
|
|||
'q' => '', // The search query
|
||||
'resolve' => false, // Attempt WebFinger lookup. Defaults to false.
|
||||
'limit' => 20, // Maximum number of results to load, per type. Defaults to 20. Max 40.
|
||||
'offset' => 0, // Maximum number of results to load, per type. Defaults to 20. Max 40.
|
||||
'following' => false, // Only who the user is following. Defaults to false.
|
||||
'offset' => 0, // Offset in search results. Used for pagination. Defaults to 0.
|
||||
'following' => false, // Only include accounts that the user is following. Defaults to false.
|
||||
]);
|
||||
|
||||
if (empty($request['q'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue