Create Alert API Endpoints #24

Closed
opened 2026-02-04 23:22:34 +01:00 by ilker · 0 comments
Owner

Priority: High
Estimated Time: 3 hours

Tasks:

  • Implement alert CRUD handlers
  • Add reload endpoint
  • Add active alerts endpoint
  • Update router with alert routes

Files to Create:

  • backend/internal/api/handlers/alerts.go

Acceptance Criteria:

  • GET /api/v1/alerts/rules lists rules
  • POST /api/v1/alerts/rules creates rule
  • PUT/DELETE work correctly
  • POST /api/v1/alerts/reload triggers reload
  • GET /api/v1/alerts/active returns active alerts
**Priority:** High **Estimated Time:** 3 hours **Tasks:** - Implement alert CRUD handlers - Add reload endpoint - Add active alerts endpoint - Update router with alert routes **Files to Create:** - `backend/internal/api/handlers/alerts.go` **Acceptance Criteria:** - [ ] GET /api/v1/alerts/rules lists rules - [ ] POST /api/v1/alerts/rules creates rule - [ ] PUT/DELETE work correctly - [ ] POST /api/v1/alerts/reload triggers reload - [ ] GET /api/v1/alerts/active returns active alerts
ilker added this to the Milestone 3: Alert Management milestone 2026-02-04 23:22:34 +01:00
ilker closed this issue 2026-02-04 23:27:06 +01:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ilker/victorialogs-manager#24