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

Popular posts from this blog

c++11 - Intel compiler and "cannot have an in-class initializer" when using constexpr -

rest - Spring boot: Request method 'PUT' not supported -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -