Skip to main content

ExceptionsApi

All URIs are relative to http://localhost

MethodHTTP requestDescription
clearExceptionDbDELETE /exceptions/clear-dbClear all exception error from Db
getAllExceptionsGET /exceptions/exportGet all exceptions
getExceptionByIdGET /exceptions/idGet exception by id
getExceptionLogGET /exceptionsGet log of exceptions by custom filter
getExceptionLogCountGET /exceptions/countGet count of exceptions by custom filter
getExceptionsCallstackByIdGET /exceptions/callstackGet exceptions callstack by id
importExceptionListPOST /exceptions/importImport exception list

clearExceptionDb

clearExceptionDb()

Clear all exception error from Db

Parameters

This endpoint does not need any parameter.

Return type

null (empty response body)

Authorization

admin-basic, admin-oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: /

getAllExceptions

String getAllExceptions()

Get all exceptions

Parameters

This endpoint does not need any parameter.

Return type

String

Authorization

admin-basic, admin-oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, /

getExceptionById

ExceptionModel getExceptionById(id)

Get exception by id

Parameters

NameTypeDescriptionNotes
idIntegerId to get exception by[default to null]

Return type

ExceptionModel

Authorization

admin-basic, admin-oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, /

getExceptionLog

List getExceptionLog(page, size, dateLowerBound, dateUpperBound, uuid, httpCode, exceptionName, exceptionMessage, path, returnCallStack, exceptionsFieldOrderBy, fieldsOrder)

Get log of exceptions by custom filter

Parameters

NameTypeDescriptionNotes
pageIntegerPage number[optional] [default to 1]
sizeIntegerPage size[optional] [default to 20]
dateLowerBoundLongDate range that exceptions was done in unix time (lowerbound)[optional] [default to null]
dateUpperBoundLongDate range that exception was done in unix time (upperbound)[optional] [default to null]
uuidStringUUID to filter by[optional] [default to null]
httpCodeStringHTTP code to filter by[optional] [default to null]
exceptionNameStringException name to filter by[optional] [default to null]
exceptionMessageStringException message to filter by[optional] [default to null]
pathStringException path to filter by[optional] [default to null]
returnCallStackBooleanReturn call stack[optional] [default to false]
exceptionsFieldOrderByStringField to order by[optional] [default to EXCEPTION_DATE] [enum: EXCEPTION_UUID, EXCEPTION_DATE, EXCEPTION_HTTP_RESPONSE_CODE, EXCEPTION_NAME, EXCEPTION_MESSAGE, EXCEPTION_PATH, UNRECOGNIZED]
fieldsOrderStringFields order[optional] [default to DESC] [enum: ASC, DESC, UNRECOGNIZED]

Return type

List

Authorization

admin-basic, admin-oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, /

getExceptionLogCount

ExceptionModel getExceptionLogCount(dateLowerBound, dateUpperBound, uuid, httpCode, exceptionName, exceptionMessage, path)

Get count of exceptions by custom filter

Parameters

NameTypeDescriptionNotes
dateLowerBoundLongDate range that exceptions was done in unix time (lowerbound)[optional] [default to null]
dateUpperBoundLongDate range that exceptions was done in unix time (upperbound)[optional] [default to null]
uuidStringUUID to filter by[optional] [default to null]
httpCodeStringHTTP code to filter by[optional] [default to null]
exceptionNameStringException name to filter by[optional] [default to null]
exceptionMessageStringException message to filter by[optional] [default to null]
pathStringException path to filter by[optional] [default to null]

Return type

ExceptionModel

Authorization

admin-basic, admin-oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, /

getExceptionsCallstackById

String getExceptionsCallstackById(id)

Get exceptions callstack by id

Parameters

NameTypeDescriptionNotes
idIntegerId to get exception by[default to null]

Return type

String

Authorization

admin-basic, admin-oauth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, /

importExceptionList

importExceptionList(ExceptionModel)

Import exception list

Parameters

NameTypeDescriptionNotes
ExceptionModelList

Return type

null (empty response body)

Authorization

admin-basic, admin-oauth

HTTP request headers

  • Content-Type: application/json
  • Accept: /