Forum Discussion
sarawin kumar k
May 08, 2019Copper Contributor
Issues in getting attachments from SharePoint list/library using Graph api
Hi All,
I unable to get the actual attachement from the SharePoint list/library using the Microsoft graph api,
I am only getting the response as " Attachement: True" in the response.Please let me know is there any way to get the attachments from SharePoint.
Do you called the graph api endpoint that ends with /content?.
For example:
GET /groups/{group-id}/drive/items/{item-id}/content
Refer below thread to know more details about how to download SharePoint file.
https://docs.microsoft.com/en-us/graph/api/driveitem-get-content?view=graph-rest-1.0&tabs=cs
- Kevin_MorganIron Contributor
Do you called the graph api endpoint that ends with /content?.
For example:
GET /groups/{group-id}/drive/items/{item-id}/content
Refer below thread to know more details about how to download SharePoint file.
https://docs.microsoft.com/en-us/graph/api/driveitem-get-content?view=graph-rest-1.0&tabs=cs