Alen Pokos

API Design - Getting Started

Good API design isn't about following one right approach. It's about aligning on business goals first.

API Design - Getting Started
#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.

Featured Partners

Related Articles

View all articles
CH
Chris Heilmann
With AIs wide open - WeAreDevelopers at All Things Open 2025
Last week our VP of Developer Relations, Chris Heilmann, flew to Raleigh, North Carolina to present at All Things Open . An excellent event he had spoken at a few times in the past and this being the “Lucky 13” edition, he didn’t hesitate to come and...
With AIs wide open - WeAreDevelopers at All Things Open 2025
BR
Benjamin Ruschin
What Developers Really Need to Create Great Code Demos
Every developer on earth has, at some point, had another developer to thank for a breakthrough, a success, an aha moment they wouldn’t have had without coming across that blog post, that open-source contribution, that reply on socials or that humble ...
What Developers Really Need to Create Great Code Demos
CH
Chris Heilmann
WeAreDevelopers LIVE days are changing - get ready to take part
Starting 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...
WeAreDevelopers LIVE days are changing - get ready to take part
AF
Algorand Foundation
Why Blockchain? A Developer’s Perspective
For many developers, blockchain feels like that one friend who keeps trying to sell you on their side hustle: persistent, occasionally confusing, and often surrounded by hype. But behind the buzzwords and market noise lies a technology with real engi...
Why Blockchain? A Developer’s Perspective

From learning to earning

Jobs that call for the skills explored in this talk.

API Designer

API Designer

Krell Consulting & Training

Remote
Intermediate
API
Java
REST
Python
+2
API Engineer

API Engineer

Axiom Software Solutions
Málaga, Spain

API
GIT
JIRA
Python
Node.js
+4
API Engineer

API Engineer

Api Engineerhalian Technology Limited
Warwick Civil Parish, United Kingdom

70-90K
API
REST
Azure
API Developer

API Developer

Spait Infotech Private Limited
Birmingham, United Kingdom

Remote
£25-70K
Junior
API
XML
GIT
+19