Files
boc/packages/api/adr/ADR-010-Mission-Import-API.md
T

37 lines
866 B
Markdown
Raw Normal View History

# ADR-010: Mission Import API (MVP-0)
## Status
Accepted
## Context
We need the first external interface for LandveX Intelligence Lab. The goal is to prove the end-to-end flow: phone → upload → store → retrieve.
## Decision
Implement minimal Mission Import API:
- POST /api/v1/missions/import — upload video, create mission
- GET /api/v1/missions/:id — retrieve mission
- No AI, no processing, just store and track
## Architecture
```
Express Router → Application Handlers → Domain → In-Memory Repositories
```
## Consequences
### Positive
- First real API endpoint
- Proves end-to-end flow works
- Can be tested with real phone uploads
### Negative
- In-memory storage (will swap for PostgreSQL)
- No authentication yet
- No file validation beyond extension
## Related
- ADR-007: Command/Result Pattern
- ADR-009: Persistence Independence