Overview
The purpose of this guide is to provide the steps required to integrate search service via REST API and use the returned tagging urls for each event (query, click, add2cart, ...).
Service URL
EMPATHYBROKER_BASE_URL/search/v1/query/CLIENT_ID/search?URI_PARAMETERS
Note: remember to request your CLIENT_ID and proper EMPATHYBROKER_BASE_URL
URI Parameters
Parameter Name | Scope | Description | Type | Mandatory | Default Value |
---|---|---|---|---|---|
q | search | The query for the request | String | ||
lang | search & tagging | Set the language used on this request | String | ||
session | search & tagging | Set the session used on this request | String | ||
user | search & tagging | Set the user used on this request | String | ||
scope | search & tagging | Set the scope used on this request | String | ||
origin | tagging | Set the origin of the request (default, GA, partials, ...) | String | ||
start | search | The number of results to omit from the start of the result set (search pagination) | Integer | 0 | |
rows | search | Number of results to return (search pagination) | Integer | 10 | |
filter | search | Set query filters to apply | String | ||
facet | search | Set query facets to return | String | ||
sort | search | Sort results | String | ||
jsonCallback | search | Name of the callback that will be executed after the request | String | ||
suggestions | search | Number of results to include for each suggestion | String |
...