Forum Discussion

jordanepotter's avatar
11 years ago

Threads that are not featured rest

On our catagory page, we have two lists. The top one is a list of the articles that are featured. The one below that is a list of the most recent articles. Often these over lap, so we want to take the featured articles out of the recent list. Is there a rest call that can get me the recent articles that are not featured?

  • PaoloT's avatar
    PaoloT
    Lithium Alumni (Retired)

    Hi Jordane,

     

    I am not aware of a REST call that would allow you to do this directly. However in this case what you could do is to compose the two calls (we have one to get recent threads and another to get the featured threads) in an Endpoint, and then wire up (in the Endpoint as well) appropriate logic, working on those two sets of topics and returning only the ones that you want (i.e. discarding the featured ones)

     

    Hope that helps,