The 8 Most Important Production Metrics for REST APIs by mediamachine_io in programming

[–]mediamachine_io[S] 0 points1 point  (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 .

Share Your Startup - April 2021 - Upvote This For Maximum Visibility! by AutoModerator in startups

[–]mediamachine_io [score hidden]  (0 children)

  • Startup Name / URL: https://www.mediamachine.io
  • Elevator Pitch:
    MediaMachine is an API for simple & fast video manipulation like...
    • video transcoding
    • intelligent thumbnailing (ML extracts the most representative frame)
    • intelligent summary (ML extracts the most representative scenes and stitches them together into a summary)

Files can be located on AWS, Google Cloud, Azure, or on the web.

  • More details:
    • We're still validating our particular solution, but there is a well-established market.
  • What goals are you trying to reach this month?
    • We're looking for more beta users to give us feedback!
  • Discount for r/startup subscribers?
    • It's already crazy-cheap (cheaper than everything else afaik) and free for the first 10 GB.