Forum Discussion

lorna's avatar
lorna
Maven
11 years ago

Order featured threads (blog)

I am trying to understand the order of featured blog threads. I am using a category with 3 boards and would like to order the featured threads by featured date.

 

 

On the REST API pages it has:

threads / featured

Returns a list of the featured threads in this node. The threads are ordered by the date they were featured.

[/t5/REST-API/bd-p/developers-rest-api?leaf-id=Category.threads.featured#Category.threads.featured.nested]

 

And yet when I use that it appears to be completely random... I get some new features in the middle of the list - and they are not in board order either. So what am I doing wrong and how are they being ordered?!

 

I am using a call like this:

 

http//community etc/restapi/vc/categories/id/itt_plc/threads/featured?restapi.response_style=view

3 Replies

  • Hi lorna ,

     

    I have used the same REST call in my community and found it working correctly.  One thing you could try is narrowing it down by mentioning the style (like forum, blog , ideas etc) ?

         threads/style/[style] /featured

     

    Can you also check if those random threads are appearing from nested boards ?

    A sample of the response might help .

     

    Thanks,

    Sam

     

     

     

  • lorna's avatar
    lorna
    Maven
    11 years ago

    Hi samudhraa 

     

    Thanks for the response :smileyhappy:

     

    They are not nested - there are 3 boards within the category:

     

    ScreenShot055.jpg

     

    Using http://communityname.com/communityname/restapi/vc/categories/id/itt_plc/threads/style/blog/featured?restapi.response_style=view
     I get the response below (the one highlighted is the last one featured):

     

    ScreenShot052.jpg

     

    I thought maybe they were in board order first but the first and third are the same board and the second is a different one:

     

    ScreenShot055.jpg

  • PaoloT's avatar
    PaoloT
    Lithium Alumni (Retired)
    11 years ago

    Hi lorna 

     

    have you raised this with our support department? They should be able to clarify further around this.

     

    Many Thanks,