Commit eee0859
Fix severities endpoint to use V1 API
The severities endpoints (list and get) are part of incident.io's V1 API,
not V2. This fix temporarily switches the base URL to V1 when making
severities requests.
Changes:
- Update ListSeverities() to use V1 API endpoint
- Update GetSeverity() to use V1 API endpoint
- Add comments explaining the API version difference
This resolves the 404 errors when calling list_severities tool.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 356ac70 commit eee0859
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
29 | 35 | | |
30 | 36 | | |
31 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
32 | 44 | | |
33 | 45 | | |
34 | 46 | | |
| |||
0 commit comments