Admin Update Player Last Seen Id
PATCH/presence/v1/admin/player/id/:player_id/last_seen
Forcibly update the player's last_seen with the specified values. This enables an admin to set the last_seen time to something specific for testing.
Request
Path Parameters
player_id Player Idrequired
A valid integer identifying a player. Rejects UUID player identification.
- application/json
Body
required
time date-timerequired
Last time this player reported their online status
platform Platform (string)
Platform the user was online in
display_name Display Name (string)
Player Display Name
Responses
- 200
- 403
- 422
- 500
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.
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
auth_success Auth Success (boolean)
Default value: true
error_code Error Code (string)required
desc Desc (string)required
{
"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
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
auth_success Auth Success (boolean)
Default value: true
error_code Error Code (string)required
desc Desc (string)required
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Loading...