Revamp API return codes for empty responses #146
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
One good change would be leveraging 204 to indicate that a request had no content rather than just sending back an empty array. Let the client decide how to present this.
Also leverage 202 where appropriate (I may already be).
406 might also be useful for some of the curent 400 bad request endpoints.
Most of these end up being pointless changes. Not going to bother.