Open pdcastro opened 4 years ago
I can't think of a way to do this currently. Maybe if the API exposed the set of supported features, we could reason about this properly.
Update: Oh, just like how you describe it in the openBalena issue See: https://github.com/balena-io/open-balena-api/issues/487
Expected Behavior
application.getDashboardUrl()
anddevice.getDashboardUrl
should returnundefined
if a dashboard does not exist in the environment, for example in openBalena.Actual Behavior
As reported in balena-io/balena-cli/issues/2055 :
The dashboard URL shown above is not valid, because openBalena does not have a dashboard.
A proposed solution is mentioned in issue balena-io/open-balena-api/issues/487
References