Hi, I would like to use the MSGraph API and the $select to limit my response a bit. For this the API provides the select() function.
graphApplicationClient.groups(pTeamId).drive().items(id).children().buildRequest().select("content.downloadUrl,createdDateTime,id,name,size,file").get().getRawObject();
Now the JsonObject "file" is in the response. This consists of two inner JsonObjects namely "mimeType" and "hashes".
"file":{"mimeType": "application/zip", "hashes":{"quickXorHash": "xyzabcdefg="}}
Is there a way to select inner Json objects with the select() so that I don't get the whole file object back, but only the inner e.g. mimeType?
Like this:
graphApplicationClient.groups(pTeamId).drive().items(id).children().buildRequest().select("content.downloadUrl,createdDateTime,id,name,size,**file/mimeType**").get().getRawObject();
Greetings