filmov
tv
REST API Design: Avoid future proofing with the JSON junk drawer

Показать описание
The first in an series "Not Good APIs", where we look at common 'REST' API design flaws that cause usability or other issues.
This episode looks at problems with flawed future proofing strategies, by way of arrays of objects with keys and values.
API developers sometimes use this thinking that they can make changes without affecting the contract. We'll look at how JSON _is_ key-value pairs, and just adding a field to responses is still a backward compatible change, and a far more usable solution.
References:
Zendesk API - User Defined Custom Key/Value
APIsJSON.org
JSON
Attribute-value pairs aka key-value pairs
Covariance and contravariance
Petter Graff
Lo-dash
This episode looks at problems with flawed future proofing strategies, by way of arrays of objects with keys and values.
API developers sometimes use this thinking that they can make changes without affecting the contract. We'll look at how JSON _is_ key-value pairs, and just adding a field to responses is still a backward compatible change, and a far more usable solution.
References:
Zendesk API - User Defined Custom Key/Value
APIsJSON.org
JSON
Attribute-value pairs aka key-value pairs
Covariance and contravariance
Petter Graff
Lo-dash
REST API Design: Avoid future proofing with the JSON junk drawer
The never-ending REST API design debate by Guillaume Laforge
Rest api design avoid future proofing with the json junk drawer
How to (and how not to) design REST APIs
Designing Quality APIs (Cloud Next '18)
GraphQL, gRPC and REST, Oh My! A Method for Unified API Design • Mike Amundsen • GOTO 2020
RESTful API Patterns & Practices • Mike Amundsen • GOTO 2024
Best Practices for API Design to Keep Your App Secure, Scalable and Efficient
REST API Interview Questions (Beginner Level)
Don't Use REST APIs in your Backend, Use gRPC
A RESTful Development: API Design for the Real World by Michael Mahemoff
Converting Slick Futures into Promises in Scala REST APIs
W11D2 RESTful API design
If I could give advice to myself when starting as a software engineer
GraphQL, gRPC and REST, Oh My! A Method for Unified API Design • Mike Amundsen • GOTO 2020
Designing APIs: Less Data is More - Damir Svrtan
REST API Interview Questions (Advanced Level)
REST Endpoint Best Practices Every Developer Should Know About | HOW TO - Code Samples
REST API Best Practices - REST Endpoint Design | REST API: Key Concepts, Best Practices and Benefits
REST APIs for partners, what’s the catch when applying best practices
Why Reactive Programming - Part 2? - Build Reactive API Using Spring Boot/Spring WebFlux
You should definitely be using DTOs. Here is why #dto #softwareengineering
The Top 8 API Architectural Styles You Should Know in 2023 #technology
REST API Interview Questions and Answers for 2025
Комментарии