API URL

apiUrl

This option contains the Hawksearch API host URL to which search requests are send.

Options

  • default value is 'https://searchapi-dev.hawksearch.net'

‘searchapi-test.hawksearch’

const config = { ... apiUrl: 'https://searchapi-test.hawksearch.net', ... }; var widget = HawksearchVue.createWidget(component, { config: config}); HawksearchVue.initialSearch(widget);

‘searchapi.hawksearch’

const config = { ... apiUrl: 'https://searchapi.hawksearch', ... }; var widget = HawksearchVue.createWidget(component, { config: config}); HawksearchVue.initialSearch(widget);

Usage

Check this articles for more information about the Dashboard API Documentation and apiUrl:

 

Â