Skip to content

New command: list subsites of the specified site #187

@waldekmastykarz

Description

@waldekmastykarz

List subsites of the specified site.

  • command: spo web list -u|--webUrl <webUrl>
  • webUrl: URL of the parent site for which to retrieve the list of subsites

Retrieve webs using GET <webUrl>/_api/web/webs
In text output mode, for each subsite display Id, Title and URL. In JSON output mode, include all properties. Take into account possible limitation of how many webs can be retrieved in a single request and ensure you get all of them. Ensure you have access token for the web specified in the webUrl option.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions