get_endpoint_url#

lsst.verify.squash.get_endpoint_url(api_url, api_endpoint, **kwargs)#

Lookup SQUASH endpoint URL.

Parameters#

api_urlstr

Root URL of the SQUASH API. For example, 'https://squash.lsst.codes/dashboard/api/'.

api_endpointstr

Name of the SQUASH API endpoint. For example, 'job'.

**kwargsoptional

Additional keyword arguments passed to get.

Returns#

endpoint_urlstr

Full SQUASH endpoint URL.

Notes#

Endpoints are discovered from the SQUASH API itself. The SQUASH API is queried on the first call to get_endpoint_url. Subsequent calls use cached results for all endpoints. This cache can be reset with the reset_endpoint_cache function.