Skip to content

docs: document 500 Internal Server Error response for POST /api/v1/locations #73

@aaronbrethorst

Description

@aaronbrethorst

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions