X-Git-Url: https://git.toastfreeware.priv.at/chrisu/seepark.git/blobdiff_plain/9dd6d6439c997f058ab52d90f3b371853a40e553..d86ddcef232fe0f70d62a0bf93ee72ec13ef45d1:/web/static/doc/index.html diff --git a/web/static/doc/index.html b/web/static/doc/index.html index f07d6c5..0bb93c5 100644 --- a/web/static/doc/index.html +++ b/web/static/doc/index.html @@ -52,28 +52,26 @@
GET /api/(version)/sensor/type/(sensor_type)¶

Return all data for a specific sensor type

-

URL parameters: -begin=<datetime>, optional, format like “2018-05-19T21:07:53” -end=<datetime>, optional, format like “2018-05-19T21:07:53” -mode=<full|consolidated>, optional. return all rows (default) or with lower resolution (for charts) -format=<default|c3>, optional. return result as returned by sqlalchemy (default) or formatted for c3.js

+

URL parameters:

+
GET /api/(version)/sensor/id/(sensor_id)¶

Return all data for a specific sensor

-

URL parameters: -begin=<datetime>, optional, format like “2018-05-19T21:07:53” -end=<datetime>, optional, format like “2018-05-19T21:07:53” -mode=<full|consolidated>, optional. return all rows (default) or with lower resolution (for charts) -format=<default|c3>, optional. return result as returned by sqlalchemy (default) or formatted for c3.js

-
- -
-
-GET /report/(int: year)-(int: month)¶
-

Report for given year and month

+

URL parameters:

+
@@ -82,6 +80,12 @@ format=<default|c3>, optional. return result as returned by sqlalchemy (de

List all city IDs found in the database

+
+
+GET /report/(int: year)/(int: month)¶
+

Report for given year (4 digits) and month (2 digits)

+
+
GET /api/(version)/sensors/¶