locked
Limit number of Items returned by REST API call RRS feed

  • Question

  • Hi all,

    I would like to limit the number of items returned by a REST call. I am using REST/jQuery to display a list in another Site Collection, but would only like to grab the top 5 items. I already have the $orderby=ID desc in my REST call. Would I also limit the results pulled via REST. If so, how?

    If not, how would I limit the results via jQuery? It seems more efficient if I could limit via REST, so that all the data is not brought over before consumption/presentation.

    Thanks,

    Kelly


    Personal Blog: http://thebitsthatbyte.com

    Tuesday, July 30, 2013 6:40 PM

Answers

All replies