Methods
(1) SearchContents
Request
| Type | Name |
|---|---|
| UserStorageQuery | query |
Response
| Type | Name |
|---|---|
| List<UserContent> | searchResults |
(2) SearchContentsWithTotal
Request
| Type | Name |
|---|---|
| UserStorageQuery | query |
Response
| Type | Name |
|---|---|
| List<UserContent> | searchResults |
| Uint32 | totalResults |
(3) DeleteContent
Request
| Type | Name |
|---|---|
| UserContentKey | contentKey |
Response
This method does not return anything.
(4) SaveMetaData
Request
| Type | Name |
|---|---|
| List<ContentProperty> | properties |
| UserContentKey | contentKey |
Response
| Type | Name |
|---|---|
| UserContentKey | contentKey |
(5) SaveContentDB
Request
| Type | Name |
|---|---|
| List<ContentProperty> | properties |
| Buffer | data |
| UserContentKey | contentKey |
Response
| Type | Name |
|---|---|
| UserContentKey | contentKey |
(6) SaveContentAndGetUploadInfo
Request
| Type | Name |
|---|---|
| List<ContentProperty> | properties |
| Uint32 | size |
| UserContentKey | contentKey |
Response
| Type | Name |
|---|---|
| UserContentURL | uploadInfo |
| Uint64 | pendingID |
| List<String> | headers |
(7) UploadEnd
Request
| Type | Name |
|---|---|
| Uint64 | pendingID |
| Bool | result |
| UserContentKey | contentKey |
Response
| Type | Name |
|---|---|
| UserContentKey | contentKey |
(8) GetContentDB
Request
| Type | Name |
|---|---|
| UserContentKey | contentKey |
Response
| Type | Name |
|---|---|
| Buffer | data |
(9) GetContentURL
Request
| Type | Name |
|---|---|
| UserContentKey | contentKey |
Response
| Type | Name |
|---|---|
| UserContentURL | downloadInfo |
(10) GetSlotCount
Request
| Type | Name |
|---|---|
| Uint32 | typeID |
Response
| Type | Name |
|---|---|
| UserSlotCount | slotCount |
(11) GetMetaData
Request
| Type | Name |
|---|---|
| UserContentKey | contentKey |
Response
| Type | Name |
|---|---|
| UserContent | content |
(12) Like
Request
| Type | Name |
|---|---|
| UserContentKey | contentKey |
Response
This method does not return anything.
(13) Unlike
Request
| Type | Name |
|---|---|
| UserContentKey | contentKey |
Response
This method does not return anything.
(14) IsLiked
Request
| Type | Name |
|---|---|
| UserContentKey | contentKey |
Response
| Type | Name |
|---|---|
| Bool | liked |
(15) GetFavourites
Request
| Type | Name |
|---|---|
| List<Uint32> | contentTypes |
Response
| Type | Name |
|---|---|
| List<UserContent> | favourites |
(16) MakeFavourite
Request
| Type | Name |
|---|---|
| UserContentKey | contentKey |
Response
This method does not return anything.
(17) RemoveFromFavourites
Request
| Type | Name |
|---|---|
| UserContentKey | contentKey |
Response
This method does not return anything.
(18) ReportInappropriate
Request
| Type | Name |
|---|---|
| UserContentKey | contentKey |
| String | reason |
Response
This method does not return anything.
(19) IncrementPlayCount
Request
| Type | Name |
|---|---|
| UserContentKey | contentKey |
Response
This method does not return anything.
(20) UpdateCustomStat
Request
| Type | Name |
|---|---|
| UserContentKey | contentKey |
| Uint16 | statID |
| Sint64 | incValue |
Response
This method does not return anything.
(21) GetOwnContents
Request
| Type | Name |
|---|---|
| Uint32 | typeID |
Response
| Type | Name |
|---|---|
| List<UserContent> | results |
(22) GetMostPopularTags
Request
| Type | Name |
|---|---|
| UserContentKey | contentKey |
Response
| Type | Name |
|---|---|
| List<WeightedTag> | tags |
| Uint32 | totalNumberOfTaggings |
(23) GetTags
Request
| Type | Name |
|---|---|
| UserContentKey | contentKey |
Response
| Type | Name |
|---|---|
| List<Uint32> | tagIds |
(24) TagContent
Request
| Type | Name |
|---|---|
| UserContentKey | contentKey |
| List<Uint32> | newTagIds |
Response
This method does not return anything.
(25) SearchContentsByPlayers
Request
| Type | Name |
|---|---|
| List<PID> | pids |
| UserStorageQuery | query |
Response
| Type | Name |
|---|---|
| List<UserContent> | searchResults |
(26) SearchContentsByPlayersWithTotal
Request
| Type | Name |
|---|---|
| List<PID> | pids |
| UserStorageQuery | query |
Response
| Type | Name |
|---|---|
| List<UserContent> | searchResults |
| Uint32 | totalResults |
Types
ContentProperty (Structure)
| Type | Name |
|---|---|
| Uint32 | m_ID |
| Variant | m_value |
UserContentKey (Structure)
| Type | Name |
|---|---|
| Uint32 | m_typeID |
| Uint64 | m_contentID |
UserContent (Structure)
| Type | Name |
|---|---|
| UserContentKey | m_key |
| PID | m_pid |
| List<ContentProperty> | m_properties |
UserStorageQuery (Structure)
| Type | Name |
|---|---|
| Uint32 | m_typeID |
| Uint32 | m_queryID |
| ResultRange | m_resultRange |
| List<ContentProperty> | m_parameters |
UserSlotCount (Structure)
| Type | Name |
|---|---|
| PID | m_pid |
| Uint32 | m_typeID |
| Uint32 | m_usedSlots |
| Uint32 | m_totalSlots |
UserContentURL (Structure)
WeightedTag (Structure)
| Type | Name |
|---|---|
| Uint32 | m_id |
| Uint32 | m_numberOfOccurences |