How can I get all the items of lists and document libraries within a specific SharePoint site collection using SharePoint Search REST API?

  • sitecollection/_api/search/…' This search show the all site but its don't show private site collection. Anyone Can brief how to get complete site collection with private site collection? – Dilip Mar 21 '17 at 10:30

You could go with this:


Replace "sitecollection" with your address (note that there are 2 places where this needs to be changed) and adjust rowlimit to how many results maximum you would like to get.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.