POST ./fisiere/share

Need subscription flag (share file in chat): FLAG_GROUPS_CHAT_FILES

It is used to share a file/directory.

The recipient format can be retreived from here: Format destintar

POST parameters

NameValue TypeValidationDetails
fsIDintRequiredFile/directory ID.
fssDestinatar[]stringRrequiredThe recipient of the share.
fssMessagefileRrequiredShare message.
fssModeintOptionalUsed to share to groups so that no notification appears on each file that is shared with a group.

Validation

Error FieldError CodeError Message
fsID101Invalid fsID or access denied.
fsID103File/directory can not be shared. File has share parent/child.
fssDestinatar[]102Invalid recipient.

Output example

{
"result": true
}