User Data
GetUserAllData
Purpose
Retrieves all user data based on the provided user ID.
URL
Method
GET
orPOST
Request Parameters (JSON body)
userID
(string): The unique identifier of the user.
Responses
200 OK: Successful retrieval. Returns a
GetAllUserDataResult
object with user data.400 Bad Request: If there is an error in retrieving the data.
Example Usage
Request:
Response:
GetUserInventory
Purpose
Retrieves the inventory of a user.
URL
Method
GET
orPOST
Request Parameters (JSON body)
userID
(string): The unique identifier of the user.
Responses
200 OK: Successful retrieval. Returns a
GetUserInventoryResult
object with inventory data.400 Bad Request: If there is an error in retrieving the inventory.
Example Usage
Request:
Response:
UpdateCustomUserData
Purpose
Updates custom user data with the provided key-value pair.
URL
Method
POST
Request Parameters (JSON body)
key
(string): Key of the custom user data to update.value
(string): New value for the custom user data.
Responses
200 OK: Successful update. Returns a success message.
400 Bad Request: If there is an error in the update request.
Example Usage
Request:
Response:
DeleteTitlePlayerAccount
Purpose
Deletes the account of a player in a specific title.
URL
Method
POST
Request Parameters (JSON body)
userID
(string): The unique identifier of the user.
Responses
200 OK: Successful deletion. Returns a success message.
400 Bad Request: If there is an error in the deletion request.
Example Usage
Request:
Response:
UpdateLeaderBoard
Purpose
Updates the leaderboard score for a user.
URL
Method
POST
Request Parameters (JSON body)
userID
(string): The unique identifier of the user.amount
(int, optional): The amount to update the leaderboard score by. Default is 1.
Responses
200 OK: Successful update. Returns a success message.
400 Bad Request: If there is an error in the update request.
Example Usage
Request:
Response:
GetCatalogItems
Purpose
Retrieves the catalog items for a specific catalog version.
URL
Method
GET
orPOST
Request Parameters (JSON body)
catalogVersion
(string): The version of the catalog to retrieve items from.
Responses
200 OK: Successful retrieval. Returns a list of catalog items.
400 Bad Request: If there is an error in retrieving the catalog items.
Example Usage
Request:
Response:
GetLeaderboard
Purpose
Retrieves the leaderboard data for a specific leaderboard ID.
URL
Method
GET
orPOST
Request Parameters (JSON body)
leaderboardID
(string): The ID of the leaderboard to retrieve data from.
Responses
200 OK: Successful retrieval. Returns leaderboard data.
400 Bad Request: If there is an error in retrieving the leaderboard data.
Example Usage
Request:
Response:
GetServerTime
Purpose
Retrieves the current server time.
URL
Method
GET
Responses
200 OK: Successful retrieval. Returns the current server time.
Example Usage
Request:
Response:
Last updated
Was this helpful?