Login

Login

Logs in and returns the session ID. In the subsequent requests, include the 'x-dr-session' header with the returned session ID value.

Request
URI
POST
https://{api_host}/session
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

Successfully authenticated. The session ID is returned in the response body. In the subsequent requests, include the 'x-dr-session' header with the returned session ID value.

Returns SessionIdData of type(s) application/json
{
    "session_id": "string"
}
string
session_id
Optional

Session ID


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