Good API design isn't about following one right approach. It's about aligning on business goals first.
#1about 6 minutes
Defining the goals and purpose of API design
A good API design process starts by aligning on business goals, as disagreements often stem from mismatched objectives rather than technical choices.
#2about 5 minutes
Decoupling the client, API, and backend pillars
A solution's architecture should treat the client, API, and backend as independent pillars to avoid fragility and tight coupling during development.
#3about 4 minutes
Using JSON:API to focus on data, not format
The JSON:API specification provides a standard for structure, relationships, and operations, allowing developers to focus on business data instead of reinventing formats.
#4about 4 minutes
Use case: Designing a user registration flow
A multi-step registration process should be handled by the client, while the API provides distinct endpoints for validation and final resource creation.
#5about 6 minutes
Use case: Evolving a classifieds listing resource
An example of iteratively designing a listing resource by adding seller relationships and handling user-specific data requests through filtering.
#6about 4 minutes
Use case: Modeling conversations and messages
Designing a messaging system involves modeling conversations and messages while consolidating redundant resource types like 'seller' and 'buyer' into a single 'user' type.
#7about 2 minutes
Use case: Designing a unified search endpoint
A single search endpoint can return different resource types by using a generic 'search_result' resource with polymorphic relationships.
#8about 2 minutes
Key takeaways and further API design topics
A summary of core principles like focusing on content and naming, plus a look at other critical topics like documentation, security, and versioning.
#9about 12 minutes
Audience Q&A on tools, errors, and GraphQL
The speaker answers audience questions on topics including documentation tools like Postman, error handling strategies, and comparing JSON:API with GraphQL.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
03:50 MIN
Leveraging APIs as a tool for clean architecture
The Great API Debate: REST, GraphQL, or gRPC?
06:47 MIN
Designing APIs for data aggregation and UI plugins
100 million days in Vienna: A story of APIs & AI in tourism.
03:33 MIN
Following four core principles for outstanding API design
Insights from building the Canva Developers Platform to empower 185 million designers
01:24 MIN
The cyclical nature of API design and development
Awful APIs: A History Lesson in Industry Mistakes and Mishaps
06:46 MIN
Q&A: Who designs web APIs and why use them over libraries
Web APIs you might not know about
01:47 MIN
Evaluating platforms and designing with an API-led approach
Why make use of an integration platform in today's software developments and infrastructure?
01:50 MIN
The challenges of building and maintaining APIs
API = Some REST and HTTP, right? RIGHT?!
03:39 MIN
Designing APIs for AI consumption and built-in security
Lessons learned from observing a billion API requests
WeAreDevelopers LIVE days are changing - get ready to take partStarting with this week's Web Dev Day edition of WeAreDevelopers LIVE Days, we changed the the way we run these online conferences. The main differences are:Shorter talks (half an hour tops)More interaction in Q&AA tips and tricks "Did you know" sect...
Chris Heilmann
All the videos of Halfstack London 2024!Last month was Halfstack London, a conference about the web, JavaScript and half a dozen other things. We were there to deliver a talk, but also to record all the sessions and we're happy to share them with you. It took a bit as we had to wait for th...
Chris Heilmann
Dev Digest 139 - Soft and hard queriesNews and ArticlesLet's start with Amelia Wattenberger's excellent essay Bridging the hard and the soft talking about humans and data. Do you sometimes also miss aspects of the early web like a lack of big data and freedom to create without numeric go...
Luis Minvielle
The Best Upcoming IT WebinarsNow that you already know what IT webinars are and how they can help you level up your professional appeal, you might want actually to get into one. Live tech webinars are one of the best ways to stay on top of the latest trends and tools because eit...
From learning to earning
Jobs that call for the skills explored in this talk.