I am trying to get all subsites from a parent web using REST API. I tried following query which shows "The page cannot be found".
Suppose, your site url is like this:
Then in order to get sus site under projects site use:
Suppose you have site under projects named "Project1" and you want to find subsite under it, then use:
The following REST endpoint
will return the collection of sub webs (
WebInfo objects) under root web
The following REST query demonstrates how to find all webs under the specified path: