OptionalapiName 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.
OptionalconfigName 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.
OptionalversionVersion of the Spinque Query API deployment.
OptionalworkspaceName 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.
Send queries to the Spinque Query API using fetch.