Implement search API (fixes #929)

This commit is contained in:
Pierre Rudloff 2017-12-18 02:59:11 +01:00
parent 6b622fa9e4
commit 4a5d988d8c
2 changed files with 83 additions and 0 deletions

View file

@ -449,6 +449,24 @@ It shows all direct answers (excluding the original post) to a given id.
Friendica doesn't allow showing followers of other users.
---
### search (*; AUTH)
#### Parameters
* q: search query
* page: the page number (starting at 1) to return
* rpp: the number of statuses to return per page
* count: alias for the rpp parameter
* since_id: returns statuses with ids greater than the given id
* max_id: returns statuses with ids lower or equal to the given id
#### Unsupported parameters
* geocode
* lang
* locale
* result_type
* until
* include_entities
---
### users/search (*)
#### Parameters