SlideShare a Scribd company logo
1 of 20
@_mark_burns


    HATEOAS
Hypermedia As The Engine Of
     Application State



The Hypermedia Constraint
@_mark_burns


    HATEOAS
Hypermedia As The Engine Of
     Application State



The Hypermedia Constraint
ウェブシステム   API
役目


クライエント 

サーバー
HATEOAS
Hypertext
As
The
Engine
Of
Application
State
HATEOAS
HATEOAS


A REST client needs no prior knowledge
about how to interact with any particular
 application or server beyond a generic
     understanding of hypermedia
HATEOAS


A REST client needs no prior knowledge
about how to interact with any particular
 application or server beyond a generic
     understanding of hypermedia
Hypermedia As The Engine Of Application State
        http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven


A REST API should be                        implied by the user’s
entered with no prior                       manipulation of those
knowledge beyond the initial                representations. The
URI (bookmark) and set of                   transitions may be
standardized media types that               determined (or limited by)
are appropriate for the                     the client’s knowledge of
intended audience (i.e.,                    media types and resource
expected to be understood by                communication mechanisms,
any client that might use the               both of which may be
API). From that point on, all               improved on-the-fly (e.g.,
application state transitions               code-on-demand). [Failure
must be driven by client                    here implies that out-of-band
selection of server-provided                information is driving
choices that are present in the             interaction instead of
received representations or                 hypertext.]
Hypermedia As The Engine Of Application State
        http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven


A REST API should be                        implied by the user’s
entered with no prior                       manipulation of those
knowledge beyond the initial                representations. The
URI (bookmark) and set of                   transitions may be
standardized media types that               determined (or limited by)
are appropriate for the                     the client’s knowledge of
intended audience (i.e.,                    media types and resource
expected to be understood by                communication mechanisms,
any client that might use the               both of which may be
API). From that point on, all               improved on-the-fly (e.g.,
application state transitions               code-on-demand). [Failure
must be driven by client                    here implies that out-of-band
selection of server-provided                information is driving
choices that are present in the             interaction instead of
received representations or                 hypertext.]
no prior
knowledge
state transitions

client selection

initial bookmark

representations
API BROWSING
API BROWSING


  Caching
API BROWSING


  Caching

  Human metaphors
API BROWSING


  Caching

  Human metaphors

  HTTP specification
Links ->




Collection+JSON




    Forms ->
aphro


Application
Programming
Human
REST
Objects
aphro


Simple
Links
Forms
JSON

More Related Content

Viewers also liked

IT Financial Transparency: EMC’s Successful Journey to Achieving Enterprise C...
IT Financial Transparency: EMC’s Successful Journey to Achieving Enterprise C...IT Financial Transparency: EMC’s Successful Journey to Achieving Enterprise C...
IT Financial Transparency: EMC’s Successful Journey to Achieving Enterprise C...EMC
 
Location shoot
Location shootLocation shoot
Location shootloousmith
 
Securing a Windows Infrastructure using Windows Server 2012 & Windows 8 Built...
Securing a Windows Infrastructure using Windows Server 2012 & Windows 8 Built...Securing a Windows Infrastructure using Windows Server 2012 & Windows 8 Built...
Securing a Windows Infrastructure using Windows Server 2012 & Windows 8 Built...Microsoft TechNet - Belgium and Luxembourg
 
HTTP 완벽가이드- 19장 배포시스템
HTTP 완벽가이드- 19장 배포시스템HTTP 완벽가이드- 19장 배포시스템
HTTP 완벽가이드- 19장 배포시스템박 민규
 
De stress fest2013slideshow
De stress fest2013slideshowDe stress fest2013slideshow
De stress fest2013slideshowCheckIt Out
 
Block renaissanceart
Block renaissanceartBlock renaissanceart
Block renaissanceartTravis Klein
 
MT View Day 1 what is an american?
MT View Day 1 what is an american?MT View Day 1 what is an american?
MT View Day 1 what is an american?Travis Klein
 
Apuntes U. D. 7 préstamos
Apuntes  U. D. 7   préstamosApuntes  U. D. 7   préstamos
Apuntes U. D. 7 préstamossilamora4
 
Ppp burgernomics etc
Ppp burgernomics etcPpp burgernomics etc
Ppp burgernomics etcTravis Klein
 
NDEF WriterとOSとPaSoRi
NDEF WriterとOSとPaSoRiNDEF WriterとOSとPaSoRi
NDEF WriterとOSとPaSoRiHirokuma Ueno
 
Minimum wage mon042514
Minimum wage mon042514Minimum wage mon042514
Minimum wage mon042514Travis Klein
 

Viewers also liked (14)

Doc1
Doc1Doc1
Doc1
 
Goedgekleed
GoedgekleedGoedgekleed
Goedgekleed
 
IT Financial Transparency: EMC’s Successful Journey to Achieving Enterprise C...
IT Financial Transparency: EMC’s Successful Journey to Achieving Enterprise C...IT Financial Transparency: EMC’s Successful Journey to Achieving Enterprise C...
IT Financial Transparency: EMC’s Successful Journey to Achieving Enterprise C...
 
Location shoot
Location shootLocation shoot
Location shoot
 
