Below is my Payload to subscribe for the notification
payload = {
"changeType": "updated",
"notificationUrl": callback_url,
"resource": f"/drives/{drive_id}/root",
"expirationDateTime" : "2025-01-01T11:00:00.0000000Z",
"clientState" : "secretClientState",
}
where I am getting a subscription notification JSON data like below
response i have got from microsoft:
{'value': [{'subscriptionId': '45e04795-4682-48c0-802f-e1d1ff16894e', 'clientState': 'secretClientState', 'resource': '/drives/b!0YwZe3606kCadZWpmYWNVyVIiFxJQaZNkhf0tfxOCaLXmQ-TqFv-TLi_dRCj60mt/root', 'tenantId': 'dcba7061-faa5-4e07-85a4-a3f1dba56d9e', 'resourceData': {'@odata.type': '#Microsoft.Graph.DriveItem'}, 'subscriptionExpirationDateTime': '2024-01-01T11:00:00+00:00', 'changeType': 'updated'}]}
Here my question is I am not getting the details about which file got updated or changed when receiving notifications from a Microsoft Graph subscription.