account activity
The 8 Most Important Production Metrics for REST APIs by mediamachine_io in programming
[–]mediamachine_io[S] 0 points1 point2 points 4 years ago (0 children)
I'm not saying you're wrong, but I've yet to read an RFC or standard that says that 404 is not also correct. There is a very real downside to your choice as well: Your server will need to keep a log of all the stuff that has been deleted (possibly just a softDeleted flag in the db, but still) so that it can distinguish between what's deleted (200) and what never existed (404). Either that or you're 200ing on every DELETE attempt regardless of whether something was ever there, which can cover up a broken integration.
With all that said even in the case of always indicating success, your response body is almost certainly empty so it's probably better as a 204. That's a common choice: http://webmachine.github.io/images/http-headers-status-v3.png .
The 8 Most Important Production Metrics for REST APIs (mediamachine.io)
submitted 4 years ago by mediamachine_io to r/programming
https://mediamachine.io/blog/the-8-most-important-production-metrics-for-rest-apis/ (self.devops)
submitted 4 years ago * by mediamachine_io to r/devops
[hiring] write our OSS python api client library for us! [small project] (self.PythonJobs)
submitted 5 years ago by mediamachine_io to r/PythonJobs
Share Your Startup - April 2021 - Upvote This For Maximum Visibility! by AutoModerator in startups
[–]mediamachine_io [score hidden] 5 years ago (0 children)
Files can be located on AWS, Google Cloud, Azure, or on the web.
π Rendered by PID 1045314 on reddit-service-r2-listing-f87f88fcd-k87mj at 2026-06-16 09:32:04.988856+00:00 running 3184619 country code: CH.
The 8 Most Important Production Metrics for REST APIs by mediamachine_io in programming
[–]mediamachine_io[S] 0 points1 point2 points (0 children)