logClientErrors
post
/ccadmin/v1/logging/logClientErrors
Log Client Errors. Creates an error log entry for client errors. Expects the JSON to contain an clientSideErrors array.
Request
Supported Media Types
- application/json
Root Schema : logClientErrors_request
Type:
Show Source
object
-
clientSideErrors(required):
array clientSideErrors
Array for properties for client side errors.
Example:
{
"clientSideErrors":[
{
"clientErrorCode":"15006",
"osVersion":"Win32",
"line":"",
"browserVersion":"Chrome 33.0.1750.154",
"time":"2014-03-21T11:33:18.170Z",
"message":"Error: Script error\nhttp://requirejs.org/docs/errors.html#scripterror",
"locale":"en-US",
"url":"http://localhost:9080/admin/#/random"
}
]
}
Nested Schema : clientSideErrors
Type:
array
Array for properties for client side errors.
Show Source
Nested Schema : items
Type:
Show Source
object
-
browserVersion:
string
Browser version for client side error.
-
clientErrorCode:
string
Client error code for client side error.
-
line:
string
Line for client side error.
-
locale:
string
Locale for client side error.
-
message:
string
Message for client side error.
-
osVersion:
string
OS version for client side error.
-
time:
string
Time for client side error.
-
url:
string
URL for client side error.
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Default Response
The error response
Root Schema : errorModel
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
errors:
array errors
An optional list of errors if multiple errors were encountered
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code
-
type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage:
string
An optional non-localized message containing technical information for developers
-
errorCode:
string
The numerical code identifying the error
-
message:
string
The localized message describing the error
-
moreInfo:
string
An optional non-localized message with more information
-
o:errorPath:
string
An optional machine readable description of where the error occurred
-
status:
string
The HTTP status code