PUT api/2.0/files/{fileId}/sharedlinkAsync
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
|
`0
|
|
Share
sent in body
|
Sharing rights
|
ASC.Files.Core.Security.FileShare
|
|
PUT api/2.0/files/{fileid}/sharedlinkasync
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"Share": "ReadWrite"
}