v1

latestOpenAPI 3.0.12026-07-2621384215.3 KB
CommentStats
internal

Get Trending Container Recommendations

Lists trending containers based on criteria defined in the params below with recommendations.

get/v4/livecomments/{section_uuid}/trendingrecommended

Path parameters

section_uuidstring uuid required

The section identifying where the call is relative to

Query parameters

limitinteger required

Number limiting how many items are returned

content_container_window_daysinteger

Limit the age of returned content containers in days. For example, this can be used to only return trending content on content containers published in the last 7 days. If omitted, all content containers will be considered.

content_window_hoursinteger required

Limit the age of returned content in hours. This acts as a window of time to search for trends based on the sorted_by argument.

sorted_by'total_visible_contents' required

Criteria for searching content in the trending search window.

date_timestring

start_date after which the article were published

Headers

X-UNIQUE-IDstring required

X-UNIQUE-ID is a mandatory header that must contain a unique id

Originstring required

Domain the request originates from

Response

OK

sorted_bystring
source'livecomments' | 'recommender'

source of data