Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft Graph API, Folder resource type

As per the Microsoft document

https://learn.microsoft.com/en-us/graph/api/resources/folder?view=graph-rest-1.0 ,

this Folder resource type has properties childCount and view.

Does the childCount include both files and folders count or only files/folders count?

If it returns both Files and Folders Count, Is there any way that I get only the files count?

like image 345
Vinoth .R Avatar asked Feb 21 '26 02:02

Vinoth .R


1 Answers

childCount property on folder resource type includes both files and folders count.

childCount = foldersCount + filesCount
like image 76
user2250152 Avatar answered Feb 23 '26 15:02

user2250152