added some API docs
This commit is contained in:
parent
3a1d29299d
commit
8221f64794
1 changed files with 34 additions and 0 deletions
34
README.md
34
README.md
|
@ -5,3 +5,37 @@ A (hopefully soon) fully featured selft-hosted web interface and server-backend
|
||||||
# State of development
|
# State of development
|
||||||
|
|
||||||
- interface and backend planned
|
- interface and backend planned
|
||||||
|
|
||||||
|
# API docs
|
||||||
|
|
||||||
|
## location data
|
||||||
|
- id
|
||||||
|
- locationname
|
||||||
|
- latitude
|
||||||
|
- longitude
|
||||||
|
- countryname
|
||||||
|
- measvalues
|
||||||
|
- measvalue
|
||||||
|
- sensorid
|
||||||
|
- timestamp
|
||||||
|
- sensors
|
||||||
|
- id
|
||||||
|
- added
|
||||||
|
- userid
|
||||||
|
- sensorname
|
||||||
|
- property ('indoor' || 'sunny' || 'shadow' )
|
||||||
|
- valuetypeid
|
||||||
|
- valuetypes
|
||||||
|
- id
|
||||||
|
- valuetype ('temperature' || 'humidity')
|
||||||
|
- valunit (html coding)
|
||||||
|
- displayproperty
|
||||||
|
- widget (properties for small widget)
|
||||||
|
- type ('doughnut' || 'number')
|
||||||
|
- properties (chartjs dataset properties if type is a chartjs type)
|
||||||
|
- chart (properties for large chart)
|
||||||
|
- type ('scatter')
|
||||||
|
- properties (chartjs dataset properties)
|
||||||
|
- range (actual range of present measvalues)
|
||||||
|
- from
|
||||||
|
- to
|
||||||
|
|
Loading…
Reference in a new issue