Returns an external link to the shared file with the ID specified in the request.
Name | Description | Type | Example |
fileId
sent in url
|
File ID | string | some text |
share
sent in body
|
Sharing rights | None, ReadWrite, Read, Restrict, Varies, Review, Comment, FillForms, CustomFilter, | true |
PUT api/2.0/files/%22some+text%22/sharedlink Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "share": true }
Shared file link