Get Current Session
Returns information about the current session, if any.
Request
URI
GET
https://{api_host}/session
COPY
Responses
200
Returns information about the currently authenticated session.
Returns SessionInfo of type(s) application/json
{
"username": "string"
}
string
username
Optional
username
400
Bad request - the server could not understand the request due to invalid syntax or invalid request body content
Returns ResponseError of type(s) application/json
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
string
error_code
Optional
error_code
string
message
Optional
message
string As uuid As uuid
op_id
Optional
op_id
500
Internal server error - unexpected condition prevents fulfilling the request
Returns ResponseError of type(s) application/json
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
string
error_code
Optional
error_code
string
message
Optional
message
string As uuid As uuid
op_id
Optional
op_id