cozy-client / models / sharing
Namespace: sharing¶
models.sharing
Functions¶
makeSharingLink¶
▸ makeSharingLink(client
, filesIds
, options?
): Promise
<string
>
Generate Sharing link for one or many files
Parameters
Name | Type | Description |
---|---|---|
client |
CozyClient |
Instance of CozyClient |
filesIds |
string [] |
Array of io.cozy.files ids |
options |
Object |
Options |
options.password |
string |
- |
options.ttl |
string |
- |
options.verbs |
string [] |
- |
Returns
Promise
<string
>
Shared link
Defined in