Mixin: QueryUrlHelperMixin

net~ QueryUrlHelperMixin

A mixin class that adds SolarQuery specific support to module:net~UrlHelper.

Methods


baseUrl()

Get the base URL to the SolarQuery v1 REST API.

The returned URL uses the configured environment to resolve the hostUrl, the solarQueryPath context path, and the publicQuery boolean flag. If the context path is not available, it will default to /solarquery.

Returns:

the base URL to SolarQuery

Type
string