OneDrive direct download URLs for files and file versions -


i putting question in 2 lines

does onedrive supports direct download urls files? urls returned onedrive same mobile , web ? onedrive returns file versions via rest api calls ?

read below more details.


i building standalone app uses various onedrive rest apis different operations, e.g. upload/download/update/browse document/folder. have following needs not able accomplish based on readings onedrive rest api support page https://msdn.microsoft.com/en-us/library/office/dn659752.aspx.

  1. direct download urls: want give user of app facility directly downloading file. know 'link' property of file object gives direct view url takes user onedrive account , there user can download file clicking download button. need link direct download of file (such link when typed in browser has authenticated onedrive session should directly prompt download box.)
  2. are direct view/download link different browser , mobile cients?
  3. versions: how version numbers files programmatically. not see version info in json objects returned via rest calls. [i have read in 1 of post versions not supported ]

https://msdn.microsoft.com/en-us/library/dn631834.aspx?f=255&mspperror=-2147217396 link shows json representation of file object.

  1. direct download url-
    see link download url getting blob data xhr request
    1. yes view/download different browser , mobile, see below access download box.

hope trying access file download folder!!
if you, can use url this-

file:///storage/sdcard0/download/file-name.mp4   

this worked me.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -