SlideShare a Scribd company logo
COMMUNICATE
HOW TO
OR… “HOW WE CAN CREATE MORE MEANINGFUL, EXPRESSIVE INTERFACES,
BUILD DYNAMIC CLIENT LIBRARIES & POWERFUL CLIENT TOOLING,
& MOVE TOWARDS REALTIME HYPERMEDIA APIS.”
HOW TO COMMUNICATE
LIMITATIONS OF OUR CURRENT APIS
▸ Not self-descriptive.
▸ Complexity as APIs grow. Ad-hoc endpoints.
▸ Can be inefficient. Multiple round-trips & overfetch.
▸ What about realtime?
HOW TO COMMUNICATE
TACKLING API COMPLEXITY
▸ Schemas - API description, typically for documentation.
▸ Hypermedia - Modest uptake, no killer tooling.
▸ Graph QL - Motived by inefficiency & complexity.
THE FUNDAMENTALS
What interface does the service present?
▸ Define a DOM that clients interact with.
▸ Decouple the encoding and transport concerns.
HOW TO COMMUNICATE
THE DOCUMENT MODEL
▸ Data: {…}, […],123, 123.456, “String”, true, false, null.
▸ Documents: Some content with an associated URL.
▸ Links: A URL, an action, and optionally some parameters.
HOW TO COMMUNICATE
THE DOCUMENT MODEL
▸ Documents can be nested.
▸ Contain both links and data.
▸ Support either schemas or hypermedia.
HOW TO COMMUNICATE
INTERACTING USING CORE API
▸ Client only interfaces at the document layer.
▸ Not concerned with network details in any way.
▸ Multiple encodings & transports supported.
1.
HOW TO COMMUNICATE
4.
2.
3.
▸ Provide the document to act on.
▸ Index to a link in the document.
▸ Possibly some named parameters.
HOW TO COMMUNICATE
INTERACTING WITH OUR API
HOW TO COMMUNICATE
MEANINGFUL INTERACTIONS
▸ Building network requests…
▸ Performing interactions…
HOW TO COMMUNICATE
INTERACTING WITH EXISTING SERVICES
HOW TO COMMUNICATE
INTERACTING WITH EXISTING SERVICES
HOW TO COMMUNICATE
CLIENT TOOLING
HOW TO COMMUNICATE
MULTIPLE ENCODINGS
▸ Core API servers can respond with a range of encodings.
HOW TO COMMUNICATE
PARTIAL TRANSITIONS
▸ Interact with nested documents.
▸ Replace only the relevant part of the document tree.
HOW TO COMMUNICATE
RICH INTERFACES
HOW TO COMMUNICATE
RICH INTERFACES
▸ Not constrained to CRUD style APIs.
HOW TO COMMUNICATE
REALTIME HYPERMEDIA APIS
1.
4.
2.
3.
5.
HOW TO COMMUNICATE
REALTIME HYPERMEDIA APIS
▸ WebSockets support for realtime APIs.
HOW TO COMMUNICATE
SUMMARY
▸ Meaningful, self-descriptive interfaces.
▸ Able to interact with existing schema/hypermedia formats.
▸ Schemas for an easy win. Hypermedia for rich interfaces.
▸ Encourages an interface-first API design style.
▸ Allows for powerful client tooling.
▸ Realtime Hypermedia APIs.
THANKS!
Twitter: @_tomchristie
www.coreapi.org

More Related Content

PDF
dotCloud presents Stack.io
PDF
rest without put
PPTX
1501 meetup
PDF
End to End Testing: Bug Squashing for API Developers
PDF
How to improve our acceptance tests - Pyccuracy VS Splinter
PDF
Webcast: Apigee Edge Product Demo
PDF
I Love APIs 2015: Create Design-driven APIs with Node.js and Swagger
PDF
Developers Hate Marketing! Driving API Adoption
dotCloud presents Stack.io
rest without put
1501 meetup
End to End Testing: Bug Squashing for API Developers
How to improve our acceptance tests - Pyccuracy VS Splinter
Webcast: Apigee Edge Product Demo
I Love APIs 2015: Create Design-driven APIs with Node.js and Swagger
Developers Hate Marketing! Driving API Adoption

Viewers also liked (20)

PDF
Does your API need to be PCI Compliant?
PPTX
The API Facade Pattern: Technology - Episode 3
PDF
Your API Sucks! Why developers hang up and how to stop that.
PDF
API Copyrights: New Considerations for Building or Using APIs
PPTX
Mapping out your API Strategy - 4.20.11 Webinar slides
PDF
Deep-Dive: How Can APIs Help You Innovate? (Partner Ecosystems)
PPTX
O'Reilly author webinar "APIs: A Strategy guide": Transforming Your Business...
PPTX
APIs Inside Enterprise - SOA Displacement?
PDF
Edge API BaaS Deep-Dive: Streamline app development
KEY
Pragmatic RESTful API Design: Apigee Webinar
PDF
10 patterns in successful api programs 2
PPTX
Economic Models for Reinventing Telco - Innovation with APIs
PDF
Create FHIR-Enabled Experiences: API-First Approach for Healthcare Apps
PDF
Using APIs to Program Disparate IoT Devices
PPTX
Security as an Enabler for the Digital World - CISO Perspective
PPTX
API Management for Software Defined Network (SDN)
PDF
How to Achieve Agile API Security
PPTX
API Design - 3rd Edition
PDF
API Best Practices Webinar: Metrics - What to Measure
PPT
Why APIs are not SOA++
Does your API need to be PCI Compliant?
The API Facade Pattern: Technology - Episode 3
Your API Sucks! Why developers hang up and how to stop that.
API Copyrights: New Considerations for Building or Using APIs
Mapping out your API Strategy - 4.20.11 Webinar slides
Deep-Dive: How Can APIs Help You Innovate? (Partner Ecosystems)
O'Reilly author webinar "APIs: A Strategy guide": Transforming Your Business...
APIs Inside Enterprise - SOA Displacement?
Edge API BaaS Deep-Dive: Streamline app development
Pragmatic RESTful API Design: Apigee Webinar
10 patterns in successful api programs 2
Economic Models for Reinventing Telco - Innovation with APIs
Create FHIR-Enabled Experiences: API-First Approach for Healthcare Apps
Using APIs to Program Disparate IoT Devices
Security as an Enabler for the Digital World - CISO Perspective
API Management for Software Defined Network (SDN)
How to Achieve Agile API Security
API Design - 3rd Edition
API Best Practices Webinar: Metrics - What to Measure
Why APIs are not SOA++
Ad

