Skip to content

feat(api): add idempotency key support for mutating operations #93

@martsokha

Description

@martsokha

Context

File uploads, job dispatch, and webhook delivery lack idempotency support. This is important for retry safety in distributed systems.

Requirements

  • Accept optional Idempotency-Key header 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    featrequest for or implementation of a new featurepostgresnvisy-postgres: ORM, models, queries, migrationsservernvisy-server: API handlers, middleware, auth

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions