Skip to content

API-level payload size limits and query result caps [MED] #1630

Description

@HayimShaul

Description
Enforce strict upper bounds on every write and read path exposed by the View API before data reaches the database layer. Write operations (AddTokenRequest, AddTransaction, AddMovement) should reject any call whose serialised payload exceeds a configurable maximum size. Query operations (QueryTransactions, QueryMovements, QueryTokenRequests) should require a bounded Pagination argument -- the Pagination type is already present in the codebase, so enforcing its use rather than treating it as optional is a low-friction change. This prevents a single oversized write or unbounded table scan from monopolising database resources.

Short Summary

Metadata

Metadata

Assignees

Labels

Type

Fields

No fields configured for Task.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions