Lists all webhooks for the specified list
Command: spo list webhook list [options]
Options:
-u|--webUrl | URL of the site where the list to retrieve the webhook info for is located
-i|--id | ID of the list to retrieve information for. Specify either id or title but not both
-t|--title | Title of the list to retrieve information for. Specify either id or title but not both
Usage:
spo list webhook list --webUrl https://contoso.sharepoint.com/sites/ninja --title Documents
For each webhook the following fields should be shown:
- id
- clientState (can be null)
- expirationDateTime
- notificationUrl
- resource
If output is set to JSON include all properties
Behaviour should be similar to the PowerShell command: Get-PnPWebhookSubscriptions
Lists all webhooks for the specified list
Command: spo list webhook list [options]
Options:
-u|--webUrl | URL of the site where the list to retrieve the webhook info for is located
-i|--id | ID of the list to retrieve information for. Specify either id or title but not both
-t|--title | Title of the list to retrieve information for. Specify either id or title but not both
Usage:
For each webhook the following fields should be shown:
If output is set to JSON include all properties
Behaviour should be similar to the PowerShell command: Get-PnPWebhookSubscriptions