-
Notifications
You must be signed in to change notification settings - Fork 654
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from home-assistant/dev
Release 0.19
- Loading branch information
Showing
22 changed files
with
319 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,8 @@ On success | |
|
||
- GET `/supervisor/info` | ||
|
||
The addons from `addons` are only installed one. | ||
|
||
```json | ||
{ | ||
"version": "INSTALL_VERSION", | ||
|
@@ -35,9 +37,9 @@ On success | |
{ | ||
"name": "xy bla", | ||
"slug": "xy", | ||
"version": "LAST_VERSION", | ||
"installed": "none|INSTALL_VERSION", | ||
"dedicated": "bool", | ||
"version": "INSTALL_VERSION", | ||
"last_version": "VERSION_FOR_UPDATE", | ||
"detached": "bool", | ||
"description": "description" | ||
} | ||
], | ||
|
@@ -47,6 +49,34 @@ On success | |
} | ||
``` | ||
|
||
- GET `/supervisor/addons` | ||
|
||
Get all available addons | ||
|
||
```json | ||
{ | ||
"addons": [ | ||
{ | ||
"name": "xy bla", | ||
"slug": "xy", | ||
"repository": "12345678|null", | ||
"version": "LAST_VERSION", | ||
"installed": "none|INSTALL_VERSION", | ||
"detached": "bool", | ||
"description": "description" | ||
} | ||
], | ||
"repositories": [ | ||
{ | ||
"slug": "12345678", | ||
"name": "Repitory Name", | ||
"url": "WEBSITE", | ||
"maintainer": "BLA BLU <[email protected]>" | ||
} | ||
] | ||
} | ||
``` | ||
|
||
- POST `/supervisor/update` | ||
Optional: | ||
```json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.