Search REST API: TopClicked

Overview

Instructions to use REST API TopClicked service.

Step-by-step guide

Service Name

topclicked

Service URL

URL_SEARCH/INSTANCE_ID/topclicked?INPUT_PARAMETERS

Input Parameters

ParameterDescriptionData TypeMandatory
langSet the language of the queryStringYes

*If additional params are required, please contact us


Output

Topclicked results

The service will return a json node containing the most clicked articles in the day before.


{ 
	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.