Add /resolution endpoint (#681)

* Add unsupported reason

* Add to example

* Add resolution endpoint
This commit is contained in:
Joakim Sørensen 2020-10-13 12:57:48 +02:00 committed by GitHub
parent c67f2bdef7
commit 7253f7ad6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1498,6 +1498,25 @@ Returns a dict with selected keys from other `/*/info` endpoints.
</details>
<details>
<summary className="endpoint get protected">/resolution</summary>
**Returned data:**
| key | type | description |
| -------- | ---------- | ------------------------------------------------ |
| unsupported | list | A list of reasons why a installation is marked as unsupported (container, dbus, docker_configuration, docker_version, lxc, network_manager, os, privileged, systemd) |
**Example response:**
```json
{
"unsupported": ["os"]
}
```
</details>
### Multicast
<details>