Find Rest url to retrieve the list of Site Collections in Sharepoint 2013 -
1) go sharepoint 2013 site , click on admin 2) click on sharepoint
you notice list of site collections default.
i searching rest endpoint url retrieve list of site collection names.
the closest https://-admin.sharepoint.com/_api/site.
please help.
you can use search api on root site:
_api/search/query?querytext='contentclass:sts_site'&selectproperties='siteid, path, title'&trimduplicates=true
parsing xml in result not simple, possible.
Comments
Post a Comment