Better HN
topnewbestaskshowjobs
Log inSign up

BstBln

5 karma · joined Aug 23, 2019 (7y ago) · 8 submissions

Submissions

comment 7y ago · link · parent

I think so too, but even in case one disagrees, they should have mentioned it. Otherwise you’d think they never had heard of it :)

comment 7y ago · link · parent

Also seems they never heard about versioning via content negotiation :)

comment 7y ago · link · parent

"Services MUST increment their version number in response to any breaking API change. See the following section for a detailed discussion of what constitutes a breaking change. Services MAY increment their version number for nonbreaking changes as well, if desired.”

Of course you want to mention that a new field was added and what it is for, but why do you need a big notice? Your clients should just continue to work.

comment 7y ago · link · parent

Indeed :)

comment 7y ago · link · parent

Especially they are suggesting that if not mentioned in the docs, a non-breaking add of a field should result in a new api version...

comment 7y ago · link · parent

Assuming you’re working with JSON, it’s very easy to ignore extra fields and no reason to deploy any fixes for that :)

comment 7y ago · link · parent

„Some services MAY add fields to responses without changing versions numbers. Services that do so MUST make this clear in their documentation“

WTF

8.

First German in Space Died(dw.com ↗)

3 points · by BstBln · 7y ago · discuss