pcloud: implement PublicLink

This commit is contained in:
buengese
2020-06-19 18:09:48 +02:00
committed by buengese
parent e780cda1d4
commit ce767bc3cf
2 changed files with 64 additions and 0 deletions

View File

@@ -152,6 +152,14 @@ type ChecksumFileResult struct {
Metadata Item `json:"metadata"`
}
// PubLinkResult is returned from /getfilepublink and /getfolderpublink
type PubLinkResult struct {
Error
LinkID int `json:"linkid"`
Link string `json:"link"`
LinkCode string `json:"code"`
}
// UserInfo is returned from /userinfo
type UserInfo struct {
Error