Getting All available SharePoint Site collection and sites from REST API


  • hi,

    I m working in JAVA. In my application I need to show all the available site collection, all available sites under site collections and their respective sub sites. Also any Document library exists in any site or subsite.

    As I m working in Java, I need to do it from REST API but I didn't find any REST API for getting site collection. Any help would be appreciated.

    Syed Shoaib Adil Senior SharePoint Developer Boston, Ma, USA

    Tuesday, June 28, 2016 1:06 AM

All replies

  • There are no direct REST Api at the tenant level to provide these details. You can write a web service with CSOM and use tenant administration APIs. Consume these web methods in your JAVA application.

    Rajesh| @rjesh
    You don't need to buy me a beer, if helpful just smile, vote, and mark it as answer.

    Tuesday, June 28, 2016 2:11 PM