Returns a new unsaved link object to the file with the ID specified in the request.
Name | Description | Type | Example |
fileId
sent in url
|
File ID | string | some text |
isFolder
sent in url
|
Specifies if a link is to the shared folder or not | Bool value | true |
GET api/2.0/files/{fileid}/sharedlink/template Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "fileId": "some text", "isFolder": true }
Shared link template