Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

apidays LIVE Australia - Supporting a versioned API by Andrew McCauley

1.158 visualizaciones

Publicado el

apidays LIVE Australia - Building Business Ecosystems
Supporting a versioned API
Andrew McCauley, Developer Success Lead at Shopify

Publicado en: Tecnología
  • Sé el primero en comentar

  • Sé el primero en recomendar esto

apidays LIVE Australia - Supporting a versioned API by Andrew McCauley

  1. 1. The Path To API Versioning
  2. 2. Andrew McCauley Developer Success Lead
  3. 3. Oliver Louie Jinx
  4. 4. - Aubrey Graham “Started from the bottom now we here.”
  5. 5. Make commerce better for everyone.
  6. 6. 1M+ 175Merchants Countries
  7. 7. 4600+Apps in the app store 6Apps installed on the average merchant’s store
  8. 8. 2017
  9. 9. Multi-Location Inventory
  10. 10. • T-shirt • Small, Red • Medium, Red • Large, Red • Small, Blue • Medium, Blue • Large, Blue • etc.
  11. 11. • /admin/variants/#{variant_id}.json { "variant": { "id": 808950810, "product_id": 632910392, "title": "Pink", "price": "199.00", "sku": "IPOD2008PINK", ... "inventory_quantity": 10, "old_inventory_quantity": 10, ... } } Inventory - One Location
  12. 12. • Locations API - /admin/locations.json • Inventory Item API - /admin/inventory_items.json • Inventory Level API - /admin/inventory_levels.json Inventory - Multiple Locations
  13. 13. The Migration
  14. 14. More Merchants More Partners More GMV
  15. 15. Yolo ship it. 🚢
  16. 16. Communication Overload
  17. 17. Decoupling
  18. 18. 🔋 🔋 🔋 🔋
  19. 19. Stability and Predictability vs. Shipping and Progress
  20. 20. It’s a version! 👶🍼 2019-04
  21. 21. • Quarterly releases on the first of January, April, July, and October • Naming: yyyy-mm • shop.myshopify.com/admin/api/2020-04/products.json • Versions supported for 12 months before being removed • 9 months to migrate when a breaking change is introduced Versioning at Shopify
  22. 22. A versioning strategy is not enough.
  23. 23. Hear and be heard
  24. 24. “Actually, shout out to all those who made that API Health Dashboard - it’s a lifesaver, and adds a huge deal to our Shopify App Developer happiness. It’s as watching all your tests go green, but 1000 times more satisfactory, because it’s an external authority validation! ✅ ”
  25. 25. Deprecation Header
  26. 26. Transparency goes both ways
  27. 27. Make commerce better for everyone.
  28. 28. 💖 Developers
  29. 29. Thanks!

×