Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    A

    APIs You Won't Hate

    apisyouwonthate.com · Personal blog · on HN since 2016

    A site on API design and tooling, including REST, GraphQL, OpenAPI, and versioning, with a book called Build APIs You Won't Hate.

    Visit blogHN submissions
    Web DevelopmentProgramming
    What HN says

    HN commenters recommend the site and its book as a good introduction to REST API design, and cite its posts on OpenAPI generation.

    Stats for nerds
    19HN people shared it
    20linked in comments
    362story points
    Jul 2022last shared
    2016people per year2022

    Top posts on HN

    1. 1
      API versioning has no “right way” (2017)
      2 people · 135 points · first shared 2020 · 56 comments on HN
    2. 2
      Let's stop building APIs around a network hack (2017)
      1 person · 105 points · first shared 2020 · 94 comments on HN
    3. 3
      OpenAPI v3.1 and JSON Schema 2019-09
      2 people · 90 points · first shared 2020 · 45 comments on HN
    4. 4
      GraphQL and Caching
      1 person · 12 points · first shared 2019 · 5 comments on HN
    5. 5
      Content to Supplement Your API Documentation
      2 people · 3 points · first shared 2023 · Discussion on HN
    6. 6
      REST and Hypermedia in 2019
      2 people · 2 points · first shared 2020 · Discussion on HN
    7. 7
      PKCE vs. Proxy
      2 people · 2 points · first shared 2019 · Discussion on HN
    8. 8
      API Design-First vs. Code First
      1 person · 2 points · first shared 2019 · Discussion on HN
    9. 9
      Oracle Shuts Down Apiary.io
      1 person · 2 points · first shared 2025 · Discussion on HN
    10. 10
      Civic APIs
      1 person · 2 points · first shared 2025 · 1 comments on HN

    What HN people wrote when they linked it

    • gautambtJul 2020

      Not a general solution, but with Hasura, one approach we have seen is to use Postgres views to keep the old graph around as your data model changes.

      In general API evolution is tricky and perfect decoupling between API clients and servers not possible (the article talks about this). What one can aim for is a combination of:

      1) Adding new query parameters should not break clients
      2) Adding new fields to the responses should not break clients
      3) Adding new serialization formats (for newer clients) should not break existing clients

      #1 & #2 is roughly what you get with GraphQL optional fields.

      Phil Sturgeon has good articles on API Versioning[1] and Evolvability[2] for REST API's

      [1] https://apisyouwonthate.com/blog/api-versioning-has-no-right-way
      [2] https://phil.tech/2018/api-evolution-for-rest-http-apis/

    • psturgeonMay 2021

      The whole "REST is good and everything else is dumb" is something I've tried to help people get away from for about a decade. These days it's GraphQL is good and everything else is dumb. See some of the comments in here.

      > I wish anything built on REST would die. Conflation of the envelope and the payload is idiotic and adds only pain, no value.

      Anyway, a reasoned conversation about where REST can be useful even today: https://apisyouwonthate.com/blog/rest-and-hypermedia-in-2019

      And a technical comparison for when people need it: https://apisyouwonthate.com/blog/understanding-rpc-rest-and-graphql

      And when those technical differences can come in useful or just be annoying: https://apisyouwonthate.com/blog/picking-the-right-api-paradigm

      Loooooots of content on all this. :)

    • majkinetorSep 2020

      https://apisyouwonthate.com and their book(s) offer good advices.

      Not a book, but MS REST API Guidelines are pretty good although they don't cover funky important details like how to properly do REST operations/actions.

      https://github.com/microsoft/api-guidelines

      This is short one based on RedHat VM engineer experience:

      https://restful-api-design.readthedocs.io/en/latest/intro.html

      Manning has a solid books on topic:

      https://www.manning.com/books/the-design-of-web-apis

      https://www.manning.com/books/api-design-patterns

    • jeanyangJul 2022

      Hi, Jean here from Akita. Yes, it's possible to generate an OpenAPI spec, either by running Akita in production or from a HAR file. Here's a blog post someone wrote about using Akita to generate an OpenAPI spec: https://apisyouwonthate.com/blog/creating-openapi-from-http-traffic

    • shivenigmaSep 2020

      for REST APIs, https://apisyouwonthate.com/books/build-apis-you-wont-hate book is my recommendation if you haven't read it already. I read it as a beginner, so it was kind of an eye opener for me on why we should do things a certain way when it comes to API.

    • mordocaiAug 2016

      I thought https://apisyouwonthate.com/ was pretty good, assuming REST API.

    Related

    API Evangelistapievangelist.com59 people

    Let Developers Register for Your API with Their Github Profile

    API Evangelist
    Personal · last shared 2019
    Moesif Blogmoesif.com17 people

    Authentication for RESTful APIs, HTML5 Security

    Moesif Blog
    Company · last shared 2023
    Facebook Engineeringcode.facebook.com552 people

    Relicensing React, Jest, Flow, and Immutable.js

    Facebook Engineering
    Company · last shared 2021
    Aphyraphyr.com551 people

    Hexing the technical interview (2017)

    Aphyr
    Personal · last shared 2026
    Phil Sturgeonphilsturgeon.uk25 people

    A Response to REST Is the New SOAP

    Phil Sturgeon
    Personal · last shared 2019
    Runscope Blogblog.runscope.com21 people

    You Might Not Need GraphQL

    Runscope Blog
    Company · last shared 2022
    freeCodeCampmedium.com/free-code-camp45 people

    I replicated an $86M project using open-source libraries (2017)

    freeCodeCamp
    Company · last shared 2025
    ProgrammableWeb Blogblog.programmableweb.com158 people

    Jobseekers Invited to “Apply Via API”

    ProgrammableWeb Blog
    Company · last shared 2014