Interface ApiConfig

Configuration of an API to send queries to. Used to instantiate the Api class.

Hierarchy

  • ApiConfig

Properties

api?: string

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

authentication?: ApiAuthenticationConfig

Authentication that should be used when querying the API.

baseUrl?: string

URL to the Spinque Query API deployment.

Default

https://rest.spinque.com/
config?: string

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

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.

Generated using TypeDoc