Преглед изворни кода

add new search parameter time_range

Noémi Ványi пре 8 година
родитељ
комит
f4c2ed82b5
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3
    1
      docs/dev/search_api.rst

+ 3
- 1
docs/dev/search_api.rst Прегледај датотеку

@@ -1,7 +1,7 @@
1 1
 Search API
2 2
 ==========
3 3
 
4
-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.
4
+The search supports both ``GET`` and ``POST``.
5 5
 
6 6
 Furthermore, two enpoints ``/`` and ``/search`` are available for querying.
7 7
 
@@ -29,3 +29,5 @@ Parameters
29 29
 +------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
30 30
 | ``pageno``       | Search page number                                                                                 | optional (default: ``1``)   |
31 31
 +------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
32
+| ``time_range``   | Time range of search                                                                               | optional                    |
33
++------------------+----------------------------------------------------------------------------------------------------+-----------------------------+