Get Player Presence Public By Uuid
GET/presence/v1/player/uuid/:player_uuid/presence
Get the player's presence information. The status will be modified based on the following rules:
- A status of invisible will be reported as offline
- The status will become offline if older than the configured age
Request
Path Parameters
A valid UUID identifying a player. Rejects integer player identification.
Header Parameters
If you provide the ETag that matches the current ETag for this resource, a 304 response will be return - indicating that the resource has not changed.
Responses
- 200
- 403
- 404
- 422
Successful Response
Response Headers
ETag
string
Used to identify this version of the content. Provide with a get request to avoid downloading the same data multiple times.
- 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"
}
]
}