Reset Password
Check your e-mail for further instructions.
Reset
This method can't be used from web applications. Referrer is restricted to pcloud.com.
Name
getpubvideolinks
Auth
no
Description
Returns variants array of different quality/resolution versions of a video in a public link.
Same as getvideolinks, but works on public file identified by code (and fileid if link is to a folder).
The code could be obtained from:
URL
https://api.pcloud.com/getpubvideolinks
Required
| Parameter | Description |
| code | string either 'code' or 'shortcode' |
Optional
| Parameter | Description |
| fileid | int id of the file, if the public link is to a folder |
| forcedownload | int Download with Content-Type = application/octet-stream |
| contenttype | string Set Content-Type |
| maxspeed | int limit the download speed |
| skipfilename | bool include the name of the file in the generated link |
| Code | Description |
| 1000 | Log in required. |
| 1005 | Unknown content-type requested. |
| 1028 | Please provide link 'code'. |
| 1029 | Please provide 'fileid'. |
| 2000 | Log in failed. |
| 2009 | File not found. |
| 2044 | Video links can only be generated for videos. |
| 4000 | Too many login tries from this IP address. |
| 5002 | Internal error, no servers available. Try again later. |
| 7001 | Invalid link 'code'. |
| 7002 | This link is deleted by the owner. |
| 7004 | This link has expired. |
| 7005 | This link has reached its traffic limit. |
| 7006 | This link has reached maximum downloads. |