Get Connection Info Self
GET/session/v1/connection-info
Get public connection info for self
Required Permissions:
- For any player (including themselves) any of:
session:*,session:read:config
Required Permissions: None
Request
Header Parameters
x-forwarded-for X-Forwarded-For
Responses
- 200
- 403
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
ip Ip (string)required
IP that sent the request
{
"ip": "string"
}
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"
}
]
}
Loading...