SlideShare a Scribd company logo
Creating 3rd Generation
Web APIs with Hydra
Markus Lanthaler
Graz University ofTechnology
Creating 3rd Generation Web APIs with Hydra
Level 0:The Swamp of POX
Level 1: Resources
Level 2: HTTPVerbs
Level 3: Hypermedia Controls
Using Web APIs is still challenging
- Layered system
Result: tightly coupled & brittle systems
REST + Linked Data: a match made!?
Semaphobia!?
Creating 3rd Generation Web APIs with Hydra
Creating 3rd Generation Web APIs with Hydra
Resource
Link
Form
Class
Operation
Hydra
Creating 3rd Generation Web APIs with Hydra
{
"id": "cso29ax",
"title": "WWW2013",
"description": "Presentation for dev track",
"is_open": true,
"created_at": "2012-11-26T04:49:44Z"
}
http://example.com/issues/cso29ax
http://example.com/issue/{id}/comments/
{
"id": "cso29ax",
"title": "WWW2013",
"description": "Presentation for dev track",
"is_open": true,
"created_at": "2012-11-26T04:49:44Z",
"comments": "/issues/cso29ax/comments/"
}
http://example.com/issues/cso29ax
{
"@context": "/ctx/context.jsonld",
"id": "cso29ax",
"title": "WWW2013",
"description": "Presentation for dev track",
"is_open": true,
"created_at": "2012-11-26T04:49:44Z",
"comments": "/issues/cso29ax/comments/"
}
http://example.com/issues/cso29ax
{
"@context": {
...
"is_open": "http://example.com/vocab#isOpen",
"comments": {
"@id": "http://example.com/vocab#comments",
"@type": "@id"
}
}
}
http://example.com/ctx/context.jsonld
{
"@context": "/ctx/context.jsonld",
"id": "cso29ax",
"title": "WWW2013",
"description": "Presentation for dev track",
"is_open": true,
"created_at": "2012-11-26T04:49:44Z",
"comments": "/issues/cso29ax/comments/"
}
http://example.com/issues/cso29ax
{
"@id": "#comments",
"@type": "hydra:Link",
...
}
{
"@id": "#comments",
"@type": "hydra:Link",
"supportedOperations": [
{
"@id": "#create-comment",
"@type": "hydra:CreateResourceOperation",
"label": "Creates a new comment",
"method": "POST",
"expects": "#Comment",
"returns": "#Comment"
}
]
}
{
"@id": "#Comment",
"@type": "hydra:Class",
"supportedProperties": [
{
"property": "#text",
"required": true,
"readonly": false,
"writeonly": false
}
]
}
Creating 3rd Generation Web APIs with Hydra
Hydra Console
Creating 3rd Generation Web APIs with Hydra
Creating 3rd Generation Web APIs with Hydra
Creating 3rd Generation Web APIs with Hydra
Creating 3rd Generation Web APIs with Hydra
© 2013, Markus Lanthaler. Some Rights Reserved.
http://creativecommons.org/licenses/by-nc-sa/3.0/
Thank You
Questions?
Markus Lanthaler
http://www.markus-lanthaler.com
@MarkusLanthaler
mail@markus-lanthaler.com
Image Credits
(1) http://www.flickr.com/photos/joeshlabotnik/3707230247/
(2) http://onlyhdwallpapers.com/high-definition-wallpaper/903850/
(4) http://www.flickr.com/photos/kaptainkobold/3203311346/
(6) http://www.flickr.com/photos/joyoflife/1570126182/
(8) http://en.wikipedia.org/wiki/The_Scream
(9) http://www.vonwong.com/ (with permission)

More Related Content

PPTX
Hydra: A Vocabulary for Hypermedia-Driven Web APIs
PDF
The Lonesome LOD Cloud
PPTX
Building Next-Generation Web APIs with JSON-LD and Hydra
PDF
Linked Data Fragments
PPTX
JSON-LD update DC 2017
PDF
Building Beautiful REST APIs in ASP.NET Core
PDF
The Future is Federated
PDF
Sustainable queryable access to Linked Data
Hydra: A Vocabulary for Hypermedia-Driven Web APIs
The Lonesome LOD Cloud
Building Next-Generation Web APIs with JSON-LD and Hydra
Linked Data Fragments
JSON-LD update DC 2017
Building Beautiful REST APIs in ASP.NET Core
The Future is Federated
Sustainable queryable access to Linked Data

What's hot (20)

PPTX
Beautiful REST+JSON APIs with Ion
PDF
DBpedia's Triple Pattern Fragments
PDF
Querying federations 
of Triple Pattern Fragments
PDF
Full-on Hypermedia APIs with Hydra
PDF
Querying datasets on the Web with high availability
PPTX
Building Beautiful REST APIs in ASP.NET Core
PDF
Culture Geeks Feb talk: Adventures in Linked Data Land
PDF
Overview of GraphQL & Clients
PDF
Log File Analysis: The most powerful tool in your SEO toolkit
PDF
Authentication, Authorization & Error Handling with GraphQL
PDF
Live DBpedia querying with high availability
PPTX
New approaches to hypertext and REST in a mobile-first world
PDF
Initial Usage Analysis of DBpedia's Triple Pattern Fragments
PPTX
ELUNA2013:Providing Voyager catalog data in a custom, open source web applica...
PPTX
Web data from R
PDF
The Serverless GraphQL Backend Architecture
PDF
Building a Realtime Chat with React Native (Expo) & GraphQL Subscriptions
PDF
Hotcode 2013: Javascript in a database (Part 2)
KEY
Semantic web application architecture
PPTX
Using server logs to your advantage
Beautiful REST+JSON APIs with Ion
DBpedia's Triple Pattern Fragments
Querying federations 
of Triple Pattern Fragments
Full-on Hypermedia APIs with Hydra
Querying datasets on the Web with high availability
Building Beautiful REST APIs in ASP.NET Core
Culture Geeks Feb talk: Adventures in Linked Data Land
Overview of GraphQL & Clients
Log File Analysis: The most powerful tool in your SEO toolkit
Authentication, Authorization & Error Handling with GraphQL
Live DBpedia querying with high availability
New approaches to hypertext and REST in a mobile-first world
Initial Usage Analysis of DBpedia's Triple Pattern Fragments
ELUNA2013:Providing Voyager catalog data in a custom, open source web applica...
Web data from R
The Serverless GraphQL Backend Architecture
Building a Realtime Chat with React Native (Expo) & GraphQL Subscriptions
Hotcode 2013: Javascript in a database (Part 2)
Semantic web application architecture
Using server logs to your advantage
Ad

Viewers also liked (20)

PPTX
Model Your Application Domain, Not Your JSON Structures
PDF
A Short Introduction to Semantic Web-based E-Commerce: The GoodRelations Voca...
PDF
The Web 3.0 is just around the corner. Be prepared!
PDF
A Deep Dive into JSON-LD and Hydra
PDF
Developing FOSDEM Companion
PPTX
Limewood Event - VMware
PPTX
You voiced your concerns. VMware listened: Major Adjustments to vSphere 5 lic...
PPTX
Softchoice Webinar Series: VMware vSphere 5.1 Changes
PDF
Nordic VMUG User Conference 2014 - Design VMware vCenter Server
PPTX
System Center 2012 - January Licensing Update
PPTX
SQL Server 2012 ile Gelen Yeni Özellikler
PDF
Cassandra Introduction & Features
PDF
VMUGIT Meeting Pisa 2015 - SDS secondo VMware: VSAN e VVOL
PPTX
Findability Day 2015 Mattias Ellison - Findwise - Enterprise Search and fin...
PDF
Site Recovery Manager - Una visione architetturale
PDF
Docker at Djangocon 2013 | Talk by Ken Cochrane
PPTX
SQL Server Performans İpuçları
PDF
vCenter and ESXi network port communications
PDF
Virtual Space Race: How IT with The Right Stuff Creates a Competitive Advantage
PDF
VMworld 2014: Site Recovery Manager and vSphere Replication
Model Your Application Domain, Not Your JSON Structures
A Short Introduction to Semantic Web-based E-Commerce: The GoodRelations Voca...
The Web 3.0 is just around the corner. Be prepared!
A Deep Dive into JSON-LD and Hydra
Developing FOSDEM Companion
Limewood Event - VMware
You voiced your concerns. VMware listened: Major Adjustments to vSphere 5 lic...
Softchoice Webinar Series: VMware vSphere 5.1 Changes
Nordic VMUG User Conference 2014 - Design VMware vCenter Server
System Center 2012 - January Licensing Update
SQL Server 2012 ile Gelen Yeni Özellikler
Cassandra Introduction & Features
VMUGIT Meeting Pisa 2015 - SDS secondo VMware: VSAN e VVOL
Findability Day 2015 Mattias Ellison - Findwise - Enterprise Search and fin...
Site Recovery Manager - Una visione architetturale
Docker at Djangocon 2013 | Talk by Ken Cochrane
SQL Server Performans İpuçları
vCenter and ESXi network port communications
Virtual Space Race: How IT with The Right Stuff Creates a Competitive Advantage
VMworld 2014: Site Recovery Manager and vSphere Replication
Ad

Similar to Creating 3rd Generation Web APIs with Hydra (20)

