Overview
Instructions to use REST API TopClicked service.
...
Service Name
topclicked
Service URL
URL_SEARCH/INSTANCE_ID/topclicked?INPUT_PARAMETERS
...
The service will return a json node containing the most clicked articles in the day before.
Code Block | ||
---|---|---|
| ||
{ topclicked: { docs: [ { id: "ARTICLE_ID", name: "ARTICLE_NAME", url: "ARTICLE_URL", image: "IMAGE_NAME", *other_fields*: "FIELD_NAME"* }, ... ] } } |
*Depending on your product view. Here it is shown the common fields used.
...