Xsolla-logo
  • 文档
  • 创建帐户

通过用户ID获取属性Server-side

get/projects/{project_id}/users/{user_id}/attributes

Gets a list of user’s attributes. Returns only attributes values for user by his ID.

Notice
Rate limits for server-side methods are applied to this method.

SecurityAttributesServer
Request
path Parameters
project_id
required
string <uuid>

发布商帐户中的登录管理器项目ID。

user_id
required
string <uuid>

用户ID。您可以在发布商帐户 > 您的登录管理器项目 > 用户中找到它。

Responses
200

确定

400

错误的请求

403

被禁止

404

未找到

429

请求过多

Request samples
curl --request GET \
  --url https://login.xsolla.com/api/projects/{project_id}/users/{user_id}/attributes \
  --header 'X-SERVER-AUTHORIZATION: YOUR_SERVER_TOKEN'
Response samples
application/json
[
  • {
    }
]