Skip to content

Commit 1cabd42

Browse files
committed
chore: update README.md
1 parent 413d6b4 commit 1cabd42

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,21 @@ api-url: "https://app.honeybadger.io"
226226
- `occurred_before` : Filter faults that occurred before this timestamp (string, optional)
227227
- `limit` : Maximum number of faults to return (max 25) (number, optional)
228228
- `order` : Order results by 'recent' or 'frequent' (string, optional)
229+
- `page` : Page number for pagination (number, optional)
229230

230231
- **get_fault** - Get detailed information for a specific fault in a project
231232

232233
- `project_id` : The ID of the project containing the fault (number, required)
233234
- `fault_id` : The ID of the fault to retrieve (number, required)
234235

236+
- **get_fault_counts** - Get fault count statistics for a project with optional filtering
237+
238+
- `project_id` : The ID of the project to get fault counts for (number, required)
239+
- `q` : Search string to filter faults (string, optional)
240+
- `created_after` : Filter faults created after this timestamp (string, optional)
241+
- `occurred_after` : Filter faults that occurred after this timestamp (string, optional)
242+
- `occurred_before` : Filter faults that occurred before this timestamp (string, optional)
243+
235244
- **list_fault_notices** - Get a list of notices (individual error events) for a specific fault
236245

237246
- `project_id` : The ID of the project containing the fault (number, required)
@@ -248,7 +257,7 @@ api-url: "https://app.honeybadger.io"
248257

249258
## Development
250259

251-
Run tests:
260+
Run the tests:
252261

253262
```bash
254263
go test ./...

0 commit comments

Comments
 (0)