-
Notifications
You must be signed in to change notification settings - Fork 0
feat(api): add idempotency key support for mutating operations #93
Copy link
Copy link
Open
Labels
featrequest for or implementation of a new featurerequest for or implementation of a new featurepostgresnvisy-postgres: ORM, models, queries, migrationsnvisy-postgres: ORM, models, queries, migrationsservernvisy-server: API handlers, middleware, authnvisy-server: API handlers, middleware, auth
Description
Context
File uploads, job dispatch, and webhook delivery lack idempotency support. This is important for retry safety in distributed systems.
Requirements
- Accept optional
Idempotency-Keyheader on mutating operations - Deduplicate requests with the same key within a configurable window
- Return the original response for duplicate requests
- Apply to: file upload, job dispatch, webhook delivery, and other POST endpoints
- Store idempotency state with TTL (in-memory or database-backed)
References
- Server docs: ARCHITECTURE.md - API Design
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featrequest for or implementation of a new featurerequest for or implementation of a new featurepostgresnvisy-postgres: ORM, models, queries, migrationsnvisy-postgres: ORM, models, queries, migrationsservernvisy-server: API handlers, middleware, authnvisy-server: API handlers, middleware, auth