Project

General

Profile

Actions

User Story #588

open

Feature #533: Authentication Hum Rahi

EPIC #587: Epic: E2.2 AI-Powered Server Processing

User Story 1 (BE): Secure Data Ingestion & Media Orchestration

Added by Islam Mansoori about 1 month ago. Updated 20 days ago.

Status:
To Do
Priority:
low
Assignee:
-
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
(Total: 0:00 h)

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):
    1. Endpoint must successfully ingest files up to 10MB (Image) and 5MB (Audio).
    2. Metadata (GPS, Timestamp) must be linked to media via a unique Report_ID.
    3. 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.

Subtasks 4 (1 open3 closed)

Task #602: Create Multipart Incident API EndpointBackend completedzaid ali

Actions
Task #603: Implement Local Media Storage ServiceBackend completedzaid ali

Actions
Task #604: Persist Incident and Media MetadataBackend completedzaid ali

Actions
Task #605: Trigger Asynchronous AI Processing via KafkaTo Dozaid ali

Actions
Actions

Also available in: Atom PDF