Summary
The API supports $as_of and $from_to, but they are not validated early.
Endpoints ignore CommonQueryParams and pass raw query strings to STA2REST.convert_query(), causing late and inconsistent failures.
Problem
Invalid inputs are not rejected upfront:
- malformed $as_of
- future $as_of
- invalid or reversed $from_to
- using both together
Instead, they fail later in unpredictable ways.
Expected
API should return:
HTTP 422 Unprocessable Entity
with clear messages for invalid inputs.
Summary
The API supports $as_of and $from_to, but they are not validated early.
Endpoints ignore CommonQueryParams and pass raw query strings to STA2REST.convert_query(), causing late and inconsistent failures.
Problem
Invalid inputs are not rejected upfront:
Instead, they fail later in unpredictable ways.
Expected
API should return:
HTTP 422 Unprocessable Entitywith clear messages for invalid inputs.