Skip to content

feat(ingestion): add ingestion API routes + integration tests #328

@fagemx

Description

@fagemx

Context

Track D Step 3 — HTTP API for ingestion evaluation, record listing, and suggestion management.

What Needs to Happen

  • Routes:
    • POST /api/ingestion/evaluate → auto/suggest/skip
    • POST /api/ingestion/records → manual ingestion
    • GET /api/ingestion/records → list with filters
    • GET /api/ingestion/suggestions → list pending
    • POST /api/ingestion/suggestions/:id/accept
    • POST /api/ingestion/suggestions/:id/reject
  • Integration tests: auto event → record, suggest → queue → accept → record, never → skip

Definition of Done

  • cargo build zero errors
  • All API routes respond correctly
  • Full flow integration tests pass
  • cargo test -p edda-ingestion all pass

References

  • Plan: thyra/docs/plan/storage/TRACK_D_EDDA_INGESTION.md Step 3
  • Blocked by: edda#327

Decomposed from docs/plan/storage by plan-decompose

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Priority 1 — should haveenhancementNew feature or requeststorageDecision state storage infrastructuretrack-dStorage track

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions