POST api/2.0/files/sharedlink/password
Sets a cookie after verifying the password for a password-protected external link and returns a link to the shared file.
Name |
Description |
Type |
Example |
key
sent in body
|
Link signature
|
string
|
some text
|
passwordHash
sent in body
|
Password hash
|
string
|
some text
|
isFolder
sent in body
|
Specifies if a link is to the shared folder or not
|
Bool value
|
true
|
POST api/2.0/files/sharedlink/password
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"key": "some text",
"passwordHash": "some text",
"isFolder": true
}