Get Specified Sort Order

Determines the sort order for returned topics

Details

This parameter control the information you get back when requesting the top topics in a stream. Two sets of topics are returned: top and total. The top section returns the topics with the highest count over the last minute (with single minute counts), whereas the total section returns all-time count.

Type: string
Default: count desc
Possible Values:
count desc
count asc
position desc
position asc

📘

position asc returns topics in the order they have been configured within Experiences. If matching configuration is important, we recommend using sort=position asc in conjunction with all_topics=1(below)

Language