bcgov / ppr-deprecated

deprecated-Personal Property Registry
Apache License 2.0
2 stars 10 forks source link

ppr-api: define HTTP return codes for search #224

Closed WalterMoar closed 4 years ago

WalterMoar commented 4 years ago

We should do a little pre-planning of what HTTP status codes will be returned by the /search endpoint of the ppr-api. This should be documented in the AOS docs.

jguertin commented 4 years ago

For HTTP requests, we can expand as needed, but typically I've found the following to be sufficient for most use cases:

We should specify what the response body looks like for error messages, and it should be consistent. Across the board.

jguertin commented 4 years ago

One more to consider: