Actions
User Story #588
openFeature #533: Authentication Hum Rahi
EPIC #587: Epic: E2.2 AI-Powered Server Processing
User Story 1 (BE): Secure Data Ingestion & Media Orchestration
Start date:
Due date:
% Done:
100%
Estimated time:
(Total: 0:00 h)
Reviewer:
Description
User Story 1 (BE): Secure Data Ingestion & Media Orchestration¶
Story: As a Backend System, I want to receive and persist multi-modal report data, so that it is safely stored and available for AI analysis.
-
In-Scope:
- RESTful API endpoint for multipart data (Image, Audio, JSON metadata).
- Secure storage of media in S3-compatible buckets.
- Relational database entry for GPS and User ID metadata.
- Out-of-Scope: Frontend UI; real-time streaming of audio (batch upload only).
-
Acceptance Criteria (AC):
- Endpoint must successfully ingest files up to 10MB (Image) and 5MB (Audio).
- Metadata (GPS, Timestamp) must be linked to media via a unique
Report_ID. - Data must be encrypted at rest (AES-256).
-
Validation Rules:
- GPS: Must contain valid Latitude/Longitude coordinates.
- Media: Must be valid MIME types (image/jpeg, audio/aac).
-
Error Messages:
- "Unsupported file format."
- "Incomplete payload: Missing GPS data."
- DoD: Integration tests pass, S3 bucket policies verified, API documentation updated.
Actions