@ -1,7 +1,7 @@
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.
@ -16,16 +16,18 @@ Furthermore, two enpoints ``/`` and ``/search`` are available for querying.
Parameters
`` ` ` ` ` ` ` ``
+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
| Name | Description | |
+==================+====================================================================================================+=============================+
| `` q `` | The search query, see :doc: `/user/search_syntax` | required |
+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
| `` categories `` | Comma separated list, specifies the active search categories | optional |
+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
| `` engines `` | Comma separated list, specifies the active search engines | optional |
+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
| `` lang `` | Code of the language | optional (default: `` all `` ) |
+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
| `` pageno `` | Search page number | optional (default: `` 1 `` ) |
+------------------+----------------------------------------------------------------------------------------------------+-----------------------------+
+------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
| Name | Description | |
+==================+====================================================================================================+==================================================+
| `` q `` | The search query, see :doc: `/user/search_syntax` | required |
+------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
| `` categories `` | Comma separated list, specifies the active search categories | optional |
+------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
| `` engines `` | Comma separated list, specifies the active search engines | optional |
+------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
| `` lang `` | Code of the language | optional (default: `` all `` ) |
+------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
| `` pageno `` | Search page number | optional (default: `` 1 `` ) |
+------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+
| `` time_range `` | Time range of search | optional (possible: `` day `` , `` month `` , `` year `` )|
+------------------+----------------------------------------------------------------------------------------------------+--------------------------------------------------+