Notices
List notices
Returns a list of notices for a fault.
get/projects/{project_id}/faults/{fault_id}/notices
Request
- Base URLhttps://app.honeybadger.io/v3
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
project_idstring required
Example:Xk9mZp
Project ID
fault_idstring required
Example:12345
Fault ID
Query parameters
limitinteger
Maximum items to return. Values above 100 are treated as 100.
beforestring
Cursor for fetching older items
afterstring
Cursor for fetching newer items
unmappedboolean
Return the backtrace as the client reported it instead of source-mapped. Accepts true/false, 1/0, yes/no, on/off.
Response
Success
Example response
{
"data": [
{
"id": "1e2ba1f0-4f3c-4b1a-9c7e-6f2f5c0f1a3b",
"fault_id": "12345",
"project_id": "Xk9mZp",
"environment": "production",
"message": "undefined method 'foo' for nil:NilClass",
"request": {
"url": "https://shop.example.com/checkout",
"component": "CheckoutController",
"action": "create"
},
"backtrace": [
{
"file": "app/models/checkout.rb",
"line": 42,
"column": 8,
"method": "submit_order",
"in_app": true,
"mapping": "source_mapped",
"source": [
{
"first_line": 41,
"lines": [
" def submit",
" charge!",
" end"
]
}
]
}
],
"backtrace_mode": "source_mapped",
"backtrace_total_frames": 25,
"backtrace_truncated": true,
"request_fields_removed": [
"params"
],
"links": {
"web": "https://app.honeybadger.io/projects/Xk9mZp"
}
}
],
"pagination": {
"limit": 25,
"oldest_cursor": "eyJ0IjoxNzA0MDY3MjAwLCJpIjoiTm04cFF4In0",
"newest_cursor": "eyJ0IjoxNzA0MTUzNjAwLCJpIjoiWGs5bVpwIn0"
},
"links": {
"self": "/v3/projects/Xk9mZp/deploys?limit=25",
"older": "/v3/projects/Xk9mZp/deploys?before=eyJ0IjoxNzA0MDY3MjAwMTIzNDU2LCJpIjoiRHAyeU5rIn0&limit=25",
"newer": "/v3/projects/Xk9mZp/deploys?after=eyJ0IjoxNzA0MTUzNjAwMTIzNDU2LCJpIjoiRHA4d1FzIn0&limit=25"
},
"meta": {
"request_id": "6f1c2b0e-8d4a-4f6e-9b2a-3c5d7e9f1a2b"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.