Add mysql service to API (#1449)

This commit is contained in:
Pascal Vizeli 2020-01-24 12:11:58 +01:00 committed by Franck Nijhof
parent 745af3c039
commit 8ca8f59a0b

27
API.md
View File

@ -752,6 +752,33 @@ return:
- DEL `/services/mqtt`
#### MySQL
- GET `/services/mysql`
```json
{
"addon": "name",
"host": "xy",
"port": "8883",
"username": "optional",
"password": "optional"
}
```
- POST `/services/mysql`
```json
{
"host": "xy",
"port": "8883",
"username": "optional",
"password": "optional"
}
```
- DEL `/services/mysql`
### Misc
- GET `/info`