on master help sign in
generated files of parent
commite2ce068eb772e0173eaad449215d3baabc519ccb authorNoemi Vanyi <sitbackandwait@gmail.com> dateSat 10 Sep 2016, 15:12 (10 years ago) parentb7fda27
2 files changed+19−19
_sources/dev/search_api.txt+15−15 dev/search_api.html+4−4
_sources/dev/search_api.txt+15−15
@@ -16,18 +16,18 @@ Furthermore, two enpoints ``/`` and ``/search`` are available for querying.
1616Parameters
1717``````````
1818
19−+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
20−| Name | Description | |
21−+==================+====================================================================================================+=============================+
22−| ``q`` | The search query, see :doc:`/user/search_syntax` | required |
23−+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
24−| ``categories`` | Comma separated list, specifies the active search categories | optional |
25−+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
26−| ``engines`` | Comma separated list, specifies the active search engines | optional |
27−+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
28−| ``lang`` | Code of the language | optional (default: ``all``) |
29−+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
30−| ``pageno`` | Search page number | optional (default: ``1``) |
31−+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
32−| ``time_range`` | Time range of search | optional |
33−+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
19++------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
20+| Name | Description | |
21++==================+====================================================================================================+==================================================+
22+| ``q`` | The search query, see :doc:`/user/search_syntax` | required |
23++------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
24+| ``categories`` | Comma separated list, specifies the active search categories | optional |
25++------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
26+| ``engines`` | Comma separated list, specifies the active search engines | optional |
27++------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
28+| ``lang`` | Code of the language | optional (default: ``all``) |
29++------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
30+| ``pageno`` | Search page number | optional (default: ``1``) |
31++------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
32+| ``time_range`` | Time range of search | optional (possible: ``day``, ``month``, ``year``)|
33++------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
dev/search_api.html+4−4
@@ -53,9 +53,9 @@
5353<h2>Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
5454<table border="1" class="docutils">
5555<colgroup>
56−<col width="12%" />
57−<col width="68%" />
58−<col width="20%" />
56+<col width="11%" />
57+<col width="60%" />
58+<col width="30%" />
5959</colgroup>
6060<thead valign="bottom">
6161<tr class="row-odd"><th class="head">Name</th>
@@ -86,7 +86,7 @@
8686</tr>
8787<tr class="row-odd"><td><code class="docutils literal"><span class="pre">time_range</span></code></td>
8888<td>Time range of search</td>
89−<td>optional</td>
89+<td>optional (possible: <code class="docutils literal"><span class="pre">day</span></code>, <code class="docutils literal"><span class="pre">month</span></code>, <code class="docutils literal"><span class="pre">year</span></code>)</td>
9090</tr>
9191</tbody>
9292</table>