-
Notifications
You must be signed in to change notification settings - Fork 0
Fix: Remove incorrect /api/v2 prefix from all API endpoints #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The Hypernative API endpoints don't use the /api/v2 prefix. Updated all endpoints to use the correct format: - /api/v2/watchlists → /watchlists - /api/v2/custom-agents → /custom-agents - /api/v2/notification-channels → /notification-channels - /api/v2/alerts → /alerts This fixes the 404 errors when trying to interact with the Hypernative API. Changes: - Updated all provider files to use correct endpoints - Fixed test files and mocks - Updated documentation and examples - Cleaned up example YAML configurations 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
|
Claude finished @Git-on-my-level's task —— View job Pull Request ReviewI've completed a comprehensive review of this PR that removes the Review Checklist:
✅ Positive Findings1. Comprehensive and Consistent Changes
2. Clean ImplementationThe changes are straightforward and follow a clear pattern: // Before
await this.apiClient.get('/api/v2/watchlists')
// After
await this.apiClient.get('/watchlists')3. Test Coverage Maintained
4. Documentation Alignment
|
- Fix Prettier formatting issues in notification channel provider files - Update golden test framework to support UPDATE_GOLDEN environment variable - Regenerate golden test files for API endpoint changes - Ensure all linting and formatting checks pass 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
|
Claude finished @Git-on-my-level's task —— View job Pull Request Code ReviewI've completed a comprehensive review of this PR that removes the Review Checklist:
✅ Positive Findings1. Comprehensive and Systematic Implementation
2. Code Quality ExcellenceThe implementation demonstrates high code quality:
3. Test Coverage Maintained
|
- Removed outdated QA reports and ticket tracking files - Removed completed implementation documentation - Moved platform API reference to docs/reference/ for better organization - Added test CSV directories and .hypernative to .gitignore These files were from the development phase and are no longer needed in the main repository. 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
|
Claude finished @Git-on-my-level's task —— View job Pull Request Code ReviewI've conducted a comprehensive review of this PR that removes the Review Checklist:
✅ Positive Findings1. Comprehensive and Systematic Implementation
2. Code Quality ExcellenceThe implementation demonstrates high code quality:
3. Test Coverage Maintained
|
Summary
/api/v2prefixChanges
watchlist.provider.ts,custom-agent.provider.ts,notification-channel.provider.ts)API Endpoint Changes
/api/v2/watchlists/watchlists/api/v2/custom-agents/custom-agents/api/v2/notification-channels/notification-channels/api/v2/alerts/alertsTesting
Successfully tested against production API:
Impact
This fix enables the CLI to properly communicate with the Hypernative API, allowing users to:
🤖 Generated with Claude Code