Path: / rs / product / {dsName} / {shopGUID}

Creates or replaces a search index

Path parameters:
shopGUID - is the GUID identifier of a shop.
dsName - is the datasource name (i.e. epages6 Storename).

Resources
NameDescription
deleteDeletes contents of a search index
searchPerforms a search on the index (this POST call is idempotent) Uses an idempotent POST call as suggested in the RESTful Web Services Cookbook.
suggestsearch suggestions
updateUpdates contents of a search index

Method Summary
ResourceDescription
POST /rs/product/{dsName}/{shopGUID}Creates or replaces a search index
DELETE /rs/product/{dsName}/{shopGUID}Drops a search index

Method Detail
HTTP Example:
POST /rs/product/{dsName}/{shopGUID}

API Example:

IndexResource.createIndex({'shopGUID': /* shopGUID is the GUID identifier of a shop. */,
  'dsName': /* dsName is the datasource name (i.e. */,
  '$entity': /* entity contains additional index information, e.g. */});

Creates or replaces a search index

Input:
UpdateSearch - contains additional index information, e.g. replication token.
Output:
Task - the scheduled task.
Produces:
application/json
application/xml
Consumes:
application/json
application/xml
HTTP return codes:
202 - If task has been accepted.
500 - If an error occurred.
HTTP Example:
DELETE /rs/product/{dsName}/{shopGUID}

API Example:

IndexResource.dropIndex({'shopGUID': /* shopGUID GUID identifier of shop */,
  'dsName': /* dsName is the datasource name. */});

Drops a search index

Output:
Task - the scheduled task.
Produces:
application/json
application/xml
Consumes:
application/json
application/xml
HTTP return codes:
202 - If task has been accepted.
500 - If an error occurred.