Securing a Windows Infrastructure using Windows Server 2012 & Windows 8 Built...
Securing a Windows Infrastructure using Windows Server 2012 & Windows 8 Built...Securing a Windows Infrastructure using Windows Server 2012 & Windows 8 Built...
Securing a Windows Infrastructure using Windows Server 2012 & Windows 8 Built...
 
HTTP 완벽가이드- 19장 배포시스템
HTTP 완벽가이드- 19장 배포시스템HTTP 완벽가이드- 19장 배포시스템
HTTP 완벽가이드- 19장 배포시스템
 
De stress fest2013slideshow
De stress fest2013slideshowDe stress fest2013slideshow
De stress fest2013slideshow
 
Block renaissanceart
Block renaissanceartBlock renaissanceart
Block renaissanceart
 
MT View Day 1 what is an american?
MT View Day 1 what is an american?MT View Day 1 what is an american?
MT View Day 1 what is an american?
 
Tes
TesTes
Tes
 
Apuntes U. D. 7 préstamos
Apuntes  U. D. 7   préstamosApuntes  U. D. 7   préstamos
Apuntes U. D. 7 préstamos
 
Ppp burgernomics etc
Ppp burgernomics etcPpp burgernomics etc
Ppp burgernomics etc
 
NDEF WriterとOSとPaSoRi
NDEF WriterとOSとPaSoRiNDEF WriterとOSとPaSoRi
NDEF WriterとOSとPaSoRi
 
Minimum wage mon042514
Minimum wage mon042514Minimum wage mon042514
Minimum wage mon042514
 

Recently uploaded

Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 

Recently uploaded (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

HATEOAS 日本語

  • 1. @_mark_burns HATEOAS Hypermedia As The Engine Of Application State The Hypermedia Constraint
  • 2. @_mark_burns HATEOAS Hypermedia As The Engine Of Application State The Hypermedia Constraint
  • 3. ウェブシステム API 役目 クライエント  サーバー
  • 6. HATEOAS A REST client needs no prior knowledge about how to interact with any particular application or server beyond a generic understanding of hypermedia
  • 7. HATEOAS A REST client needs no prior knowledge about how to interact with any particular application or server beyond a generic understanding of hypermedia
  • 8. Hypermedia As The Engine Of Application State http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven A REST API should be implied by the user’s entered with no prior manipulation of those knowledge beyond the initial representations. The URI (bookmark) and set of transitions may be standardized media types that determined (or limited by) are appropriate for the the client’s knowledge of intended audience (i.e., media types and resource expected to be understood by communication mechanisms, any client that might use the both of which may be API). From that point on, all improved on-the-fly (e.g., application state transitions code-on-demand). [Failure must be driven by client here implies that out-of-band selection of server-provided information is driving choices that are present in the interaction instead of received representations or hypertext.]
  • 9. Hypermedia As The Engine Of Application State http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven A REST API should be implied by the user’s entered with no prior manipulation of those knowledge beyond the initial representations. The URI (bookmark) and set of transitions may be standardized media types that determined (or limited by) are appropriate for the the client’s knowledge of intended audience (i.e., media types and resource expected to be understood by communication mechanisms, any client that might use the both of which may be API). From that point on, all improved on-the-fly (e.g., application state transitions code-on-demand). [Failure must be driven by client here implies that out-of-band selection of server-provided information is driving choices that are present in the interaction instead of received representations or hypertext.]
  • 10. no prior knowledge state transitions client selection initial bookmark representations
  • 11.
  • 13. API BROWSING Caching
  • 14. API BROWSING Caching Human metaphors
  • 15. API BROWSING Caching Human metaphors HTTP specification
  • 16.
  • 18.

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n\n
  8. \n
  9. If you go to Starbucks then there’s some prior implicit knowledge about interacting with the overall service. The staff can guide you through the transaction. But if you’re a tribesman from Papua New Guinea just landed in the UK as part of a documentary, then you could be lacking a lot of prior information that’s necessary for a smooth transaction. You’re going to need to understand some basic capitalism, what’s being traded, why you might want a Hazelnut Latte, and to be honest if you speak English, it’s gonna be a lot easier. I think HATEOAS is the member of staff. They can’t teach you English. They can’t give you free coffee. But if you have some level of implicit understanding of the overall process they can guide you through to the next steps.\n
  10. If you go to Starbucks then there’s some prior implicit knowledge about interacting with the overall service. The staff can guide you through the transaction. But if you’re a tribesman from Papua New Guinea just landed in the UK as part of a documentary, then you could be lacking a lot of prior information that’s necessary for a smooth transaction. You’re going to need to understand some basic capitalism, what’s being traded, why you might want a Hazelnut Latte, and to be honest if you speak English, it’s gonna be a lot easier. I think HATEOAS is the member of staff. They can’t teach you English. They can’t give you free coffee. But if you have some level of implicit understanding of the overall process they can guide you through to the next steps.\n
  11. If you go to Starbucks then there’s some prior implicit knowledge about interacting with the overall service. The staff can guide you through the transaction. But if you’re a tribesman from Papua New Guinea just landed in the UK as part of a documentary, then you could be lacking a lot of prior information that’s necessary for a smooth transaction. You’re going to need to understand some basic capitalism, what’s being traded, why you might want a Hazelnut Latte, and to be honest if you speak English, it’s gonna be a lot easier. I think HATEOAS is the member of staff. They can’t teach you English. They can’t give you free coffee. But if you have some level of implicit understanding of the overall process they can guide you through to the next steps.\n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n