forked from Ponysearch/Ponysearch
add new search parameter time_range
This commit is contained in:
parent
ed102117bc
commit
6d99db7af3
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
Search API
|
Search API
|
||||||
==========
|
==========
|
||||||
|
|
||||||
The search supports both ``GET`` and ``POST``. However, using ``GET`` the parameters of the request remain hidden. So it is advised to use ``GET`` for querying.
|
The search supports both ``GET`` and ``POST``.
|
||||||
|
|
||||||
Furthermore, two enpoints ``/`` and ``/search`` are available for querying.
|
Furthermore, two enpoints ``/`` and ``/search`` are available for querying.
|
||||||
|
|
||||||
|
@ -29,3 +29,5 @@ Parameters
|
||||||
+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
|
+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
|
||||||
| ``pageno`` | Search page number | optional (default: ``1``) |
|
| ``pageno`` | Search page number | optional (default: ``1``) |
|
||||||
+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
|
+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
|
||||||
|
| ``time_range`` | Time range of search | optional |
|
||||||
|
+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
|
||||||
|
|
Loading…
Reference in a new issue