Requirement - Need to access a particular File within a Document Library
File Path - host-name/sites/sitename/Shared Documents/Folder1/File1
I tried with these
https://graph.microsoft.com/v1.0/sites/{host-name}/sites/{site-id}:/drives
- Got all the Document Library in that site
https://graph.microsoft.com/v1.0/sites/{host-name}/sites/{site-id}:/drives/{drive-id}/root/children
Tried with the above getting error, Bad request.
I am new to MS Graph, Not sure where I am going wrong. Any help will be highly appreciated.