Download specific version of sharepoint file using graph api

Copper Contributor

I want to download specific version of file using below graph api.




As per MSDN documentation - driveitemversion Above api provides "@Pernille-Eskebo.graph.downloadUrl" property which is direct download link of the file/version.


but API is not returning above mentioned property in response JSON. below is response JSON. I want that @Pernille-Eskebo.graph.downloadUrl to be returned in JSON.


"content": { "@odata.type": "Edm.Stream" },
"id": "string",
"lastModifiedBy": { "@odata.type": "microsoft.graph.identitySet" },
"lastModifiedDateTime": "2016-01-01T15:20:01.125Z",
"size": 12356,}


0 Replies