Update of autogenerated documentation.
[chrisu/seepark.git] / web / static / doc / index.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
4
5 <html xmlns="http://www.w3.org/1999/xhtml">
6   <head>
7     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8     
9     <title>Seepark API documentation &#8212; seepark 0.1.0 documentation</title>
10     
11     <link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
12     <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
13     
14     <script type="text/javascript">
15       var DOCUMENTATION_OPTIONS = {
16         URL_ROOT:    './',
17         VERSION:     '0.1.0',
18         COLLAPSE_INDEX: false,
19         FILE_SUFFIX: '.html',
20         HAS_SOURCE:  true
21       };
22     </script>
23     <script type="text/javascript" src="_static/jquery.js"></script>
24     <script type="text/javascript" src="_static/underscore.js"></script>
25     <script type="text/javascript" src="_static/doctools.js"></script>
26     <link rel="index" title="Index" href="genindex.html" />
27     <link rel="search" title="Search" href="search.html" />
28     <link rel="top" title="seepark 0.1.0 documentation" href="#" />
29    
30   <link rel="stylesheet" href="_static/custom.css" type="text/css" />
31   
32   <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
33
34   </head>
35   <body role="document">
36   
37
38     <div class="document">
39       <div class="documentwrapper">
40         <div class="bodywrapper">
41           <div class="body" role="main">
42             
43   <div class="section" id="seepark-api-documentation">
44 <h1>Seepark API documentation<a class="headerlink" href="#seepark-api-documentation" title="Permalink to this headline">¶</a></h1>
45 <dl class="get">
46 <dt id="get--api-(version)-openweathermap-city-(cityid)">
47 <code class="descname">GET </code><code class="descname">/api/</code><span class="sig-paren">(</span><em>version</em><span class="sig-paren">)</span><code class="descname">/openweathermap/city/</code><span class="sig-paren">(</span><em>cityid</em><span class="sig-paren">)</span><a class="headerlink" href="#get--api-(version)-openweathermap-city-(cityid)" title="Permalink to this definition">¶</a></dt>
48 <dd><p>List all data found for a city</p>
49 </dd></dl>
50
51 <dl class="get">
52 <dt id="get--api-(version)-sensor-type-(sensor_type)">
53 <code class="descname">GET </code><code class="descname">/api/</code><span class="sig-paren">(</span><em>version</em><span class="sig-paren">)</span><code class="descname">/sensor/type/</code><span class="sig-paren">(</span><em>sensor_type</em><span class="sig-paren">)</span><a class="headerlink" href="#get--api-(version)-sensor-type-(sensor_type)" title="Permalink to this definition">¶</a></dt>
54 <dd><p>Return all data for a specific sensor type</p>
55 <p>URL parameters:</p>
56 <ul class="simple">
57 <li><code class="docutils literal"><span class="pre">begin=&lt;datetime&gt;</span></code>, optional, format like <code class="docutils literal"><span class="pre">2018-05-19T21:07:53</span></code></li>
58 <li><code class="docutils literal"><span class="pre">end=&lt;datetime&gt;</span></code>, optional, format like <code class="docutils literal"><span class="pre">2018-05-19T21:07:53</span></code></li>
59 <li><code class="docutils literal"><span class="pre">mode=&lt;full|consolidated&gt;</span></code>, optional. return all rows (default) or with lower resolution (for charts)</li>
60 <li><code class="docutils literal"><span class="pre">format=&lt;default|c3&gt;</span></code>, optional. return result as returned by sqlalchemy (default) or formatted for c3.js</li>
61 </ul>
62 </dd></dl>
63
64 <dl class="get">
65 <dt id="get--api-(version)-sensor-id-(sensor_id)">
66 <code class="descname">GET </code><code class="descname">/api/</code><span class="sig-paren">(</span><em>version</em><span class="sig-paren">)</span><code class="descname">/sensor/id/</code><span class="sig-paren">(</span><em>sensor_id</em><span class="sig-paren">)</span><a class="headerlink" href="#get--api-(version)-sensor-id-(sensor_id)" title="Permalink to this definition">¶</a></dt>
67 <dd><p>Return all data for a specific sensor</p>
68 <p>URL parameters:</p>
69 <ul class="simple">
70 <li><code class="docutils literal"><span class="pre">begin=&lt;datetime&gt;</span></code>, optional, format like <code class="docutils literal"><span class="pre">2018-05-19T21:07:53</span></code></li>
71 <li><code class="docutils literal"><span class="pre">end=&lt;datetime&gt;</span></code>, optional, format like <code class="docutils literal"><span class="pre">2018-05-19T21:07:53</span></code></li>
72 <li><code class="docutils literal"><span class="pre">mode=&lt;full|consolidated&gt;</span></code>, optional. return all rows (default) or with lower resolution (for charts)</li>
73 <li><code class="docutils literal"><span class="pre">format=&lt;default|c3&gt;</span></code>, optional. return result as returned by sqlalchemy (default) or formatted for c3.js</li>
74 </ul>
75 </dd></dl>
76
77 <dl class="get">
78 <dt id="get--api-(version)-openweathermap-cities">
79 <code class="descname">GET </code><code class="descname">/api/</code><span class="sig-paren">(</span><em>version</em><span class="sig-paren">)</span><code class="descname">/openweathermap/cities</code><a class="headerlink" href="#get--api-(version)-openweathermap-cities" title="Permalink to this definition">¶</a></dt>
80 <dd><p>List all city IDs found in the database</p>
81 </dd></dl>
82
83 <dl class="get">
84 <dt id="get--report-(int-year)-(int-month)">
85 <code class="descname">GET </code><code class="descname">/report/</code><span class="sig-paren">(</span><em class="property">int: </em><em>year</em><span class="sig-paren">)</span><code class="descname">/</code><span class="sig-paren">(</span><em class="property">int: </em><em>month</em><span class="sig-paren">)</span><a class="headerlink" href="#get--report-(int-year)-(int-month)" title="Permalink to this definition">¶</a></dt>
86 <dd><p>Report for given year and month</p>
87 </dd></dl>
88
89 <dl class="get">
90 <dt id="get--api-(version)-sensors-">
91 <code class="descname">GET </code><code class="descname">/api/</code><span class="sig-paren">(</span><em>version</em><span class="sig-paren">)</span><code class="descname">/sensors/</code><a class="headerlink" href="#get--api-(version)-sensors-" title="Permalink to this definition">¶</a></dt>
92 <dd><p>List all sensors found in the database</p>
93 </dd></dl>
94
95 </div>
96 <div class="section" id="indices-and-tables">
97 <h1>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this headline">¶</a></h1>
98 <ul class="simple">
99 <li><a class="reference internal" href="search.html"><span class="std std-ref">Search Page</span></a></li>
100 </ul>
101 </div>
102
103
104           </div>
105         </div>
106       </div>
107       <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
108         <div class="sphinxsidebarwrapper">
109   <h3><a href="#">Table Of Contents</a></h3>
110   <ul>
111 <li><a class="reference internal" href="#">Seepark API documentation</a></li>
112 <li><a class="reference internal" href="#indices-and-tables">Indices and tables</a></li>
113 </ul>
114 <div class="relations">
115 <h3>Related Topics</h3>
116 <ul>
117   <li><a href="#">Documentation overview</a><ul>
118   </ul></li>
119 </ul>
120 </div>
121   <div role="note" aria-label="source link">
122     <h3>This Page</h3>
123     <ul class="this-page-menu">
124       <li><a href="_sources/index.txt"
125             rel="nofollow">Show Source</a></li>
126     </ul>
127    </div>
128 <div id="searchbox" style="display: none" role="search">
129   <h3>Quick search</h3>
130     <form class="search" action="search.html" method="get">
131       <div><input type="text" name="q" /></div>
132       <div><input type="submit" value="Go" /></div>
133       <input type="hidden" name="check_keywords" value="yes" />
134       <input type="hidden" name="area" value="default" />
135     </form>
136 </div>
137 <script type="text/javascript">$('#searchbox').show(0);</script>
138         </div>
139       </div>
140       <div class="clearer"></div>
141     </div>
142     <div class="footer">
143       &copy;2019, Gregor Herrmann; Philipp Spitzer; Chrisu Jähnl.
144       
145       |
146       Powered by <a href="http://sphinx-doc.org/">Sphinx 1.4.9</a>
147       &amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.8</a>
148       
149       |
150       <a href="_sources/index.txt"
151           rel="nofollow">Page source</a>
152     </div>
153
154     
155
156     
157   </body>
158 </html>