Skip to content

Supervisor API

Compare
Choose a tag to compare
@qJake qJake released this 31 Jan 21:12
· 8 commits to master since this release
cad2b5a

Additions

Adds three endpoints for retrieving Supervisor info. Use the new InfoClient for retrieving this new data.

  • HA Core Info
  • Host Info
  • Supervisor/Addon Info

Note: If these calls are made on a non-Supervisor installation, a SupervisorNotFoundException will be thrown.

Thanks @imalkevich!

🚩Breaking Change

Previously, invalid HTTP responses would throw a generic Exception.

Since v1.5.0, a new, custom HttpResponseException is thrown containing info about the HTTP request and response that failed.