none
Office 365 - REST and Client API calls for Shareable Links and Item Permissions? RRS feed

  • Question

  • Hi all,

    In developing a native application integrating Office 365, I'm in need of API calls to create (and retrieve) shareable links for uploaded documents in the same way that the Office 365 "Share" dropdown already provides. There don't seem to be any public APIs to support this (?); are they on the roadmap?

    Similarly, I'm interested to be able to set permissions on uploaded files programmatically. Is this planned for future API releases?

    Thanks in advance!

    Tuesday, September 22, 2015 8:43 PM

Answers

  • Hi ddsgt,

    >> I'm in need of API calls to create (and retrieve) shareable links for uploaded documents in the same way that the Office 365 "Share" dropdown already provides.
    >> I'm interested to be able to set permissions on uploaded files programmatically. Is this planned for future API releases?

    For your requirement, if you want to set the share property and permission in OneDrive with Rest api, I am afraid that it is impossible. With the Files Rest API reference, they are not supported.

    # Files REST API reference
    https://msdn.microsoft.com/en-us/office/office365/api/files-rest-operations

    If this is a feature you want to include in future versions of app for Office, please submit a feedback to Office Development Platform Uservoice.
    http://officespdev.uservoice.com

    Best Regards,

    Edward


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Friday, September 25, 2015 5:20 AM