ExceptionsApi
All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
clearExceptionDb | DELETE /exceptions/clear-db | Clear all exception error from Db |
getAllExceptions | GET /exceptions/export | Get all exceptions |
getExceptionById | GET /exceptions/id | Get exception by id |
getExceptionLog | GET /exceptions | Get log of exceptions by custom filter |
getExceptionLogCount | GET /exceptions/count | Get count of exceptions by custom filter |
getExceptionsCallstackById | GET /exceptions/callstack | Get exceptions callstack by id |
importExceptionList | POST /exceptions/import | Import 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
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
HTTP request headers
- Content-Type: Not defined
- Accept: application/json, /
getExceptionById
ExceptionModel getExceptionById(id)
Get exception by id
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | Id to get exception by | [default to null] |
Return type
Authorization
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
Name | Type | Description | Notes |
---|---|---|---|
page | Integer | Page number | [optional] [default to 1] |
size | Integer | Page size | [optional] [default to 20] |
dateLowerBound | Long | Date range that exceptions was done in unix time (lowerbound) | [optional] [default to null] |
dateUpperBound | Long | Date range that exception was done in unix time (upperbound) | [optional] [default to null] |
uuid | String | UUID to filter by | [optional] [default to null] |
httpCode | String | HTTP code to filter by | [optional] [default to null] |
exceptionName | String | Exception name to filter by | [optional] [default to null] |
exceptionMessage | String | Exception message to filter by | [optional] [default to null] |
path | String | Exception path to filter by | [optional] [default to null] |
returnCallStack | Boolean | Return call stack | [optional] [default to false] |
exceptionsFieldOrderBy | String | Field to order by | [optional] [default to EXCEPTION_DATE] [enum: EXCEPTION_UUID, EXCEPTION_DATE, EXCEPTION_HTTP_RESPONSE_CODE, EXCEPTION_NAME, EXCEPTION_MESSAGE, EXCEPTION_PATH, UNRECOGNIZED] |
fieldsOrder | String | Fields order | [optional] [default to DESC] [enum: ASC, DESC, UNRECOGNIZED] |
Return type
Authorization
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
Name | Type | Description | Notes |
---|---|---|---|
dateLowerBound | Long | Date range that exceptions was done in unix time (lowerbound) | [optional] [default to null] |
dateUpperBound | Long | Date range that exceptions was done in unix time (upperbound) | [optional] [default to null] |
uuid | String | UUID to filter by | [optional] [default to null] |
httpCode | String | HTTP code to filter by | [optional] [default to null] |
exceptionName | String | Exception name to filter by | [optional] [default to null] |
exceptionMessage | String | Exception message to filter by | [optional] [default to null] |
path | String | Exception path to filter by | [optional] [default to null] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json, /
getExceptionsCallstackById
String getExceptionsCallstackById(id)
Get exceptions callstack by id
Parameters
Name | Type | Description | Notes |
---|---|---|---|
id | Integer | Id to get exception by | [default to null] |
Return type
String
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json, /
importExceptionList
importExceptionList(ExceptionModel)
Import exception list
Parameters
Name | Type | Description | Notes |
---|---|---|---|
ExceptionModel | List |
Return type
null (empty response body)
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: /