the-bed-stack icon indicating copy to clipboard operation
the-bed-stack copied to clipboard

Make the API more RESTful than RealWorld

Open yamcodes opened this issue 7 months ago • 0 comments

Clear and concise description of the problem

The RealWorld API is not as RESTful as it could be. As an example, updating a user with partial fields is denoted as PUT, whereas in a RESTful API that would be a PATCH.

Suggested solution

Make a list of all items where we could make our endpoints more RESTful. If it's a non-breaking change, implement it immediately. If it's a breaking change to the official RealWorld API, mark the current endpoint as deprecated, and create a new endpoint with our desired change.

Alternative

Don't do it.

Additional context

No response

Validations

  • [x] Read the Contributing Guide.
  • [x] Read the README.md.
  • [x] Check that there isn't already an issue that requests the same feature.

yamcodes avatar Jun 08 '25 20:06 yamcodes