跳转到主要内容
POST
Get User Data

授权

X-SecretKey
string
header
必填

This API requires a title secret key, available to title admins, from PlayFab Game Manager.

请求体

application/json

Data is stored as JSON key-value pairs. If the Keys parameter is provided, the data object returned will only contain the data specific to the indicated Keys. Otherwise, the full set of custom user data will be returned.

Data is stored as JSON key-value pairs. If the Keys parameter is provided, the data object returned will only contain the data specific to the indicated Keys. Otherwise, the full set of custom user data will be returned.

PlayFabId
string
必填

Unique PlayFab assigned ID of the user on whom the operation will be performed.

IfChangedFromDataVersion
number

The version that currently exists according to the caller. The call will return the data for all of the keys if the version in the system is greater than this.

Keys
string[]

Specific keys to search for in the custom user data.

响应

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
示例:
最后修改于 2026年10月6日