Login

Login

Logs in and returns the session ID. Include 'x-dr-session' header with the value of the returned session ID in subsequent requests.

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. Include 'x-dr-session' header with value of the returned session ID in subsequent requests.

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

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


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

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.