GET /drives/{drive-id}/items/{item-id}/analytics
refrence: https://learn.microsoft.com/en-us/graph/api/itemanalytics-get?view=graph-rest-beta
On trying to call this endpoint, it is returning empty as response with 200 status code. As per documentation, it should have return something like
{
"allTime": {
"access": {
"actionCount": 123,
"actorCount": 89
}
},
"lastSevenDays": {
"access": {
"actionCount": 52,
"actorCount": 41
}
}
}
request-id: 67aa7bd8-6bd3-40c0-8f12-a1c4cabda4af
Try adding /lastSevenDays or /AllTime to it and it should return the data.
GET /drives/{drive-id}/items/{item-id}/analytics/lastSevenDays
GET /drives/{drive-id}/items/{item-id}/analytics/allTime
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With