StorageAndHookAPIOptions

Interface An object containing configuration options for the Storage & Hook API client.

Propertiesโ€‹

NameTypeDescription
apiKeystringThe API key to be used for authentication.
cloudServiceRegion?"AUTO" | "EU" | "US"The cloud service region to use - "AUTO" for latency-based
automatic routing (default), "EU" for Europe and "US" for
the United States. Has no effect if endpoint is also set.
endpoint?stringThe URL of the API endpoint to call. Optional
if cloudServiceRegion is also set. Overrides
cloudServiceRegion if both properties are set.
retryCount?numberHow many times the request should be retried in case of a 5XX response
status code. Default: 3.

Source: storage-and-hook/options.ts:4