Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
esafak
on Nov 1, 2023
|
parent
|
context
|
favorite
| on:
How to (and how not to) design REST APIs
Obviously if it was global, but if not, you'd include it in the objects in the array, no? This is not a question of schema evolution per se.
layer8
on Nov 1, 2023
[–]
Yes. The TFA argument is about top-level information, for example when paging through a collection. Personally I think HTTP headers could fit the purpose for such meta information.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: