Reset Password
Check your e-mail for further instructions.
Reset
Name
listshares
Auth
yes
Description
List current shares and share requests.
URL
https://api.pcloud.com/listshares
Optional
Parameter | Description |
norequests | int If set, share requests will not be returned |
noshares | int If set, established shares will not be returned |
noincoming | int If set, hide incoming sub-objects in the result |
nooutgoing | int If set, hide outgoing sub-objects in the result |
Output
Returns two objects shares and requests both with sub-objects incoming and outgoing.
Example
{ result: 0, shares: { incoming: [ ], outgoing: [ ] }, requests: { incoming: [ ], outgoing: [ { tomail: "pcloud@pcloud.com", cancreate: false, folderid: 21385, sharerequestid: ID, canread: true, expires: "Thu, 24 Oct 2013 10:41:29 +0000", canmodify: false, message: "The message", candelete: false, sharename: "My Share", created: "Thu, 03 Oct 2013 10:41:29 +0000" } ] } }
Code | Description |
1000 | Log in required. |
2000 | Log in failed. |
4000 | Too many login tries from this IP address. |