update comments

This commit is contained in:
pvizeli 2017-03-23 17:37:57 +01:00
parent d8b5779a3a
commit 35d4c269da
2 changed files with 24 additions and 17 deletions

View File

@ -0,0 +1,5 @@
## Possible problems
### Boost
Some times it can fail on boost build. In this case you need run `bitbake boost` inside build env. After that it work

View File

@ -2,38 +2,40 @@
## REST API Supervisor ## REST API Supervisor
### /supervisor_info ### /supervisor/info
### /supervisor_network ### /supervisor/network
- Payload: {'hostname': '', 'mode': 'dhcp|fixed', 'ssid': '', 'ip': '', 'netmask': '', 'gateway': ''} - Payload: {'hostname': '', 'mode': 'dhcp|fixed', 'ssid': '', 'ip': '', 'netmask': '', 'gateway': ''}
### /supervisor_power ### /supervisor/reboot
- Payload: {'action': 'reboot|shutdown'}
### /supervisor/shutdown
## REST API HomeAssistant ## REST API HomeAssistant
### /homeassistant_info ### /homeassistant/info
### /homeassistant_update ### /homeassistant/update
- Payload: {'version': '0.XX.Y'} - Payload: {'version': '0.XX.Y'}
If version is None it read last version from server. If version is None it read last version from server.
## REST API addons ## REST API addons
### /addons_info ### /addons/info
### /addons_run ### /addons/reload
- Payload: {'addon': 'xy', 'options': {}}
### /addons_stop ### /addons/{addon}/start
- Payload: {'addon': 'xy'} - Payload: {'options': {}}
### /addons_install ### /addons/{addon}/stop
- Payload: {'addon': 'xy'}
### /addons_delete ### /addons/{addon}/install
- Payload: {'addon': 'xy'} - Payload: {'version': 'x.x'}
### /addons/{addon}/uninstall
### /addons/{addon}/update
- Payload: {'version': 'x.x'}
### /addons_update
- Payload: {'addon': 'xy', 'version': 'x.x'}
If version is None it read last version from server. If version is None it read last version from server.