mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-27 11:06:32 +00:00
Add mysql service to API (#1449)
This commit is contained in:
parent
745af3c039
commit
8ca8f59a0b
27
API.md
27
API.md
@ -752,6 +752,33 @@ return:
|
|||||||
|
|
||||||
- DEL `/services/mqtt`
|
- 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
|
### Misc
|
||||||
|
|
||||||
- GET `/info`
|
- GET `/info`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user