The documentation added in #46 covers 201, 400, and 415 response codes for POST /api/v1/locations, but omits the 500 Internal Server Error response that occurs when SaveLocation fails (see handlers.go:87).
While this is a server-side error and less relevant for client documentation, completeness would help operators debugging issues.
Suggested addition to the Response codes section:
500 Internal Server Error — location could not be persisted (database error).
The documentation added in #46 covers
201,400, and415response codes forPOST /api/v1/locations, but omits the500 Internal Server Errorresponse that occurs whenSaveLocationfails (seehandlers.go:87).While this is a server-side error and less relevant for client documentation, completeness would help operators debugging issues.
Suggested addition to the Response codes section:
500 Internal Server Error— location could not be persisted (database error).