Hi Shubham Biswas,
Thanks for reaching out to Microsoft!
The Microsoft Graph REST API can deliver change notifications to clients through various endpoints, including webhooks, Event Hubs, and Event Grid. An app can subscribe to changes on the Microsoft Graph resources - Supported Graph Resources:
1.driveItem on OneDrive (personal)
Changes to content within the hierarchy of any folder: /users/{id}/drive/root
2.driveItem on OneDrive for work or school
Changes to content within the hierarchy of the root folder: /drives/{id}/root, /users/{id}/drive/root
3.List under a SharePoint site
Changes to content within the list: /sites/{site-id}/lists/{list-id}
For these resources, you can use the changeType
parameter to indicate the type of change in the subscribed resource that raises a change notification. The supported values are created, updated, deleted.
Note: Drive root item and list change notifications support only the updated changeType
.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.