123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
- <title>Administration API — searx 0.9.0 documentation</title>
-
- <link rel="stylesheet" href="../_static/style.css" type="text/css" />
- <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
-
- <script type="text/javascript">
- var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '../',
- VERSION: '0.9.0',
- COLLAPSE_INDEX: false,
- FILE_SUFFIX: '.html',
- HAS_SOURCE: true
- };
- </script>
- <script type="text/javascript" src="../_static/jquery.js"></script>
- <script type="text/javascript" src="../_static/underscore.js"></script>
- <script type="text/javascript" src="../_static/doctools.js"></script>
- <link rel="top" title="searx 0.9.0 documentation" href="../index.html" />
- <link rel="next" title="Development Quickstart" href="../dev/quickstart.html" />
- <link rel="prev" title="Installation" href="../dev/install/installation.html" />
-
-
- <link media="only screen and (max-device-width: 480px)" href="../_static/small_flask.css" type= "text/css" rel="stylesheet" />
- <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
-
- </head>
- <body role="document">
-
- <div class="document">
- <div class="documentwrapper">
- <div class="bodywrapper">
- <div class="body" role="main">
-
- <div class="section" id="administration-api">
- <span id="adminapi"></span><h1>Administration API<a class="headerlink" href="#administration-api" title="Permalink to this headline">¶</a></h1>
- <div class="section" id="get-configuration-data">
- <h2>Get configuration data<a class="headerlink" href="#get-configuration-data" title="Permalink to this headline">¶</a></h2>
- <div class="code sh highlight-default"><div class="highlight"><pre><span class="n">GET</span> <span class="o">/</span><span class="n">config</span>
- </pre></div>
- </div>
- <div class="section" id="sample-response">
- <h3>Sample response<a class="headerlink" href="#sample-response" title="Permalink to this headline">¶</a></h3>
- <div class="code sh highlight-default"><div class="highlight"><pre><span class="p">{</span>
- <span class="s">"autocomplete"</span><span class="p">:</span> <span class="s">""</span><span class="p">,</span>
- <span class="s">"categories"</span><span class="p">:</span> <span class="p">[</span>
- <span class="s">"map"</span><span class="p">,</span>
- <span class="s">"it"</span><span class="p">,</span>
- <span class="s">"images"</span><span class="p">,</span>
- <span class="p">],</span>
- <span class="s">"default_locale"</span><span class="p">:</span> <span class="s">""</span><span class="p">,</span>
- <span class="s">"default_theme"</span><span class="p">:</span> <span class="s">"oscar"</span><span class="p">,</span>
- <span class="s">"engines"</span><span class="p">:</span> <span class="p">[</span>
- <span class="p">{</span>
- <span class="s">"categories"</span><span class="p">:</span> <span class="p">[</span>
- <span class="s">"map"</span>
- <span class="p">],</span>
- <span class="s">"enabled"</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
- <span class="s">"name"</span><span class="p">:</span> <span class="s">"openstreetmap"</span><span class="p">,</span>
- <span class="s">"shortcut"</span><span class="p">:</span> <span class="s">"osm"</span>
- <span class="p">},</span>
- <span class="p">{</span>
- <span class="s">"categories"</span><span class="p">:</span> <span class="p">[</span>
- <span class="s">"it"</span>
- <span class="p">],</span>
- <span class="s">"enabled"</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
- <span class="s">"name"</span><span class="p">:</span> <span class="s">"arch linux wiki"</span><span class="p">,</span>
- <span class="s">"shortcut"</span><span class="p">:</span> <span class="s">"al"</span>
- <span class="p">},</span>
- <span class="p">{</span>
- <span class="s">"categories"</span><span class="p">:</span> <span class="p">[</span>
- <span class="s">"images"</span>
- <span class="p">],</span>
- <span class="s">"enabled"</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
- <span class="s">"name"</span><span class="p">:</span> <span class="s">"google images"</span><span class="p">,</span>
- <span class="s">"shortcut"</span><span class="p">:</span> <span class="s">"goi"</span>
- <span class="p">},</span>
- <span class="p">{</span>
- <span class="s">"categories"</span><span class="p">:</span> <span class="p">[</span>
- <span class="s">"it"</span>
- <span class="p">],</span>
- <span class="s">"enabled"</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
- <span class="s">"name"</span><span class="p">:</span> <span class="s">"bitbucket"</span><span class="p">,</span>
- <span class="s">"shortcut"</span><span class="p">:</span> <span class="s">"bb"</span>
- <span class="p">},</span>
- <span class="p">],</span>
- <span class="s">"instance_name"</span><span class="p">:</span> <span class="s">"searx"</span><span class="p">,</span>
- <span class="s">"locales"</span><span class="p">:</span> <span class="p">{</span>
- <span class="s">"de"</span><span class="p">:</span> <span class="s">"Deutsch (German)"</span><span class="p">,</span>
- <span class="s">"en"</span><span class="p">:</span> <span class="s">"English"</span><span class="p">,</span>
- <span class="s">"eo"</span><span class="p">:</span> <span class="s">"Esperanto (Esperanto)"</span><span class="p">,</span>
- <span class="p">},</span>
- <span class="s">"plugins"</span><span class="p">:</span> <span class="p">[</span>
- <span class="p">{</span>
- <span class="s">"enabled"</span><span class="p">:</span> <span class="n">true</span><span class="p">,</span>
- <span class="s">"name"</span><span class="p">:</span> <span class="s">"HTTPS rewrite"</span>
- <span class="p">},</span>
- <span class="p">{</span>
- <span class="s">"enabled"</span><span class="p">:</span> <span class="n">false</span><span class="p">,</span>
- <span class="s">"name"</span><span class="p">:</span> <span class="s">"Vim-like hotkeys"</span>
- <span class="p">}</span>
- <span class="p">],</span>
- <span class="s">"safe_search"</span><span class="p">:</span> <span class="mi">0</span>
- <span class="p">}</span>
- </pre></div>
- </div>
- </div>
- </div>
- </div>
-
-
- </div>
- </div>
- </div>
- <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
- <div class="sphinxsidebarwrapper"><div class="sidebar_container body">
- <h1>Searx</h1>
- <ul>
- <li><a href="../index.html">Home</a></li>
- <li><a href="https://github.com/asciimoo/searx">Source</a></li>
- <li><a href="https://github.com/asciimoo/searx/wiki">Wiki</a></li>
- <li><a href="https://github.com/asciimoo/searx/wiki/Searx-instances">Public instances</a></li>
- </ul>
- <hr />
- <ul>
- <li><a href="https://twitter.com/Searx_engine">Twitter</a></li>
- <li><a href="https://flattr.com/submit/auto?user_id=asciimoo&url=https://github.com/asciimoo/searx&title=searx&language=&tags=github&category=software">Flattr</a></li>
- <li><a href="https://gratipay.com/searx">Gratipay</a></li>
- </ul>
- </div>
- </div>
- </div>
- <div class="clearer"></div>
- </div>
- <div class="footer">
- © Copyright 2015-2016, Adam Tauber.
- </div>
- </body>
- </html>
|