Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

API Design in the Age of Bots, IoT, and Voice

782 vues

Publié le

Presentation given at Gluecon 2017 that proposes some likely changes to our API design habits to handle emerging technologies.

Publié dans : Logiciels
  • Soyez le premier à commenter

  • Soyez le premier à aimer ceci

API Design in the Age of Bots, IoT, and Voice

  1. 1. API Design in the Age of Bots, IoT, and Voice James Higginbotham @launchany http://apideveloperweekly.com
  2. 2. The Road So Far… 1990s Distributed Objects 2000s Corp-to-Corp Integration 2010s + Mobile Integration
  3. 3. The State of API Design in 2017
  4. 4. Messaging Platforms
  5. 5. APIs are stuck in the land of CRUD
  6. 6. API Conversations with CRUD
  7. 7. When APIs Meet Jobs-To-Be-Done
  8. 8. 1. Hypermedia and HATEOAS
  9. 9. Choose Your Own Adventure for APIs
  10. 10. { "_class": "Collection", "_links": { "first": {"href": "/v1/audio"}, "item": [ {"href": "/v1/audio/d796f2d0eb72492bb088e0e9fcb1dfa2"}, {"href": "/v1/audio/0fc32337449a4a9d95f78a9a6cc85945"}, {"href": "/v1/audio/fc34f625a12f4e17945c3c027dbaf19e"}, {"href": "/v1/audio/5a7f16a728ea40c4b8179c1b6b1796ec"}, ], "last": { "href": "/v1/audio?iterator=l1b00000000000000000000000000000000h0" }, "next": { "href": "/v1/audio?iterator=l1adabb46fdba39418390f8c9b2b04a4631h1395421325416" }, "self": {"href": "/v1/audio"} }, "limit": 4, "total": 16 }
  11. 11. 2. Event Subscriptions (webhooks, event streaming)
  12. 12. h3ps://www.asyncapi.com/
  13. 13. 1_Blank
  14. 14. IoT
  15. 15. Common Alexa Commands
  16. 16. 3. Capability-Driven API Design
  17. 17. Source: h3ps://jtbd.info/replacing-the-user-story-with-the-job-story-af7cdee10c27 Find the Situation/Trigger
  18. 18. Source: h3ps://jtbd.info/replacing-the-user-story-with-the-job-story-af7cdee10c27 Identify the Motivation
  19. 19. Source: h3ps://jtbd.info/replacing-the-user-story-with-the-job-story-af7cdee10c27 Enable an Outcome with APIs
  20. 20. Example Source: h3ps://jtbd.info/replacing-the-user-story-with-the-job-story-af7cdee10c27
  21. 21. Visual Voice
  22. 22. Visual Voice
  23. 23. 1_Blank
  24. 24. 1_Blank
  25. 25. GET https://api.myexample.com/projects Accept: application/json;q=0.5,text/html;q=1.0 4. Content Negotiation For Visualization HTTP/1.0 200 OK Date: Tue, 16 June 2015 06:57:43 GMT Content-Type: text/html <html>…</html>
  26. 26. 1_Blank
  27. 27. Sessions and Context Are Critical
  28. 28. 5. Front-End APIs for Context u  Map APIs to devices u  Manage interactive sessions u  Ask for additional details before calling backend APIs u  Adaptive to support optional context data (min, typical, max data input)
  29. 29. Edge Computing
  30. 30. h3p://www.businessinsider.com/internet-of-things-cloud-compuJng-2016-10
  31. 31. Edge Computing with Synology NAS
  32. 32. AWS Snowball Edge + AWS Greengrass
  33. 33. 6. On-Device APIs u  One interface, multiple implementations u  Store-and-forward strategy with synchronization when offline u  Local API gateway and management u  Monitoring and managing edge nodes goes beyond the data center
  34. 34. Bots
  35. 35. Slack Chatbot Interaction
  36. 36. 7. Bots as Next Generation APIs u  Currently, the assumption is that bots are talking to humans u  But, what if our apps could talk to bots as if it were an API? u  What if natural language is better for some kinds of APIs?
  37. 37. API Design Is Changing 1.  Hypermedia and HATEOAS 2.  Event subscriptions 3.  Capability-driven API design 4.  Content negotiation 5.  Front-end context APIs 6.  On-device APIs 7.  Bots as next generation APIs
  38. 38. The Road Ahead 1990s Distributed Objects 2000s Corp-to-Corp Integration 2010s + Mobile Integration 2020s ? Outcome Integration
  39. 39. James Higginbotham james@launchany.com @launchany http://apideveloperweekly.com Thank you

×