Skip to content

REST API should use error codes whenever possible #1555

@ElDeveloper

Description

@ElDeveloper

Originally brought up in this PR's comment.

The idea is to use HTTP error codes when an error occurs, the current pattern being followed is to always return code 200 and pack an error message in the response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions