nmfta-repo / nmfta-opentelematics-api

API Blueprint for Open Telematics API
Apache License 2.0
13 stars 6 forks source link

return error on 'too large' requests #105

Closed BenGardiner closed 5 years ago

BenGardiner commented 5 years ago

Considering the volume of data that is generated, limits should be applied on the time span that can be requested.

Requests for time spans larger than the limit will be returned error 413 "Request Entity Too Large"

The limit should be enforced by the server implementation; we will suggest that implementors should not return an error on requests smaller than 4h.

BenGardiner commented 5 years ago

we will include a note that the limits on return size can even be configured per-customer by the TSPs serving OTAPI

BenGardiner commented 5 years ago

the limit also applies to paginated requests; e.g. data export