log

post

/ccstore/v1/logging/log

Log. Create an error log entry for client errors. Expects the JSON to contain an "messages" array. Also checks for an options "logLevel" to determine the log level to be used (defaults to error).

Request

Supported Media Types
Body ()
Root Schema : log_request
Type: object
Show Source
Example:
{
    "logLevel":"debug",
    "messages":[
        {
            "message1":"ErrorMessage"
        }
    ]
}
Nested Schema : logLevel
Type: array
Log level of the log.
Show Source
Nested Schema : messages
Type: array
Array of messages.
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : log_response
Show Source

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top