Get Players Paged
GET/users/v2/player:iterate
Iterate over all players. This is a paginated API, so you will need to call it multiple times to get all players. There is no guaranteed ordering of players. So if you need to run multiple iterations for comparison, you will need to sort the results.
Required Permissions:
- For any player (including themselves) any of:
user:*,user:player:iterate
Request
Query Parameters
Possible values: <= 4096 characters
cursor to continue iteration. Leaving this empty will begin a new query
Possible values: >= 1 and <= 1000
Default value: 100
number of players to return
Responses
- 200
- 400
- 403
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
players
object[]
List of players. An empty list means iteration is complete
Player ID DEPRECATED use player_uuid instead
Player UUID
Cursor to continue iteration
{
"players": [
{
"player_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"cursor": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Error Codes:
-
auth_invalid_key_id- Invalid Authorization - Invalid Key ID in Access Token -
auth_invalid_version- Invalid Authorization - version -
auth_malformed_access- Invalid Authorization - malformed access token -
auth_not_jwt- Invalid Authorization -
auth_token_expired- Token is expired -
auth_token_format- Invalid Authorization - {} -
auth_token_invalid_claim- Token contained invalid claim value: {} -
auth_token_invalid_type- Invalid Authorization - Invalid Token Type -
auth_token_sig_invalid- Token Signature is invalid -
auth_token_unknown- Failed to parse token -
insufficient_permissions- Insufficient Permissions
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}