Skip to content

User Storage Admin Protocol

Yannik Marchand edited this page Jan 27, 2021 · 1 revision

NEX Protocols > User Storage Admin

Method ID Method Name
1 GetContentsToModerate
2 FlagContentAsVerified
3 BanContent
4 BanUser
5 BanUserFromContentType
6 UnbanUser
7 UnbanUserFromContentType
8 GetContentsToModerateWithThreshold
9 UpdateMetaData

(1) GetContentsToModerate

Request

Type Name
Uint32 typeID
Uint32 offset
Uint32 size

Response

Type Name
List<UserContent> contents
Uint32 totalResults

(2) FlagContentAsVerified

Request

Type Name
UserContentKey contentKey

Response

This method does not return anything.

(3) BanContent

Request

Type Name
UserContentKey contentKey

Response

This method does not return anything.

(4) BanUser

Request

Type Name
Uint32 pid
String reason
Bool banContents
DateTime expireDate

Response

This method does not return anything.

(5) BanUserFromContentType

Request

Type Name
Uint32 typeID
Uint32 pid
String reason
Bool banContents
DateTime expireDate

Response

This method does not return anything.

(6) UnbanUser

Request

Type Name
Uint32 pid

Response

This method does not return anything.

(7) UnbanUserFromContentType

Request

Type Name
Uint32 typeID
Uint32 pid

Response

This method does not return anything.

(8) GetContentsToModerateWithThreshold

Request

Type Name
Uint32 typeID
Uint32 threshold
Uint32 offset
Uint32 size

Response

Type Name
List<UserContent> contents
Uint32 totalResults

(9) UpdateMetaData

Request

Type Name
UserContentKey contentKey
List<ContentProperty> properties

Response

This method does not return anything.

Clone this wiki locally