net~ QueryUrlHelperMixin

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

Members

publicQuery :boolean

Flag to set the publicQuery environment parameter.

Type:
  • boolean

Methods

baseUrl() → {string}

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