nmfta-repo / nmfta-opentelematics-api

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

Support 429 status for most endpoints #118

Closed derek-zonar closed 5 years ago

derek-zonar commented 5 years ago

Currently the only "valid" responses are 200 and 401. A TSP may want to define a reasonable query rate for health checks and if exceeded by the user should be able to respond with a 429 status.

BenGardiner commented 5 years ago

Hi Derek, thank you again for the feedback. I agree and will take it a little further, infact.

In the Rate-limit API Requests section we stipulate that TSPs should rate-limit requests, so 429 should be an expected status code on more endpoints than just SOH.