UserStorageAdmin

Protocols

Protocol IDName
?UserStorageAdminProtocol

UserStorageAdminProtocol

Method IDSignature
1
func GetContentsToModerate(typeID: uint32, offset: uint32, size: uint32) -> (contents: qlist<[[UserContent]]((usercontent))>, totalResults: uint32)
2
func FlagContentAsVerified(contentKey: [[UserContentKey]]((usercontentkey))) -> ()
3
func BanContent(contentKey: [[UserContentKey]]((usercontentkey))) -> ()
4
func BanUser(pid: uint32, reason: string, banContents: bool, expireDate: datetime) -> ()
5
func BanUserFromContentType(typeID: uint32, pid: uint32, reason: string, banContents: bool, expireDate: datetime) -> ()
6
func UnbanUser(pid: uint32) -> ()
7
func UnbanUserFromContentType(typeID: uint32, pid: uint32) -> ()
8
func GetContentsToModerateWithThreshold(typeID: uint32, threshold: uint32, offset: uint32, size: uint32) -> (contents: qlist<[[UserContent]]((usercontent))>, totalResults: uint32)
9
func UpdateMetaData(contentKey: [[UserContentKey]]((usercontentkey)), properties: qlist<[[ContentProperty]]((contentproperty))>) -> ()
10
func UpdateContentDB(contentKey: [[UserContentKey]]((usercontentkey)), properties: qlist<[[ContentProperty]]((contentproperty))>, data: string) -> ()
11
func UpdateContentAndGetUploadInfo(contentKey: [[UserContentKey]]((usercontentkey)), properties: qlist<[[ContentProperty]]((contentproperty))>, size: uint32) -> (uploadInfo: [[UserContentURL]]((usercontenturl)), pendingID: uint64, headers: qvector<string>)
12
func DeleteContent(contentKey: [[UserContentKey]]((usercontentkey))) -> ()
13
func BrowseContents(typeID: uint32, offset: uint32, size: uint32) -> (contents: qlist<[[AdminContent]]((admincontent))>, totalResults: uint32)
14
func IsUserbanned(typeID: uint32, pid: uint32) -> (banned: bool, reason: string)
15
func GetBannedUsers(typeID: uint32, offset: uint32, size: uint32) -> (bannedUsers: qlist<[[BannedUser]]((banneduser))>, totalBannedUsers: uint32)