Bläddra i källkod

add new search parameter time_range

Noémi Ványi 8 år sedan
förälder
incheckning
f4c2ed82b5
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3
    1
      docs/dev/search_api.rst

+ 3
- 1
docs/dev/search_api.rst Visa fil

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