mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
1.1 KiB
1.1 KiB
| id | title | status | assignee | created_date | updated_date | labels | dependencies | priority | ordinal | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TASK-3 | Add GET /bulk-uploads/{task_id}/combined-results route | Done | 2026-04-20 | 2026-04-20 12:08 |
|
high | 1000 |
Description
GET /bulk-uploads/{task_id}/combined-results
Behaviour: lookup bulk_address_uploads row by task_id → read combined_output_s3_uri → read combined CSV from S3 → return parsed JSON rows for the frontend review UI. Each row should include: input address fields, matched UPRN, matched OS address, match confidence/score.
Pagination: optional query params ?offset&limit (default limit 500).
If combined_output_s3_uri not yet populated → 409 "Combiner not finished".
Acceptance Criteria
- #1 Returns JSON {rows: [...], total, offset, limit}
- #2 409 when combined_output_s3_uri null
- #3 Reads CSV from S3 (retrofit_sap_data bucket) with IAM already granted to backend
- #4 Row shape matches what confirm-matches frontend expects