add new search parameter time_range

This commit is contained in:
Noémi Ványi 2016-09-06 18:13:20 +02:00
parent ed102117bc
commit 6d99db7af3

View file

@ -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 |
+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+