Hi @Ayase Morita ,Per my test, I am unable to get tiff, tif, jpg, jpeg files by the search api. After doing some research, I didn't find any offical document about search api support file types. I only find some similar issues with yours for reference:
As a workaround, you could use the api mentioned in the similar issue to get the files. And I would recomment you to use the following api to search the items
Post https://graph.microsoft.com/v1.0/search/query
{
"requests": [
{
"entityTypes": ["driveItem"],
"query": {
"queryString": "filename path:\"https://tenant.sharepoint.com/sites/sitename/Shared Documents\""
}
}
]
}
And here is the test result. I could get tiff, tif, jpg, jpeg files by the api
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.