How can I extract most viewed and most voted content within a specific folder?

The web service to be used in order to extract most viewed and most voted content within a specific category is the findByProperties which is included in the content package of xcontents. In the body of the request you can paste the following JSON, filling required parameters:

{
    "client": {
        "clientId": ""
    },
    "linkedCategories": [
        ""
    ],
    "orderBy": "",
    "offset": 0,
    "numberOfresults": 50
}
  • clientId: it is the domain name used to access your THRON, usually your company name.
  • linkedCategories: here you will have to include the ID of the category for which you want to extract the information.
  • orderBy: through this parameter you will be able to set your search criteria, specifically you will have to set
    • "viewCounter_A" or "viewCounter_D" for the most viewed content (A/D=Ascending/Descending)
    • "ratingCounter_A" or "ratingCounter_D" for the most voted content (A/D=Ascending/Descending)
Was this article helpful?
0 out of 0 found this helpful

Have any question?

Open a ticket
Comments