From ae713239bfc33fd18f3f62b53654ea24c6bd9b65 Mon Sep 17 00:00:00 2001 From: Martin Hjelmare Date: Tue, 2 Aug 2022 18:59:13 +0200 Subject: [PATCH] Fix store addons addon api response (#1422) --- docs/api/supervisor/endpoints.md | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/docs/api/supervisor/endpoints.md b/docs/api/supervisor/endpoints.md index d0f36393..28ac902d 100644 --- a/docs/api/supervisor/endpoints.md +++ b/docs/api/supervisor/endpoints.md @@ -286,11 +286,11 @@ To reset customized network/audio/options, set it `null`. Run a configuration validation against the current stored add-on configuration or payload. - + **Payload:** Optional the raw add-on options. - + **Returned data:** | key | type | description | @@ -1332,7 +1332,7 @@ Return information about the host. | apparmor_version | string or null | The AppArmor version from host | | boot_timestamp | int | The timestamp for the last boot in microseconds | | broadcast_llmnr | bool or null | Host is broadcasting its LLMNR hostname | -| broadcast_mdns | bool or null | Host is broadcasting its MulticastDNS hostname | +| broadcast_mdns | bool or null | Host is broadcasting its MulticastDNS hostname | | chassis | string or null | The chassis type | | cpe | string or null | The local CPE | | deployment | string or null | The deployment stage of the OS if any | @@ -1923,7 +1923,7 @@ Returns possible targets for the new data partition. ``` - + Move datadisk to a new location, **This will also reboot the device!** @@ -2222,30 +2222,38 @@ Returns information about a store add-on ```json { - "apparmor": false, + "advanced": false, + "apparmor": "default", "arch": ["armhf", "aarch64", "i386", "amd64"], "auth_api": true, + "available": true, + "build": false, "description": "Awesome description", "detached": false, "docker_api": false, + "documentation": true, "full_access": true, "hassio_api": false, "hassio_role": "manager", "homeassistant_api": true, + "homeassistant": "2021.2.0b0", "host_network": false, "host_pid": false, "icon": false, "ingress": true, - "installed": "1.0.0", + "installed": false, "logo": true, "long_description": "lorem ipsum", "name": "Awesome add-on", "rating": 5, - "repository": "https://example.com/addons", - "signed": false + "repository": "core", + "signed": false, "slug": "7kshd7_awesome", - "state": "started", - "version": "1.0.0", + "stage": "stable", + "update_available": false, + "url": "https://example.com/addons/tree/main/awesome_addon", + "version_latest": "1.0.0", + "version": "1.0.0" } ```