API Documentation
Stable endpoints other tools depend on. See ARCHITECTURE.md § API surface for the full contract.
Status: Sprint 1
No stable API endpoints shipped yet. Campaign + target CRUD + action triggers (Expand / Refresh / Rebuild) land Sprint 2+.
Planned stable endpoints
- GET /api/campaigns?hub_client_id=X
- GET /api/campaigns/{id}
- POST /api/campaigns
- PATCH /api/campaigns/{id}
- GET /api/targets?campaign_id=Y&status=accepted
- PATCH /api/targets/{id}
- POST /api/campaigns/{id}/{expand,refresh,rebuild}