Rails Guidesã§ã¯ãResource Routing: the Rails Defaultãã¨ã㦠namespace, resource, resources ã¨ãã£ãã¡ã½ãããå©ç¨ããæ¹æ³ãç´¹ä»ããã¦ãããããã¾ã§ã¨ãããããã®æ©è½ã使ã£ã¦éçºãã¦ããããããã¯æããã¦æ¬å½ã«ç©æ¥µçã«å©ç¨ããæ¹ãè¯ãæ©è½ãªã®ãã ããã¨ã 試ãã«Twitterã®APIã®ãããªã«ã¼ãã£ã³ã°ãå®ç¾©ããªãããResource Routingãå©ç¨ããå ´åã¨ããªãå ´åã¨ãæ¯è¼ãã¦ã¿ããã¨ã«ãããããã§ã¯ (Resource Routingãå©ç¨ããã¡ãªãããåºãããã«ã)ãAPIç¨ã®Prefixã¨ãã¦åãã¹ã®å é ã« /api/v1 ãä»ãããã¨ã«ããããã®APIã¯ã¢ã¯ã»ã¹ãã¼ã¯ã³ã®çºè¡ããtweetã®åå¾ãæ稿ãã¦ã¼ã¶ããã©ãã¯ã¼æ å ±ã®åå¾ãªã©ã®æ©è½ãæä¾ãããã¾ãã/api/v1 以ä¸ã®ã©ã®ãã¿ã¼ã³
{{#tags}}- {{label}}
{{/tags}}