如何使用REST API获取SharePoint的所有页面和子站点的列表

问题描述:

我想使用REST API从SharePoint租约(如xyz.sharepoint.com)中获取以下内容,

I want to fetch the following from a SharePoint tenancy(like xyz.sharepoint.com) using REST API, 

  1. 按租期获取所有网站,例如xyz.sharepoint.com/sites/foo, xyz.sharepoint.com/sites/bar,...
  2. 获取该网站中的所有页面.
  3. li>
  4. 获取站点中的所有子站点.

预先感谢.

1.我记得有一个用于获取站点列表的发现服务.

1. I remember there is a discover service for getting site list.

2.难以枚举.

3.