Private Optional _authenticationPrivate Optional _authenticatorPrivate _isOptional apiName of the API that is provided by the workspace. The Spinque Desk administrator working on your project knowns this value.
URL to the Spinque Query API deployment.
https://rest.spinque.com/
Optional configName of the configuration of the Spinque workspace that should be used. Usually, this is something like 'production', 'development' or 'default'. The Spinque Desk administrator working on your project knowns this value.
default
Optional versionVersion of the Spinque Query API deployment.
4
Optional workspaceName of the Spinque workspace that should be addressed. The Spinque Desk administrator working on your project knowns this value.
Getter for authentication configuration
Fetch a Query (or array of Queries). Takes optional RequestOptions and RequestType into account.
Optionally the fetch RequestInit can be passed (see https://developer.mozilla.org/en-US/docs/Web/API/RequestInit).
Fetch a url directly, circumventing all Api configuration except authentication. Useful when wanting to tap into @spinque/query-api's authentication service while also wanting to construct your own URLs. This function does not check whether the provided URL is a valid request to Spinque, take caution.
Private handleHandle the response of a fetch to Spinque Query API.
Generated using TypeDoc
Send queries to the Spinque Query API using fetch.