Xsolla-logo

Get user’s read-only attributes from client

post/attributes/users/me/get_read_only

Gets a list of particular user’s read-only attributes. Returns only attributes with the server value of the attr_type parameter, which was set only for reading.

Request
Request Body schema: application/json
keys
Array of strings

List of attributes’ keys which you want to get. If you do not specify them, it returns all user’s attributes.

publisher_project_id
integer

Project ID from Publisher Account which you want to get attributes for. If you do not specify it, it returns attributes without the value of this parameter.

user_id
string or null <uuid>

User ID which attributes you want to get. Returns only attributes with the public value of the permission parameter. If you do not specify it or put your user ID there, it returns only your attributes with any value for the permission parameter.

Responses
200

OK

400

Bad Request

403

Unprocessable Entity

429

Too Many Requests

Request samples
application/json
{
  • "keys": [
    ],
  • "publisher_project_id": 0,
  • "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"
}
Response samples
application/json
[
  • {
    }
]