PDF
Document Conversion & Retrieve and Rank 一問一答
PPTX
Web of things introduction
PDF
Life on Clouds: a forensics overview
PPTX
HATEOAS 101 - Opinionated Introduction to a REST API Style
PDF
WebAppSec Updates from W3C
PDF
Building applications with Serverless Framework and AWS Lambda
KEY
OSCON 2011 Learning CouchDB
PPTX
Going Serverless with Azure Functions
PDF
Wikipedia’s Event Data Platform, Or: JSON Is Okay Too With Andrew Otto | Curr...
KEY
Web Technology Trends (early 2009)
PDF
Life of HTML5
PDF
INTERFACE by apidays_Vulcain: beat GraphQL with HTTP/2+ by Kevin Dunglas
KEY
OSCON 2011 CouchApps
PDF
NoSQL Introduction
PPTX
NoSQL Introduction
PDF
It is not HTML5. but ... / HTML5ではないサイトからHTML5を考える
ODP
OrientDB for real & Web App development
PDF
Ajax for-coldfusion-developers
PDF
IE 8 et les standards du Web - Chris Wilson - Paris Web 2008
PDF
Infrastructure as Code: Manage your Architecture with Git
Document Conversion & Retrieve and Rank 一問一答
Web of things introduction
Life on Clouds: a forensics overview
HATEOAS 101 - Opinionated Introduction to a REST API Style
WebAppSec Updates from W3C
Building applications with Serverless Framework and AWS Lambda
OSCON 2011 Learning CouchDB
Going Serverless with Azure Functions
Wikipedia’s Event Data Platform, Or: JSON Is Okay Too With Andrew Otto | Curr...
Web Technology Trends (early 2009)
Life of HTML5
INTERFACE by apidays_Vulcain: beat GraphQL with HTTP/2+ by Kevin Dunglas
OSCON 2011 CouchApps
NoSQL Introduction
NoSQL Introduction
It is not HTML5. but ... / HTML5ではないサイトからHTML5を考える
OrientDB for real & Web App development
Ajax for-coldfusion-developers
IE 8 et les standards du Web - Chris Wilson - Paris Web 2008
Infrastructure as Code: Manage your Architecture with Git

More from Markus Lanthaler (12)

PDF
From Strings to Things to a Web of Services
PDF
The Web Is Changing — From Strings to Things
PDF
Why and How to Optimize Your Data Architecture for an Integrated Future
PDF
Creating Awesome Web APIs is a Breeze
PDF
Stop Reinventing the Wheel! Use Linked Data to Build Better APIs
PDF
A Web of Things to Reduce Energy Wastage
PPTX
JSON-LD for RESTful services
PDF
Aligning Web Services with the Semantic Web to Create a Global Read-Write Gra...
PDF
SAPS - Semantic AtomPub-based Services
PDF
A Semantic Description Language for RESTful Data Services to Combat Semaphobia
PPTX
Semantic Web Services: State of the Art
PPTX
Towards a RESTful Service Ecosystem
From Strings to Things to a Web of Services
The Web Is Changing — From Strings to Things
Why and How to Optimize Your Data Architecture for an Integrated Future
Creating Awesome Web APIs is a Breeze
Stop Reinventing the Wheel! Use Linked Data to Build Better APIs
A Web of Things to Reduce Energy Wastage
JSON-LD for RESTful services
Aligning Web Services with the Semantic Web to Create a Global Read-Write Gra...
SAPS - Semantic AtomPub-based Services
A Semantic Description Language for RESTful Data Services to Combat Semaphobia
Semantic Web Services: State of the Art
Towards a RESTful Service Ecosystem

Recently uploaded (20)

PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
Chapter 2 Digital Image Fundamentals.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Advanced Soft Computing BINUS July 2025.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Sensors and Actuators in IoT Systems using pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
KodekX | Application Modernization Development
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
MYSQL Presentation for SQL database connectivity
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PDF
Advanced IT Governance
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
Electronic commerce courselecture one. Pdf
Chapter 2 Digital Image Fundamentals.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Advanced Soft Computing BINUS July 2025.pdf
Big Data Technologies - Introduction.pptx
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Sensors and Actuators in IoT Systems using pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Chapter 3 Spatial Domain Image Processing.pdf
KodekX | Application Modernization Development
“AI and Expert System Decision Support & Business Intelligence Systems”
Per capita expenditure prediction using model stacking based on satellite ima...
Diabetes mellitus diagnosis method based random forest with bat algorithm
The Rise and Fall of 3GPP – Time for a Sabbatical?
MYSQL Presentation for SQL database connectivity
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
Advanced IT Governance

Creating 3rd Generation Web APIs with Hydra