Merge pull request #4097 from Rudloff/feature/search_api

Implement search API (fixes #929)
This commit is contained in:
Hypolite Petovan 2017-12-18 09:28:33 -05:00 committed by GitHub
commit 7a6706b0f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 77 additions and 0 deletions

View file

@ -462,6 +462,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