æ¬æ¥ãAPI Academyã®ãªãŒãã¢ãŒããã¯ãã§ããæªåé«ãMike Amundsenã«ããããã°ã©ãã³ã°èšäºã®ç¿»èš³ãæäŸããããšæããŸãã ãã®æ¯èŒççãããã¹ãã§ãMikeã¯APIã®éçºã«ç¹å¥ãªæ³šæãæãå¿ èŠãããçç±ãšãAPIãã©ã®ããã«æ£ããè¡ããããã«ã€ããŠç¥çã«èªã£ãŠããŸãã
APIã¢ã«ãããŒã®æåž«ãšããŠã®æéã®éã«ãç§ã¯ããŸããŸäžçäžãæ è¡ããŠçŽ æŽããã人ã ã«äŒããŸããã 圌ãã¯ãè¥ãã¹ã¿ãŒãã¢ãããã確ç«ãããã°ããŒãã«äŒæ¥ãŸã§ãããŸããŸãªäŒæ¥ã§çŽ æŽããããããžã§ã¯ãã«åãçµãã§ããŸãã ä¿¡ããããªãã»ã©ããããç§ãã©ãã«ããŠèª°ãšè©±ããããšããŠããç§ãã¡ã®äŒè©±ã«ã¯å€ãã®äžè¬çãªã¢ã€ãã¢ãããªãã¯ãå°è±¡ãæµ®äžããŸããã æãäžè¬çãª3ã€ã¯ããã€ã¯ããµãŒãã¹ãAPIãããã³é©æ°ã®æåã§ãã ããã3ã€ã¯ãã¹ãŠãçµç¹ã®ããžã¿ã«å€é©ãå éããããã«å°å ¥ãããŠããŸãã
ãã®èšäºã¯ãäžé£ã®3ã€ã®åºçç©ã®2çªç®ã§ãã ããã§ã¯ãããã3ã€ã®åŒ·åãªãã¬ã³ããèæ¯ã«APIã¢ã«ãããŒã§æããŠããããšã«ã€ããŠã話ããŸãããŸããããªãã®äŒç€Ÿã倧ããªèšèããæ¬åœã®ã³ã³ããŒãžã§ã³ã«ç§»è¡ããã®ã«åœ¹ç«ã€ããã€ãã®ããªãã¯ã«ã€ããŠã説æããŸãã ååã®èšäºã§ã¯ããã€ã¯ããµãŒãã¹ã®éèŠæ§ã«ç¹ã«æ³šæãæããä»æ¥ã§ãã3ã€ã®ããšã1ïŒç¶ç¶çããªããªãŒãžã®ç§»è¡ã2ïŒæºåæžã¿ã®å±éã®æäŸã3ïŒè£œåãå±ããŸã§ã®æéãççž®ããããã®ãäœæ¥ãã®ãã¥ãŒã®åæžã«çŠç¹ãåœãŠãŸããåžå Žã ãããã®3ã€ã®éèŠãªç¿æ £ã¯ãçµç¹ããã€ã¯ããµãŒãã¹ã®å©ç¹ãæ倧éã«æŽ»çšããã®ã«åœ¹ç«ã¡ãŸãã
APIã¯ãã«ããã£ãã«é ä¿¡ãæäŸããŸã
å€ãã®äŒæ¥ã¯ãã€ã¯ããµãŒãã¹ã䜿çšããŠãã¹ã±ãŒã©ããªãã£ãšä¿¡é Œæ§ã確ä¿ãããããªæ¹æ³ã§çµç¹ã®äž»èŠãªæ©èœãã«ãã»ã«åããããšããŠããŸãã ãã€ã¯ããµãŒãã¹ã¯ãäŒç€Ÿã®ITã³ã³ããŒãã³ãã®éèŠãªæ©èœèŠçŽ ã«å¯Ÿå¿ããŠããŸãã ããããããã¯æŠãã®ååã«éããŸããã ãŸãããããã®æ©äŒãã©ã®ããã«æäŸããããç解ããå¿ èŠããããŸããããããã°ã圌ãã®å©ããããã°ãããžãã¹ãçŽé¢ããŠããçŸåšã®èª²é¡ã解決ããã®ã«äŸ¿å©ã§ãã ãããAPIã®åºçªã§ãã
API-ã¢ããªã±ãŒã·ã§ã³ããã°ã©ãã³ã°ã€ã³ã¿ãŒãã§ã€ã¹-ãã·ã³ã®ã°ã©ãã£ã«ã«ã€ã³ã¿ãŒãã§ã€ã¹ãšåã圹å²ãæãããŸã-äŒç€Ÿã®æ å ±ã·ã¹ãã ã®ãŠãŒã¶ãŒåãã§ãã å€ãã®å ŽåãAPIã¯ããŸããŸãªæ©èœãäžè²«ããæé ãªäŸ¡æ Œã®ãœãªã¥ãŒã·ã§ã³ã«æ··åšãããããã«äœ¿çšãããŸãã ããšãã°ãäŒç€Ÿã¯ãµãŒãã¹ã䜿çšããŠã顧客ãã¢ã«ãŠã³ããããã³è²©å£²ã«é¢é£ãããã©ã³ã¶ã¯ã·ã§ã³ãåŠçã§ããŸãã ãããã®åãµãŒãã¹ã¯æ éã«èšèšãããã°ã©ã ããã¹ãããããã®åŸãªãªãŒã¹ãããŠäŒç€Ÿã®ã€ã³ãã©ã¹ãã©ã¯ãã£ã«çµã¿èŸŒãŸããŸããã ãã®ãµãŒãã¹ã¯ãããžãã¹ã«äžå¯æ¬ ãªæ©èœãæäŸããŸãã ãŠãŒã¶ãŒã«ç©äºã®æµãã玹ä»ããæ°ãããœãªã¥ãŒã·ã§ã³ãäœæããå¿ èŠãããå Žå-ãã®ãœãªã¥ãŒã·ã§ã³ã¯ããŸããŸãªããã€ã¹ãšãã©ãããã©ãŒã ã§åäœããã¯ãã§ãã ãã®ãããAPIãæ倧éã«äœ¿çšãå§ããŠããŸãã
ãœãªã¥ãŒã·ã§ã³ã®ããã«ç ãæŸãŸãããåäžã®APIïŒããšãã°ããŠãŒã¶ãŒãã·ã¹ãã ã«æ £ããããããã®APIïŒã¯ããã®ãããªæ £ãã®æ®µéã§éèŠãªæãéèŠãªçžäºäœçšãšã¿ã¹ã¯ãããŒãæµ®ãã³äžããããã«èšèšã§ããŸãã ããã§ã¯ã顧客ãã¢ã«ãŠã³ãã販売ã«é¢é£ããããŸããŸãªæ©èœèŠçŽ ãã瀟å ã®ããŸããŸãªã¿ãŒã²ãããªãŒãã£ãšã³ã¹åãã®å®å šã§åŒ·åãã€æé ãªäŸ¡æ Œã®ãŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ã«ããã¯ã¹ã§ããAPIãå¿ èŠã§ãã ããšãã°ãå¶æ¥æ åœè ã¯ãã©ãŠã¶ãããã°ã€ã³ãããªãã£ã¹ç®¡çè ã¯PCã¢ããªã±ãŒã·ã§ã³ãããæœåšé¡§å®¢ã¯ã¹ããŒããã©ã³ãã¿ãã¬ãããããã°ã€ã³ã§ããŸãã
APIã¯ãããã°ã©ã ã®èŠçŽ ãä¿æããäžçš®ã®ãæ¥çå€ãã§ãããšèšããŸããããã¯ãå éšãµãŒãã¹ãšãµãŒãã¹ã®å€éšã³ã³ã·ã¥ãŒããŒãçžäºäœçšããäžéå±€ã§ãã APIã¯ããµãŒãã¹ã³ã³ã·ã¥ãŒãã䜿çšã§ããããã«äž»èŠãªæ©èœãé åžããããã®ããŒã«ã§ãããã®ã¿ã¹ã¯ã¯ãããŸããŸãªããŒããŠã§ã¢ãã©ãããã©ãŒã ã§ãŠãŒã¶ãŒãšå¯Ÿè©±ããããã®éèŠãªã¡ã«ããºã ãäœæããããšã§ãã ãã®ãããªæ¶è²»è ã«ã¯ããªãã£ã¹ã§åãä»ã®ããŒã ããªã¢ãŒãã§éä¿¡ããååãäž»èŠãªããžãã¹ããŒãããŒããŸãã¯ã¯ã©ã€ã¢ã³ãåŽã®éçºãŸãã¯èšèšã«é¢äžãããªã¢ãŒãã®åŸæ¥å¡ãå«ãŸããŸãã
ãã¶ã€ã³æèãšAPI
ã»ãšãã©ã®äŒæ¥ã¯ãã¢ããªã±ãŒã·ã§ã³ã®ãŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ã®éçºã«æéãè²»ããããšãããã«éèŠããç¥ã£ãŠããŸãã åªãããã¶ã€ã³ã¯ãŠãŒã¶ãŒã«å¥œãŸããããšãç¥ãããŠããããããã©ã³ãã®ãã€ã€ã«ãã£ãé«ããæ°ããããžãã¹ãä¿é²ã§ããŸãã åæã«ãé©åã«èšèšãããŠããªãã€ã³ã¿ãŒãã§ã€ã¹èšèšã¯ã顧客ãå°ããããã©ã³ããå·ã€ããåçãæžãããæ©äŒãéžæããå¯èœæ§ããããŸãã åãããšãAPIèšèšã«ãåœãŠã¯ãŸããŸãã
APIãäžå®å šãªå Žåãéçºè ã¯ãããç解ããããšãå°é£ã«ãªããŸãããã®ãããã·ã¹ãã ã«ãšã©ãŒãå°å ¥ãããã°ã®ä¿®æ£ãšã€ã³ãã©ã¹ãã©ã¯ãã£ã®å€æŽã«äžå¿ èŠãªè²»çšããããå¯èœæ§ããããŸãã ãã ããAPIãé©åã«æ©èœããŠããã°ãåŸæ¥å¡ã¯APIãå¹æçã«äœ¿çšãããããªããŸãã å®å®ãããœãªã¥ãŒã·ã§ã³ãäœæããããã«å¿ èŠãªæéã¯ççž®ãããããŒã ã¯ã¯ã©ã€ã¢ã³ããååãæ¯æŽããæ°é®®ã§é©æ°çãªãœãªã¥ãŒã·ã§ã³ãçºè¡ããã€ã³ã»ã³ãã£ãããåŸãŸãã APIèšèšã¯ãAmazonã®æé«æè¡è²¬ä»»è ã§ããWerner Vogelsã次ã®ããã«èšã£ãã»ã©éèŠãªäœæ¥åéã§ãã
APIãèšèšããããšã¯éåžžã«éèŠãªã¿ã¹ã¯ã§ããããšãããã«ããããŸããã
ããã¯ãããŒãããŒãããžã¿ã«ãšã³ã·ã¹ãã ã«åŒãä»ããããžãã¹ã®ç€Ÿå ã®å€é©ãç°¡çŽ åããã®ã«åœ¹ç«ã€é«å質ã®APIã§ãã ãã¹ãŠãæ£ããè¡ãããã«æéãè²»ããèœåã¯ãé·ãç®ã§èŠãã°ãAPIãå®å šã«æŽ»çšããæ¹æ³ãåŠãã äŒæ¥ãããã©ãéèŠãªã¹ãã«ã§ãã
åºæ¬çãªAPIèšèšã®ãã³ã
APIãæ£ããããããšã¯éåžžã«éèŠã§ã-å€ãã®çç±ããããŸãã ãªãªãŒã¹åŸãAPIãããŒã«ããã¯ããããšã¯ã§ããŸããã 顧客ãšäž»èŠãªããžãã¹æ§é ãAPIã«äŸåããŠããå ŽåãäŸåé¢ä¿ãå€æŽãããšãã·ã¹ãã ã®ä»ã®èŠçŽ ã«æå·ãäžããéèŠãªæ©èœãç Žå£ããæè³ãšæéããŒãã«ã§ããŸãã APIããã°ã©ã ãå®è£ ãããšãã¯ãä»ã®éèŠãªããšã«çæããå¿ èŠããããŸãã ã»ãã®å°ãã ãèšåããŸãã
Canonical APIã¯ååšããŸãã
äŒç€Ÿå šäœã§æšæºçãªAPIãã¶ã€ã³ãéžæããããã«ãäºåã«ãè©ŠããŠã¿ãã®ã¯ééãã§ãã äŒæ¥å šäœã«ããã€ãã®ãªããžã§ã¯ããšããŒã¿ã¢ãã«ãå®è£ ããããšããŠããŸããã€ãŸããçŸåšããã³å°æ¥ãäŸå€ãªãçµç¹ã®ãã¹ãŠã®åŽé¢ãèæ ®ããåäžã®APIãäœæããããšããŠããŸããããã¯ããããè¡ãæ¢ãŸãã§ãã éçºè ã«æšå¥šäºé ãæäŸããééããé¿ããååãããŒãããŒã®äž¡æ¹ã«ã¢ããŒã«ãããã°ãããAPIãäœæããããã«ãã¡ã€ã³ã®ç¥èãåµé çã«é瀺ããã³é©çšããã®ã«åœ¹ç«ã€å¶éã瀺ãããšããå§ãããŸãã
å®è£ ããã»ã¹ïŒäžèŠãªãã®ããã¹ãŠé®æããŸã
APIã¯åãªãã€ã³ã¿ãŒãã§ã€ã¹ã§ãããæ©èœãããã®ã§ã¯ãªããããæ°æ¥ã§ã¯ãªãæ°æ¥ã§APIãèšèšãå®è£ ããã¹ããå±éã§ããå¿ èŠããããŸãã äŒæ¥ãAPIãäœæãããªã¹ã¯ã軜æžããAPIãäºåã«ãã¹ããããªãªãŒã¹ããã»ã¹ãèªååããŠãAPIèªäœã®ã³ã¹ããåæžããäœæããããããã«ããæ¹æ³ãç¥ã£ãŠããŸãã
çµ±åã§ã¯ãªãçžäºäœçšã«çŠç¹ãåœãŠã
æåãåããŠããäŒæ¥ã察åŠã§ãããã1ã€ã®éèŠãªåŽé¢ã¯ãéçºæ®µéã§æ¢ã«èšèšæ®µéã«ããä»ã®èŠçŽ ãšããåãããæ©èœãAPIã«çµ±åããããšãæããèœåã§ãã ãã®ãããªçµç¹ã¯ãAPIã®äœ¿çšæ¹æ³ã説æããŠããããããã®ãããªAPIã¯ç解ããããã ãã§ãªãããã®äŒç€Ÿã®ä»ã®APIãšç°¡åã«ãªã³ã¯ã§ããŸãã çãç·å¯ãªçµ±åãèšèšããããããå¹ åºãçžäºäœçšã«çŠç¹ãåãããããšãéèŠã§ãã
ä»æ¥ã§ãã3ã€ã®ããš
ãã®ãããªäœæ¥ã¯ãéèŠãªå€æŽãšåæ§ã«æéãããããŸãã ãã ããæåãåŸ ã€ã®ã«é·ãã¯ããããŸããã ããŸããŸãªäŒæ¥ã§ç§ãå®ããªããã°ãªããªãã£ã3ã€ã®å¯Ÿçã«ã€ããŠã話ãããŸãããä»æ¥ã¯ãããå®è¡ã§ããŸãã
ç¬èªã®APIãã©ã¯ãã£ã¹ãå®è·µãã
APIããã°ã©ã ã®é·æçãªæåã®éèŠãªèŠçŽ ã¯ããã¯ãããžãŒåºæã®APIèšèšãã©ã¯ãã£ã¹ãéçºããããšã§ãã ãã®ãããªããã°ã©ã ããã©ã€ãã©ãªãŸãã¯ãã©ãããã©ãŒã ã䜿çšããããã°ã©ãã³ã°ã®ææ°ã®æ¹æ³ã«å®å šã«äŸåããªãããšã確èªããŠãã ããã ãã®ããã«ã¯ããæåã®ã¹ããã-APIããã©ãã€ã ã«äŸåããã®ãæã䟿å©ã§ãã
ãæåã®ããšã¯APIã§ãããšããããšã¯ãæåã«APIãèšèšããŠããããã®å®è£ ã®è©³çŽ°ã«ã€ããŠèããããšãæå³ããŸãã ååãšããŠãããžãã¹ã³ã³ããŒãã³ãã¯ãAPIã®å®è£ ã«äœ¿çšãããã¯ãããžãŒïŒSOAPãCRUDãRESTãgRPCãGraphQLããã®ä»ã®äžè¬çãªãã®ïŒã«é¢ä¿ãªãåãã§ãã å®éãé©åã«èšèšãããããã°ã©ã ã䜿çšãããšãããŸããŸãªãã¯ãããžãŒã¹ã¿ãã¯ã«é¢é£ããæšå¥šäºé ãããããçå®ã§ãããããããŒã ãæ¯æŽããå¯èœãªç¯çŽãè©äŸ¡ãããã©ãããã©ãŒã ã®å°æ¥ã®ããŒãžã§ã³ã§äžè²«ããææ決å®ãç¶æã§ããŸãã
APIãäœæããéã®äœãªã¹ã¯ãä¿èšŒããŸã
APIãé«å質ã§èšèšãããã次ã¯ãããå®çŸããŸãã åæã«ãã¹ã±ããããå§ããŠããããã¿ã€ããšã¢ã»ã³ããªãã¿ãŒã³ã«é²ãããšããå§ãããŸãã
ã¢ãŠãã©ã€ã³APIã¯ããŸãã«ãã¹ã±ãããã§ãã ãã®APIãéçºè ã®ç«å Žãããå³ãšè²ãã«ã©ã®ããã«åœ±é¿ããããå°è±¡ä»ããã®ã«åœ¹ç«ã€å°ããªããããã®ãå³é¢ãã APIã¹ã±ããã¯æ°æ¥ã§ã¯ãªããæ°æéã§å®äºããå¿ èŠããããŸãã ããã«ããã®åºç€ã«åºã¥ããŠãååãå©å®³é¢ä¿è ã«èŠããããšãã§ãããããžã§ã¯ããååŸããå¿ èŠããããŸãããã®ãããæåã®è°è«ãšæåã®ä¿®æ£ã«ã¯ã»ãšãã©è²»çšãããããŸããã ãã®ããã«Apiary APIãã³ãã¬ãŒãã䜿çšããã®ã奜ãã§ãã ç°¡åãªããŒã¯ã¢ããèšèªã䜿çšããŠãåäœããAPIãµãŒããŒãæ°åã§ã·ãã¥ã¬ãŒãã§ããŸãã ç¹å®ã®ããŒã«ã¯ããã»ã©éèŠã§ã¯ãªããå®è·µãéèŠã§ãã ã¢ãŠãã©ã€ã³ã¯ãå®äŸ¡ãªç 究ãè¡ãã®ã«åœ¹ç«ã¡ããã®åŸå®å šãªAPIã®æºåãéå§ããŸãã
ãããã¿ã€ãã³ã°ã®éãSwagger / OpenAPIã®ãããªããŒã«ã人æ°ãããããšã«æ°ä»ããŸããã ãããã¿ã€ãã¯ãæçµè£œåã®ã¯ããã«ç²Ÿå·§ãªã¢ãã«ã§ãã 圌ãã¯æ ç»ã®é¢šæ¯ã«äŒŒãŠããŸãã ããèŠããšãå®éã®ã·ãŒã³ãèŠããŸãïŒ ããŒã ã¯ããããæ°æ¥ã§è©³çŽ°ãªãããã¿ã€ããæºåã§ããã¯ãã§ãã ãã®ãããªãããã¿ã€ãã¯ããã¹ãæ©åšãä»®æ³åãµãŒãã¹ããã®ä»ã®ãã©ãããã©ãŒã èŠçŽ ã«èªç±ã«æ¥ç¶ããŠãã·ã¹ãã ãšã®çžäºäœçšãçŽæ¥èŠ³å¯ã§ããããã«ããå¿ èŠããããŸãã ãããããã¹ãããã«ã¯ãããã¿ã€ããå¿ èŠã§ãã å®éã«æ©èœããAPIã®äœæã«ãéãè²»ããå¿ èŠãããåã«ããããã¯æåŸã®é²è¡ç·ã§ãã
ããã§ãã¢ã»ã³ããªæ®µéãå®äºããŸããã 次ã«ãäœæ¥èšç»ãçå®ããæéãèšå®ãããããã¿ã€ãã補åã«å€ãå§ããå¿ èŠããããŸãã 詳现ã確èªãããããã°ãç¹å®ãããããããã«ãã¹ã±ãããšãããã¿ã€ããå¿ èŠã§ããã ãã«ãããã»ã¹èªäœã¯ããã»ã©èå³æ·±ããã®ã§ã¯ãããŸããã å®æããçµæãæ¯æ¥è¡šç€ºããã ãã§ãäœæ¥ã®æºåãæŽããŸã§æ®µéçã«APIãå®è£ ã§ããŸãã å€ãã®äŒæ¥ã¯ã90æ¥ä»¥å ã«APIã®æ§ç¯ã«åªããŠããŸãã
3ã€ã®ã¯ãžã©ç®¡çAPI
æåŸã«ãç¶æ³ãåäžã®APIã®èšèšããã³å®è£ ã¬ãã«ãããåºãèæ ®ããå Žåãçµç¹å ã®APIãæäœããããã®å®è¡å¯èœãªããã°ã©ã ãé å®ãããã¹ãŠã®ããŒã ã«ç¥ãããAPIã®éçºã«é¢ããäžè¬çãªæšå¥šäºé ãé©çšããå¿ èŠããããŸãã æ確ãªèŠå¶ã«ãããå®è£ ã®è©³çŽ°ãé床ã«ç£èŠããããšãªããäŒæ¥å šäœã§APIã®éçºãå¶åŸ¡ã§ããŸãã
API Academyã®ååã§ããEric Wildeã¯ããAPIã®ã©ã³ãã¹ã±ãŒãã管çãããããšãã€ãŸãAPIããã°ã©ã ã®3ã€ã®éèŠãªèŠçŽ ïŒãããã³ã«ããã©ãŒããããããã³çšèªïŒââãèŠå¶ããããšã®éèŠæ§ã匷調ããŠããŸãã
ãããã³ã«èŠå¶ã¯ãAPIãªãªãŒã¹ããŒã ãæ°ãããªãªãŒã¹ãæºåãããšãã«ãµããŒãããå¿ èŠãããã¢ããªã±ãŒã·ã§ã³ã¬ãã«ã®ãããã³ã«ãæ確ã«ç€ºããŠããŸãã ã»ãšãã©ã®äŒæ¥ã¯ããã¹ãŠã®æ°ããAPIãHTTPããµããŒãããå¿ èŠããããšèããŠããŸãã MQTTãThriftããã®ä»ã®ãã€ããªãããã³ã«ãªã©ãä»ã®ãªãã·ã§ã³ãããã³ã«ã瀺ããã®ããããŸãã ããã§ã¯ããã¹ãŠã®ããŒã ã«äºåã«éç¥ããããšãæãéèŠã§ãããå°æ¥ãAPIã®çžäºéçšæ§ãä¿èšŒãããå Žåã¯ããããã®ãããã³ã«ã䜿çšããå¿ èŠããããŸããã ãã®ã«ãŒã«ãå®è£ ããã«ã¯ãé£ç¶é ä¿¡ãã€ãã©ã€ã³ã䜿çšããããšããå§ãããŸãã
ãã©ãŒãããã®èŠå¶ãšã¯ããµãŒãã¹éã§ããŒã¿ãéä¿¡ããããã©ãŒãããã«ã€ããŠåæããå¿ èŠãããããšãæå³ããŸãã ã»ãšãã©ãã¹ãŠã®ãã©ãŠã¶ãŒã¯ãHTML圢åŒã®å¿çãæåŸ ããŠããŸã-ãã®ããã«ãAPIã®ã¬ãã«ã§ãã©ã®åœ¢åŒã§ãšã³ã·ã¹ãã å šäœãšããåããããã決å®ããå¿ èŠããããŸãã ã»ãšãã©ã®äŒæ¥ã¯ãJSONãXMLãCSVãªã©ã®åçŽãªåœ¢åŒã奜ã¿ãŸãããã¡ãã»ãŒãžã¢ãã«ã«ã¯ãç¹ã«ãªããžã§ã¯ãåããªã³ã¯ãå ¥åãã©ãŒã ãªã©ã®äž»èŠãªã¡ã¿ããŒã¿ããªããé·æçãªããåãã«å¿ èŠã§ãã äžæ¹ãHALãSirenãHTTPããŒã¹ã®APIåãã®Collection + JSONãªã©ãããé«åºŠãªåœ¢åŒã䜿çšããŠããäŒæ¥ãç¥ã£ãŠããŸãã ãµãŒãã¹éã®ãã€ããªã€ã³ã¿ã©ã¯ã·ã§ã³ã«ã€ããŠã¯ãå€ãã®çµç¹ãprotobufããã³åæ§ã®åœ¢åŒãåºç€ãšããŠæ¡çšããŠããŸãã ã©ã®åœ¢åŒãéžæãããã«é¢ä¿ãªããã¢ã»ã³ããªã©ã€ã³ã§ç¢ºèªããèŠå¶ã«å®å šã«æºæ ããAPIã®ã¿ãæ¬çªçšŒåããããšã確èªããããšãéèŠã§ãã
3çªç®ã®API管çãããã¯çšèªã§ãã ãã®å ŽåããµãŒãã¹éã§ã¡ãã»ãŒãžã亀æãããšãã«äœ¿çšãããããŒã¿ãã€ã³ãã®ååãšã¢ã¯ã·ã§ã³èå¥åã®å¶åŸ¡ã«ã€ããŠèª¬æããŸãã çšèªãé å®ãããšãçµç¹ã¯æ¢åã®ãµãŒãã¹ã§æ°ãããµãŒãã¹ãéåžžåãå ¥ããããããšã«çãã®äœå°ã¯ãããŸããã äž»é¡æåèšèšïŒDDDïŒã®ããã«Eric Evansãææ¡ãããå ±éèšèªããæãåºããŠãæãéèŠãªããžãã¹ãªãã¬ãŒã·ã§ã³ã«ã€ããŠè©±ãã«ã¯ãéžæããçšèªãå¿ èŠã§ããããšã«æ³šæããŠãã ããã ããŒã¿ãã£ãŒã«ããšã¢ã¯ã·ã§ã³èå¥åã«ãçæ°ãããååã䜿çšãããµãŒãã¹ãæ¬çªç°å¢ã§äœæããããšã¯å°é£ã§ãã ããã©ããããçµç«ã©ã€ã³ã®èŠçŽ ã¯ãäŒç€Ÿå šäœã§åãå ¥ããããŠããäžè¬çãªçšèªã«æºæ ããŠãããã©ããã確èªããå¿ èŠãããããã®çšèªããå€ããAPIã¯å®çšŒåã«å«ãŸããã¹ãã§ã¯ãããŸããã
ããŸã第äžã«-APIãããã¹ã±ãããããã¿ã€ãã¢ã»ã³ããªããããã³ã3ããã管çAPIããšããååãåŠãã åŸãããŒã ã¯å®è¡æã®å®å®æ§ãå±éºã«ãããããšãªããAPIãæ倧éã«æŽ»çšã§ããŸãã