Presentation Slides for ServerlessDays Tokyo 2023 (
â»ãã®æ稿ã¯ç±³å½æé 2022 å¹´ 12 æ 1 æ¥ã«ãGoogle Cloud blog ã«æ稿ããããã®ã®æ訳ã§ãã ãªã³ã©ã¤ã³ã§ãçµã¿ç«ã¦å¼ã®ãã¼ãã«ã注æããã¨ãã¾ããã¨ããããããã±ã¼ã¸ãéãã¦ã¿ãã¨ãçµç«èª¬ææ¸ãå ¥ã£ã¦ãã¾ãããå®æåãã©ããªãã®ãã¯ããã£ã¦ãã¦ããããããã®ãã¼ããã©ãçµã¿ç«ã¦ãã°ããã®ããã¾ãã§ãããã¾ãããè¨è¨ãä¸åå㪠API ã使ãã³ã³ã·ã¥ã¼ãéçºè ããåããããªçµé¨ããã¦ããã¨ããã¾ããé©åã«è¨è¨ããã API ãªãã容æã«è¦ã¤ããæ¤ç´¢ãã¦ã¢ã¯ã»ã¹ãã使ç¨ãããã¨ãã§ãã¾ããé«å質㮠API ã¯ãã³ã³ã·ã¥ã¼ãéçºè ãã¢ã¤ãã¢ãã²ããããæ°ããã¦ã¼ã¹ã±ã¼ã¹ãä½ãä¸ããæå©ãã«ãªã£ã¦ããããã¾ãã ãã¡ãããAPI è¨è¨ãæ¹åããæ¹æ³ã¯ããã¾ãããã¨ãã°ãRESTful ã®ãã©ã¯ãã£ã¹ã«å¾ããªã©ã§ããããããã客æ§ãç¥ããç¥ããã®ãã¡ã«ãã¡ãã£ã¨ããä¸ä¾¿
API Spec ãæ¸ãã¨ããéãã®ãªã¯ã¨ã¹ãããåãä»ããªãããã«ããªãã¼ã·ã§ã³ãã¦ããã¦ããªããã¤ããªãã¼ã·ã§ã³ãããå¤ã«ã¯ Spec ã§æå¾ ããéãã®åãä»ãã¦æ¬²ããã§ãããã ããã TypeScript ã§å®ç¾ãããã¨ããã¨è²ã ã¨å£ãããã¾ããç¹ã« API Spec 㨠TypeScript ã®åãæããã®ãé£ããã§ãã ãã®æã®èª²é¡ã¯ NestJS ã§ããã°ã¯ã©ã¹ãã£ã¼ã«ãã¨ãã³ã¬ã¼ã¿ã使ã£ã¦è§£æ±ºã§ããã®ã§ãããå¶ç´ã®å¼·ã FW ã§ããããä¼ç¤¾ã®äºæ ã§æ¡ç¨ãé£ããã£ããããã¾ãããã㧠fastify ã使ã£ã¦åæ§ã®ãã¨ãéæã§ããã模索ãã¦ã¿ã¾ãããã (â» OGP 㯠https://www.pakutaso.com/photo/75600.html ã§ããåãããªãã¼ã¿ãAPI Spec ä¸é士æããã£ã¦é¸ã³ã¾ãã) API ä»æ§æ¸ã¯ã©ãããã¹ãã ã¾ããããã³ãã¨ã³ãã¨
ã¦ã§ããã©ã¦ã¶ã¯ãããã¯ã¼ã¯ããæ§ã ãªãªã½ã¼ã¹ãéããããããå¦çãã¦çµã¿åããã¦ã¦ã§ããã¼ã¸ãã¬ã³ããªã³ã°ãã¾ãããªã½ã¼ã¹ãæããªãã¨ã¬ã³ããªã³ã°ã§ããªãã®ã§ããã®ä¸é£ã®å¦çã®ã©ãããé ããã¨ãã¼ã¸ã®è¡¨ç¤ºãé ããªãã¾ããã¬ã³ããªã³ã°ããã¿ããã«éå§ã§ããããã«ã¦ã§ããã©ã¦ã¶ã¯ãªã½ã¼ã¹ã®åå¾ããã®å¦çãæé©åããããã® API ãæä¾ãã¦ãã¾ããæ¬è¨äºã§ã¯ããããç¶²ç¾ çã«ç´¹ä»ããã¦ã§ãã¢ããªã®æ§è½æ¹åãå³ãä¸ã§ã©ã®ãããªãã©ã¦ã¶æ©è½ã使ããã®ããç¥ã£ã¦ããããã¨ãç®çã¨ãã¦ãã¾ããåæ©è½ã®å ·ä½çãªé©ç¨äºä¾ã«ã¤ãã¦ã¯ä»ã®è¨äºã«å§ãã¾ãã æ¬è¨äºã®å 容ã¯è¨äºå ¬éæç¹ã§ã®æ å ±ã«åºã¥ãã¦ãããé²è¦§æç¹ã§ã¯æ¢ã«å¤ããªã£ã¦ããå¯è½æ§ãããã¾ããææ°ã®æ£ç¢ºãªæ å ±ã¯ä¸æ¬¡æ å ±æºãåç §ãã¦ãã ãããã¾ãç¹å®ã®ãã©ã¦ã¶å®è£ ã«ã¤ãã¦è¨åããå ´åã¯ãæãããªãéã Chrome ãæ³å®ãã¦ãã¾ãã誤ããè£è¶³ã質åãª
ãã®è¨äºã¯SmartHR Advent Calendar 2020 11æ¥ç®ã®è¨äºã§ãã åã®ãæä¼ããã¦ããSmartHRã§ã¯ãæ¯é±ããã¯ã¨ã³ãã¨ã³ã¸ãã¢ãéã¾ããæè¡çãªãããã¯ã«ã¤ãã¦å ±æãç¸è«ããããã¼ãã£ã³ã°ãéå¬ãã¦ãã¾ãããã®ãã¼ãã£ã³ã°ã§ã¯åãTipsãªã©ãå ±æããã³ã¼ãã¼ã常è¨ããã¦ãã¾ã*1ã ãã®ã¨ã³ããªã§ã¯ããã®ã³ã¼ãã¼ã§å ±æããå 容ãã²ã¨ã¤ç´¹ä»ãã¾ãã APIã«å¶éããããæ¹æ³ã«ã¤ã㦠APIãå¤é¨ã«æä¾ããã¨ããä¸å®ã®å¶éãããã¦ã¦ã¼ã¶ãAPIãä¹±ç¨ããã®ãé²ããã¨ã¯ãããããã¨ã§ã¯ãªãã§ãããããç´ ç´ã«èããã¨ã1æéã«5000åã¾ã§APIãå®è¡ã§ãããã®ãããªããæ¹ãæãã¤ãã¾ãããGitHubã®APIããã®ããæ¹ã§ãããSmartHRã®APIãåæ§ã§ãã ãããããã§ããã®ã§ã¯ãã¨ãªãããããã¾ãããå°ãå¾ ã£ã¦ãã ãããããããªã¯ã©ã¤ã¢ã³ããAPIã大éã«
ã¯ããã« CTOA Advent Calendar 2020ã®12/7ã®è¨äºã«ãªãã¾ãã ãã£ãããªã®ã§æ¥æ¬CTOåä¼ã«é¢ãããããã®ã®è©±ããã¦ããã¾ãã èªåãæå±ããæ¥æ¬CTOåä¼ã§ã¯DX Criteriaã¨ãããããè¯ãDX(äºã¤ã®æå³ãããã)ã®ããã®åºæºãä½ã£ã¦ãã¾ãã ãã®ä¸ã®åºæºã®ä¸ã¤ã«APIé§åéçºã¨ããã®ãããã¾ãã ä»å¹´1å¹´APIé§åéçºãä¼ç¤¾ã¨ãã¦é²ããã®ã§ãããã§å¾ãç¥è¦ããç´¹ä»ãã¾ãã ä»å¹´ãã£ãã㨠ä¼ç¤¾ã¨ãã¦ã¢ããªã·ãã¯ãªã¢ããªã±ã¼ã·ã§ã³ã ã£ããã®ããã©ãããã©ã¼ã ãªæ§æ(ãã¤ã¯ããµã¼ãã¹ã§ã¯ãªã)ã«å¤æ´ãã¾ããã ä¸è¨ã¯ç°¡ç¥å³ã§è©³ç´°ã¯å æ¥ä¼ç¤¾ã®ããã°ã«æ¸ããã®ã§ãã¡ããã¿ã¦ããã ãããã§ãã ããã«ä¼´ã£ã¦æ°è¦ã®ã¨ã³ããã¤ã³ãã¯å é¨ãµã¼ãã¹éã®ããã¨ãã¯åºæ¬çã«gRPC,ç»é¢åãã®ããã¨ãã¯Twirp,GraphQL,OpenAPIãªã©ã使ãããã«ãã¦ããã¾ã
APIéçºã®åºæ¬Â - éè¡APIã®éçºäºä¾ã«å¦ã¶ã使ãããããã®ãã¶ã¤ã³ããã»ã¹ APIã¯å¤ãã®Webã·ã¹ãã ã«ããã¦ãæ¬ ãããã¨ã®ã§ããªãæè¡ã§ããAPIãã©ã®ããã«è¨è¨ããã¶ã¤ã³ããã°ãã¦ã¼ã¶ã«å©ä¾¿æ§ãæä¾ã§ããã®ãããGMOãããããããéè¡Â CTOã®ç¢ä¸è¡æ´ããã解説ãã¾ããAPIè¨è¨ã®åºæ¬ãããã¦å®éã®éè¡APIã®è¨è¨ãããâ使ããããâãçã¿åºãããã®ãã¶ã¤ã³ããã»ã¹ãå¦ã³ã¾ãã
Amazon Web Services ããã° é«éãä½ã³ã¹ãã§ãããè¯ãAPIã®æ§ç¯ â HTTP APIãå©ç¨å¯è½ï¼GAï¼ã«ãªãã¾ãã æ¬æ稿ã¯ãSenior Developer Advocate, AWS Serverless Applications ã®Eric Johnsonã®å¯ç¨¿ã«ãããã®ã§ãã 2015å¹´7æãAWSã¯Amazon API Gatewayãçºè¡¨ãã¾ãããããã«ãããéçºè ã¯ãã¾ãã¾ãªç¨®é¡ã®ã¢ã¼ããã¯ãã£ã®ããã³ãã«é ç½®ãã¦å®å ¨ã§ã¹ã±ã¼ã©ãã«ãªAPIãè¿ éã«æ§ç¯ã§ããããã«ãªãã¾ããããã以æ¥ãAPI Gatewayãã¼ã ã¯é¡§å®¢åãã®æ°ããæ©è½ã¨ãµã¼ãã¹ãæ§ç¯ãç¶ãã¦ãã¾ãã 2019å¹´åé ããã¼ã ã¯ç¾å¨ã®ãµã¼ãã¹ãè©ä¾¡ããAPI Gatewayã®æ¬¡ã®å§¿ãã©ãããã¹ããè¨ç»ãç«ã¦ã¾ãããæ°ããè¨èªã¨æè¡ã«ãããããã¿ã¤ããä½æããRESTããã³WebSocket
ãã£ã¼ãããã¯ãéä¿¡ API è¨è¨ã¬ã¤ã ã³ã¬ã¯ã·ã§ã³ã§ã³ã³ãã³ããæ´ç å¿ è¦ã«å¿ãã¦ãã³ã³ãã³ãã®ä¿åã¨åé¡ãè¡ãã¾ãã å¤æ´å±¥æ´ ã¯ããã« ããã¯ããããã¯ã¼ã¯ API ã®ä¸è¬çãªè¨è¨ã¬ã¤ãã§ãã2014 å¹´ä»¥æ¥ Google å é¨ã§ä½¿ç¨ãããCloud API ããã®ä»ã® Google API ãè¨è¨ããã¨ãã« Google ãå¾ãã¬ã¤ãã§ãããã®è¨è¨ã¬ã¤ãã¯ãå¤é¨ã®ãããããã¼ã¸ã®æ å ±æä¾ã¨ãäºãã®é£æºä½æ¥ã®å¹çåã®ããã«ããã§å ±æããã¦ãã¾ãã Cloud Endpoints ã®ãããããã¼ã«ã¯ããã®ã¬ã¤ãã¯ãgRPC API ãè¨è¨ããã¨ãã«ç¹ã«å½¹ç«ã¤ãã¨ãããããã®ãããªå ´åã«ã¯ãããã®è¨è¨ååã使ç¨ãããã¨ãå¼·ããããããã¾ãããã ãããã®ã¬ã¤ãã®ä½¿ç¨ã¯å¿ é ã§ã¯ããã¾ãããCloud Endpoints 㨠gRPC ã¯ã¬ã¤ãã«å¾ããªãã¦ã使ç¨ã§ãã¾ãã ãã®ã¬ã¤ãã¯ãgR
Wantedly Engineer blogã«æ¬éç¿ä¼è³æãé²è¦§åãã«åç·¨ãã¾ããï¼ ãã²ã覧ããã ããã¨å¹¸ãã§ãï¼ æ¬è¨äºã¯ã綺éºãªAPIéç¿ä¼@Wantedlyã®è³æã¨ãã¦ä½æããããã®ã§ãã åæã«ãã¡ãã®ã³ã¼ããåç §ãã¦ãã ããã ãã¤ã¯ããµã¼ãã¹ æµè¡ãã®ãã¤ã¯ããµã¼ãã¹ãä½ãããã®ã åã èªç±ãªè¨èªãArchitectureã§ãµã¼ãã¹ãç«ã¦ããã é害ã®å½±é¿ãé¨åç å¤åã«å¼·ã åå¥ããã㤠etc... ãã¤ã¯ããµã¼ãã¹åãããããã«ããããããã¨ãã¯å ¨ã¦APIã§è¡ã å é¨ã®APIã§ãã£ã¦ãå¤é¨ã«å ¬éã§ãããããªã¯ãªãªãã£ã®APIãä½æãããããå ã«ãµã¼ãã¹ãä½ã£ã¦ãããã¨ãéè¦ APIGatewayã¨BFF API Gateway Pattern å ¬å¼ãµã¤ããã ãè¦ãç®ã¯ã¢ããªã·ãã¯ãå®è£ ã¯ãã¤ã¯ããµã¼ãã¹ã ä¸ç®æè¦ã«è¡ãã°å ¨ã¦ã®APIãè¦ã¤ãããã ç´°ãã権é管çãå¯
é²æ 2015-07-27 API Gatewayç¨ã«Rubyã§Swagger触ããã¤æ¸ãã 2015-07-30 Node.jsã®ç·´ç¿ã«HTTPã¯ã©ã¤ã¢ã³ãã¤ãã£ã 2015-07-31 Node.jsã§AWSã®APIã§èªè¨¼ãããã¤æ¸ãã 2015-08-02 Node.jsã§Amazon API Gatewayã®ã¯ã©ã¤ã¢ã³ãæ¸ãã 2015-08-03 Amazon API Gatewayã«èªåã§å®ç¾©ããã㤠2015-08-04 Amazon Lambdaã«ã¾ã¨ãã¦ã¢ãããã¼ãããã㤠2015-08-05 SwaggerãAPI Gatewayã«åæ ãããã㤠2015-08-06 Lambdaã¨API Gatewayã¾ã¨ãã¦ç®¡çããã㤠2015-08-07 Lambdaã¨API Gatewayç¨ã®WAF 2015-08-08 fluctã§API GatewayãLambdaã¨ä»²
ããã«ã¡ã¯ããã¼ã®ã§ããä»æ¥ã¯Lambdaããã使ãããããªãæ°æ©è½ããç´¹ä»ãã¾ãã ãµã©ãã¨ä»æåºãã¦ã®æ°ãããµã¼ãã¹ãç»å ´ããããã¾ããã社å ã®ãã£ããããããããã¦ããã®ã§ãã®è©³ãã解説ã¯ã¾ãå¥ã®è¨äºã§ç´¹ä»ããããã¨æãã¾ãã ä»åã®æ°æ©è½ã¯Lambda FunctionãAPIåãã¦ãã¾ã£ã¦SDKã®ã¤ã³ã¯ã«ã¼ããªãã«å©ãã¦ãã¾ãããã¨ããæ©è½ã§ãã LambdaãWebããå©ãã«ã¯SDKãå¿ è¦ å æ¥ããããªè¨äºãæ¸ãã¾ããã Amazon EC2ã(ãªãã¹ã)使ããã«ã·ã¹ãã ãæ§ç¯ãã¦ã¿ã ãã®è¨äºã®ä¸ã§LambdaãJavaScriptããç´æ¥å©ãããã¨ã«æå¤ã¨åé¿ãããã¾ãããLambdaã§åããããªãã¤ã¯ããªé¢æ°ã§ããã°ãã¯ãEC2ã¯è¦ããªããã§ããã ãã ãã®ããã«WebããJavaScriptã使ã£ã¦Lambdaãå©ãã«ã¯ãã®è¨äºã«ããããã«ãAWS SDKã®ã»ãããã¨ã
Build RAG applications with MongoDB Atlas, now available in Knowledge Bases for Amazon Bedrock Foundational models (FMs) are trained on large volumes of data and use billions of parameters. However, in order to answer customersâ questions related to domain-specific private data, they need to reference an authoritative knowledge base outside of the modelâs training data sources. This is commonly ac
è¦ããAPIãå©ãè¦ããAPIãå©ãIntroductionã¾ããããã°ã¤ã³APIæ¦ç¥ãã¼ã¿åå¾APIç·¨æã»è£çµ¦ã»ä¿®çã»é å¾åºæã»æ¦éã¾ã¨ããã¨ããPowered by GitBookIntroductionBuildbundle installrakec86.pdf will be generated! âwishlistã¯ãã¡ãâ Nextã¾ãããLast updated 2 years agoEdit on GitHub
by Ben Christensen About a year ago the Netflix API team began redesigning the API to improve performance and enable UI engineering teams within Netflix to optimize client applications for specific devices. Philosophies of the redesign were introduced in a previous post about embracing the differences between the different clients and devices. This post is part one of a series on the architecture
ç¾å¨ã§ã¯REST APIã¯ã¨ã¦ãä¸è¬çãªè©±é¡ã§ããã»ã¨ãã©ãã¹ã¦ã®Webã¢ããªã±ã¼ã·ã§ã³ã®ä¸é¨åã¨ãªã£ã¦ãã¾ããã·ã³ãã«ã§ä¸è²«æ§ãããå®éçãªã¤ã³ã¿ã¼ãã§ã¼ã¹ã¯å¿ é ã§ããããã¯çããã®APIãä»ã®äººã使ããã¨ãã¨ã¦ã容æã«ãã¾ããçããã«ã¨ã£ã¦ã¯RESTã®å®è·µãæ¥å¸¸çã«æããããããããã¾ããããRESTããã¾ãå°éããªã人ã ãããè¦ããã¾ãããããRESTã«ã¤ãã¦æ稿ãããã£ããã§ããã ãã®è¨äºã«ã¯RESTfulãªAPIãè¨è¨ããæã«èæ ®ãã¹ããã¹ããã©ã¯ãã£ã¹ãããã¾ãã 注æ : ããã§ã®ãã¹ããã©ã¯ãã£ã¹ã¯ãç§ãéå»ã®çµé¨ã«åºã¥ãã¦è¯ãã¨èããäºä¾ã§ããããéãèãããæã¡ã§ããã°ããæ°è»½ã«ã¡ã¼ã«ããã ããã°æè¦äº¤æã§ããã¨æãã¾ãã APIã®ãã¼ã¸ã§ã³ã示ã APIã®ãã¼ã¸ã§ã³ã¯å¿ é ã§ããã¹ãã§ãããããããã¨æéãçµã£ã¦APIãå¤ãã£ã¦ãå½±é¿ãåãã¾ããããã®æ¹æ³ã®1ã¤ã¯UR
ãã®è¨äºã¯Pepabo Advent Calendar 2014ã®11æ¥ç®ã®è¨äºã§ãã åæ¥ã¯ãtnmtããã®Vagrantã®shell provisionerã§Apacheã®ãã«ãæ¸tarãã¼ã«ãOSãã¼ã¸ã§ã³æ¯ã«ä½ãè¡ã§ããã ã¯ããã« ä»åã¯ãWeb APIãä½ãã¨ãã«èãããã¨ãã¾ã¨ãã¾ããã æ¬å½ã¯ã社å åãã«è³æãä½ã£ã¦ãã¦ã社å ã®åå¼·ä¼ã¨ãã§è©±ããã°ããããã£ã¦èãã¦ãããã§ãããã¢ããã³ãã«ã¬ã³ãã¼ã®ãã¿ãæ¬å½ã«ãªãã¦å°ã£ã¦ããã®ã§ããã使ãã¾ãã 対象è APIãä½ãæãã¨æ¸ãã¦ã¾ãããã¯ã©ã¤ã¢ã³ãå´ã®äººã«ã¨ã£ã¦ãç¥ã£ã¦ããå¿ è¦ããããã¨ãªã®ã§ããµã¼ãå´ã®äººã»ã¯ã©ã¤ã¢ã³ãå´ã®äººä¸¡æ¹ã対象è ã§ãã APIãä½ãã¨ãã«èããã㨠ãAPIãä½ãã¨ããã¨è¨ã£ã¦ããè²ããªç¶æ³ãããã¾ãã ã¾ãã¯ãããçµãã¾ãã APIã®ç¨®é¡ ãã©ã¤ãã¼ãAPI ã¢ããªã®APIãªã©ä½¿ã人ãéå®ãã
ããæ°ã¶æã«ããã£ã¦ãWebPayã¯APIã®ã¨ã©ã¼ã«ã¾ã¤ããå¤æ´ãå°ããã¤è¡ã£ã¦ãã¾ããã ããã«ä»éãã¦ããã¥ã¡ã³ããæ¡å¼µãã¾ããããå¤æ´ã®èæ¯ã«ã¤ãã¦ååã«èª¬æã§ãã¦ããªãé¨åãããã¾ããã ãã®è¨äºã§ã¯ãæè¿ã®ã¨ã©ã¼ã«é¢é£ããå¤æ´ã®èæ¯ãç´¹ä»ããä»å¾ã©ã®ããã«ã¨ã©ã¼ããã³ãã«ãã¹ãã説æãã¾ãã è¨äºã®å 容ã¯å·çæç¹ã®ãã®ã§ãããä»å¾åãããã«ã¨ã©ã¼ãAPIã®å¤æ´ãè¡ããã¨ãããã¾ãã å¤æ´ããã£ã¦ãè¨äºã®å 容ã¯ãã®æç¹ã®å 容ãä¿æããã¦ã§ããµã¤ãã®ããã¥ã¡ã³ãã®ã¿æ´æ°ãã¾ãã å¿ ãã¦ã§ããµã¤ãã®ããã¥ã¡ã³ããåããã¦åç §ããæå ã§åä½ç¢ºèªãè¡ã£ã¦ãã ããã ã¨ã©ã¼ã¯ãªãèµ·ããã®ã WebPayã®APIã¯ããªã¯ã¨ã¹ããããæä½ãã§ããªãã£ãã¨ãã«ã¨ã©ã¼ãè¿ãããã«è¨è¨ãã¦ãã¾ãã å¯è½ãªãããã¨ã©ã¼ã«ãªããªããããªè¨è¨ãå®è£ ãå¿ããã¦ãã¾ãããã¨ã©ã¼ã¯çµ¶å¯¾ã«é¿ãããã¾ããã ä¾ãã°ã
Clean, intuitive design â With Slate, the description of your API is on the left side of your documentation, and all the code examples are on the right side. Inspired by Stripe's and PayPal's API docs. Slate is responsive, so it looks great on tablets, phones, and even in print. Everything on a single page â Gone are the days when your users had to search through a million pages to find what they
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}