Send queries to the Spinque Query API using fetch.

Hierarchy

  • Api

Constructors

Properties

_authentication?: ApiAuthenticationConfig
_authenticator?: Authenticator
api?: string

Name of the API that is provided by the workspace. The Spinque Desk administrator working on your project knowns this value.

baseUrl: string = DEFAULT_BASE_URL

URL to the Spinque Query API deployment.

Default

https://rest.spinque.com/
config?: string = 'default'

Name 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

default
version?: string = '4'

Version of the Spinque Query API deployment.

Default

4
workspace?: string

Name of the Spinque workspace that should be addressed. The Spinque Desk administrator working on your project knowns this value.

Accessors

  • get accessToken(): undefined | string
  • Returns undefined | string

Methods

Generated using TypeDoc