1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 20:35:55 +00:00

Update data handling of addons (#44)

* Update data handling of addons

* Update addons api

* Update data.py

* Update data.py

* Add url fix bug
This commit is contained in:
Pascal Vizeli
2017-05-12 16:14:49 +02:00
committed by GitHub
parent 2e0c540c63
commit 0955bafebd
6 changed files with 43 additions and 34 deletions

9
API.md
View File

@@ -43,7 +43,9 @@ The addons from `addons` are only installed one.
"repository": "12345678|null",
"version": "LAST_VERSION",
"installed": "INSTALL_VERSION",
"detached": "bool"
"detached": "bool",
"build": "bool",
"url": "null|url"
}
],
"addons_repositories": [
@@ -67,7 +69,9 @@ Get all available addons
"repository": "core|local|REP_ID",
"version": "LAST_VERSION",
"installed": "none|INSTALL_VERSION",
"detached": "bool"
"detached": "bool",
"build": "bool",
"url": "null|url"
}
],
"repositories": [
@@ -224,6 +228,7 @@ Output the raw docker log
"last_version": "LAST_VERSION",
"state": "started|stopped",
"boot": "auto|manual",
"build": "bool",
"options": {},
}
```