Admin Get Player Presence Id
GET/presence/v1/admin/player/id/:player_id/presence
Get the player's presence information. The status reflects the true value and is not modified before it is returned.
Request
Path Parameters
A valid integer identifying a player. Rejects UUID player identification.
Responses
- 200
- 403
- 404
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [online, away, invisible, offline]
An enumeration.
Possible values: <= 256 characters
Optional custom message to display alongside the user's online status
Platform the user was online in
Player Display Name
custom_data
object
custom fields for the player to update about their presence
Player ID for the player if it was provided as part of the request
UUID of the player whose presence this represents
Disables notifications and invites. Only set for self or admin.
Info about the player the last time they reported their status. Only set for self or admin
{
"status": "online",
"message": "string",
"platform": "string",
"display_name": "string",
"custom_data": {},
"player_id": 0,
"player_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"do_not_disturb": true,
"last_seen": "2024-07-29T15:51:28.071Z"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Not Found
- 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"
}
]
}