Home docs nex protocols User Storage (53)
Post

User Storage (53)

Methods

(1) SearchContents

Request

TypeName
UserStorageQueryquery

Response

TypeName
List<UserContent>searchResults

(2) SearchContentsWithTotal

Request

TypeName
UserStorageQueryquery

Response

TypeName
List<UserContent>searchResults
Uint32totalResults

(3) DeleteContent

Request

TypeName
UserContentKeycontentKey

Response

This method does not return anything.

(4) SaveMetaData

Request

TypeName
List<ContentProperty>properties
UserContentKeycontentKey

Response

TypeName
UserContentKeycontentKey

(5) SaveContentDB

Request

TypeName
List<ContentProperty>properties
Bufferdata
UserContentKeycontentKey

Response

TypeName
UserContentKeycontentKey

(6) SaveContentAndGetUploadInfo

Request

TypeName
List<ContentProperty>properties
Uint32size
UserContentKeycontentKey

Response

TypeName
UserContentURLuploadInfo
Uint64pendingID
List<String>headers

(7) UploadEnd

Request

TypeName
Uint64pendingID
Boolresult
UserContentKeycontentKey

Response

TypeName
UserContentKeycontentKey

(8) GetContentDB

Request

TypeName
UserContentKeycontentKey

Response

TypeName
Bufferdata

(9) GetContentURL

Request

TypeName
UserContentKeycontentKey

Response

TypeName
UserContentURLdownloadInfo

(10) GetSlotCount

Request

TypeName
Uint32typeID

Response

TypeName
UserSlotCountslotCount

(11) GetMetaData

Request

TypeName
UserContentKeycontentKey

Response

TypeName
UserContentcontent

(12) Like

Request

TypeName
UserContentKeycontentKey

Response

This method does not return anything.

(13) Unlike

Request

TypeName
UserContentKeycontentKey

Response

This method does not return anything.

(14) IsLiked

Request

TypeName
UserContentKeycontentKey

Response

TypeName
Boolliked

(15) GetFavourites

Request

TypeName
List<Uint32>contentTypes

Response

TypeName
List<UserContent>favourites

(16) MakeFavourite

Request

TypeName
UserContentKeycontentKey

Response

This method does not return anything.

(17) RemoveFromFavourites

Request

TypeName
UserContentKeycontentKey

Response

This method does not return anything.

(18) ReportInappropriate

Request

TypeName
UserContentKeycontentKey
Stringreason

Response

This method does not return anything.

(19) IncrementPlayCount

Request

TypeName
UserContentKeycontentKey

Response

This method does not return anything.

(20) UpdateCustomStat

Request

TypeName
UserContentKeycontentKey
Uint16statID
Sint64incValue

Response

This method does not return anything.

(21) GetOwnContents

Request

TypeName
Uint32typeID

Response

TypeName
List<UserContent>results

(22) GetMostPopularTags

Request

TypeName
UserContentKeycontentKey

Response

TypeName
List<WeightedTag>tags
Uint32totalNumberOfTaggings

(23) GetTags

Request

TypeName
UserContentKeycontentKey

Response

TypeName
List<Uint32>tagIds

(24) TagContent

Request

TypeName
UserContentKeycontentKey
List<Uint32>newTagIds

Response

This method does not return anything.

(25) SearchContentsByPlayers

Request

TypeName
List<Uint32>pids
UserStorageQueryquery

Response

TypeName
List<UserContent>searchResults

(26) SearchContentsByPlayersWithTotal

Request

TypeName
List<Uint32>pids
UserStorageQueryquery

Response

TypeName
List<UserContent>searchResults
Uint32totalResults

Types

ContentProperty (Structure)

TypeName
Uint32m_ID
Variantm_value

UserContentKey (Structure)

TypeName
Uint32m_typeID
Uint64m_contentID

UserContent (Structure)

TypeName
UserContentKeym_key
Uint32m_pid
List<ContentProperty>m_properties

UserStorageQuery (Structure)

TypeName
Uint32m_typeID
Uint32m_queryID
ResultRangem_resultRange
List<ContentProperty>m_parameters

UserSlotCount (Structure)

TypeName
Uint32m_pid
Uint32m_typeID
Uint32m_usedSlots
Uint32m_totalSlots

UserContentURL (Structure)

TypeName
Stringm_protocol
Stringm_host
Stringm_path

WeightedTag (Structure)

TypeName
Uint32m_id
Uint32m_numberOfOccurences
Contents