PUT api/2.0/files/folder/{folderId}/share
Sets the sharing settings to a folder with the ID specified in the request.
Name |
Description |
Type |
Example |
folderId
sent in url
|
Folder ID
|
`0
|
|
Share
sent in body
|
Collection of sharing parameters
|
System.Collections.Generic.IAsyncEnumIEnumerableerable{ASC.Files.Core.ApiModels.FileShareParams}
|
|
Notify
sent in body
|
Notifies users about the shared file or not
|
System.Boolean
|
|
SharingMessage
sent in body
|
Message to send when notifying about the shared file
|
System.String
|
|
PUT api/2.0/files/folder/{folderid}/share
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"Notify": true,
"SharingMessage": "some text"
}
List of shared folder information: sharing rights, a user who has the access to the specified folder, the folder is locked by this user or not, this user is an owner of the specified folder or not, this user can edit the access to the specified folder or not