Is it possible to query for documents in SharePoint via Graph API?
The query should consider the document names or the complete document content (fulltext query).
I could not found any search request in the Graph API documentation: https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/resources/sharepoint
There is a search parameter, but this is not available for SharePoint documents: https://developer.microsoft.com/en-us/graph/docs/concepts/query_parameters
There is a filter parameter. But this parameter causes an error. https://graph.microsoft.com/beta/sites/mysite/lists/123456/items?$filter=startswith(FileLeafRef,'query')
What is the correct field for the document name?