Similar to Real-time hypermedia APIs: Exploring the fundamentals of how we build networked application interfaces (20)

PDF
Facebook & Twitter API
PDF
api_101
PPTX
Standards of rest api
PDF
Past, Present and Future of APIs of Mobile and Web Apps
PDF
GlueCon 2018: Are REST APIs Still Relevant Today?
PPTX
REST Methodologies
PPTX
Undisturbed rest chapter01
PPTX
Best Practices for Architecting a Pragmatic Web API.
PPTX
web connectivity in IoT
PDF
Designing an API
PPTX
Rest APIs Training
PPTX
A Deep Dive into RESTful API Design Part 2
PPTX
Super simple introduction to REST-APIs (2nd version)
PPTX
PPTX
REST library.pptx
PDF
Making Things Work Together
PPTX
Documenting an API for the First Time? Quick-Start Tips for Your First API Do...
PDF
Modern REST API design principles and rules.pdf
PPTX
RestfulDesignRules
PDF
the-10-rest-commandments.pdf
Facebook & Twitter API
api_101
Standards of rest api
Past, Present and Future of APIs of Mobile and Web Apps
GlueCon 2018: Are REST APIs Still Relevant Today?
REST Methodologies
Undisturbed rest chapter01
Best Practices for Architecting a Pragmatic Web API.
web connectivity in IoT
Designing an API
Rest APIs Training
A Deep Dive into RESTful API Design Part 2
Super simple introduction to REST-APIs (2nd version)
REST library.pptx
Making Things Work Together
Documenting an API for the First Time? Quick-Start Tips for Your First API Do...
Modern REST API design principles and rules.pdf
RestfulDesignRules
the-10-rest-commandments.pdf
Ad

More from Apigee | Google Cloud (20)

PDF
How Secure Are Your APIs?
PDF
Magazine Luiza at a glance (1)
PPTX
Monetization: Unlock More Value from Your APIs
PDF
Apigee Demo: API Platform Overview
PDF
Ticketmaster at a glance
PDF
AccuWeather: Recasting API Experiences in a Developer-First World
PDF
Which Application Modernization Pattern Is Right For You?
PPTX
Apigee Product Roadmap Part 2
PPTX
The Four Transformative Forces of the API Management Market
PDF
Walgreens at a glance
PDF
Apigee Edge: Intro to Microgateway
PDF
Managing the Complexity of Microservices Deployments
PDF
Pitney Bowes at a glance
PPTX
Microservices Done Right: Key Ingredients for Microservices Success
PDF
Adapt or Die: Opening Keynote with Chet Kapoor
PDF
Adapt or Die: Keynote with Greg Brail
PDF
Adapt or Die: Keynote with Anant Jhingran
PDF
London Adapt or Die: Opening Keynot
PDF
London Adapt or Die: Lunch keynote
PDF
London Adapt or Die: Closing Keynote — Adapt Now!
How Secure Are Your APIs?
Magazine Luiza at a glance (1)
Monetization: Unlock More Value from Your APIs
Apigee Demo: API Platform Overview
Ticketmaster at a glance
AccuWeather: Recasting API Experiences in a Developer-First World
Which Application Modernization Pattern Is Right For You?
Apigee Product Roadmap Part 2
The Four Transformative Forces of the API Management Market
Walgreens at a glance
Apigee Edge: Intro to Microgateway
Managing the Complexity of Microservices Deployments
Pitney Bowes at a glance
Microservices Done Right: Key Ingredients for Microservices Success
Adapt or Die: Opening Keynote with Chet Kapoor
Adapt or Die: Keynote with Greg Brail
Adapt or Die: Keynote with Anant Jhingran
London Adapt or Die: Opening Keynot
London Adapt or Die: Lunch keynote
London Adapt or Die: Closing Keynote — Adapt Now!

Recently uploaded (20)

PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Machine learning based COVID-19 study performance prediction
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Machine Learning_overview_presentation.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PPT
Teaching material agriculture food technology
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Assigned Numbers - 2025 - Bluetooth® Document
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Machine learning based COVID-19 study performance prediction
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
A Presentation on Artificial Intelligence
Diabetes mellitus diagnosis method based random forest with bat algorithm
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Programs and apps: productivity, graphics, security and other tools
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Machine Learning_overview_presentation.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Network Security Unit 5.pdf for BCA BBA.
Teaching material agriculture food technology
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
The AUB Centre for AI in Media Proposal.docx

Real-time hypermedia APIs: Exploring the fundamentals of how we build networked application interfaces