{"id":6186,"date":"2020-04-05T11:29:49","date_gmt":"2020-04-05T02:29:49","guid":{"rendered":"https:\/\/pandanote.info\/?p=6186"},"modified":"2022-08-07T12:48:04","modified_gmt":"2022-08-07T03:48:04","slug":"growi%e3%81%ae%e8%a8%98%e4%ba%8b%e3%82%92%e6%9b%b4%e6%96%b0%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%ae%e3%82%b3%e3%83%bc%e3%83%89%e3%82%92scala%e3%81%a7%e6%9b%b8%e3%81%84%e3%81%a6%e3%81%bf%e3%81%9f","status":"publish","type":"post","link":"https:\/\/pandanote.info\/?p=6186","title":{"rendered":"GROWI\u306e\u8a18\u4e8b\u3092\u66f4\u65b0\u3059\u308b\u305f\u3081\u306e\u30b3\u30fc\u30c9\u3092Scala\u3067\u66f8\u3044\u3066\u307f\u305f\u3002"},"content":{"rendered":"<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>\u5148\u65e5Setup\u3057\u305fGROWI\u3092\u4f7f\u3063\u3066\u652f\u51fa\u7ba1\u7406\u7c3f\u3092\u3064\u3051\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6211\u304c\u5bb6\u306e\u652f\u51fa\u306f<a href=\"https:\/\/amzn.to\/2xMAdpK\">\u30af\u30ec\u30b8\u30c3\u30c8\u30ab\u30fc\u30c9<\/a>\u7d4c\u7531\u306e\u3082\u306e\u304c\u307b\u3068\u3093\u3069\u3067\u3001\u304b\u3064\u30e1\u30a4\u30f3\u3067\u4f7f\u3063\u3066\u3044\u308b<a href=\"https:\/\/www.diners.co.jp\/\">\u30c0\u30a4\u30ca\u30fc\u30b9\u30af\u30e9\u30d6\u30ab\u30fc\u30c9<\/a>\u306f<a href=\"https:\/\/amzn.to\/2xMAdpK\">\u30af\u30ec\u30b8\u30c3\u30c8\u30ab\u30fc\u30c9<\/a>\u306e\u5229\u7528\u5c65\u6b74\u3092CSV\u30d5\u30a1\u30a4\u30eb\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u306a\u304c\u3089\u3001\u3053\u306e\u8a18\u4e8b\u3092\u6700\u521d\u306b\u66f8\u3044\u305f\u6642\u70b9(2020\u5e744\u6708)\u3067\u306f\u5229\u7528\u5c65\u6b74\u304b\u3089\u624b\u52d5\u3067GROWI\u306e\u652f\u51fa\u7ba1\u7406\u7c3f\u306b\u8ee2\u8a18\u3057\u3066\u3044\u308b\u72b6\u6cc1\u3067\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001CSV\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u30c7\u30fc\u30bf\u306e\u3046\u3061\u306e\u4e00\u90e8\u3092\u629c\u304d\u51fa\u3057\u3066\u3001GROWI\u306e\u6307\u5b9a\u3057\u305f\u8a18\u4e8b\u306b\u53cd\u6620\u3055\u305b\u308b\u3053\u3068\u3092\u6700\u7d42\u7684\u306a\u76ee\u6a19\u3068\u3057\u3064\u3064\u3001\u307e\u305a\u306fGROWI\u306e\u6307\u5b9a\u3057\u305f\u8a18\u4e8b\u3092GROWI\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3053\u3068\u306a\u304f\u7de8\u96c6\u3059\u308b\u305f\u3081\u306e\u65b9\u6cd5\u3092\u691c\u8a0e\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>GROWI\u306e\u4e2d\u306e\u8a18\u4e8b\u3092\u7de8\u96c6\u3059\u308b\u65b9\u6cd5\u306e\u691c\u8a0e<\/h2>\n<p>GROWI\u306f\u4eca\u3069\u304d\u306eWiki\u306a\u306e\u3067\u3001REST\u3063\u307d\u3044WebAPI\u304f\u3089\u3044\u666e\u901a\u306b\u3042\u308b\u3060\u308d\u3046\u5e38\u8b58\u7684\u306b\u8003\u3048\u3066\u2026<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001Google\u5148\u751f\u306b\u304a\u4f3a\u3044\u3092\u7acb\u3066\u3066\u307f\u305f\u308a\u3001GitHub\u3067\u30b0\u30b0\u3063\u3066\u307f\u308b\u3068\u3001\u4ee5\u4e0b\u306e2\u3064\u304c\u8a18\u4e8b\u306e\u8aad\u307f\u51fa\u3057\u53ca\u3073\u66f4\u65b0\u7528\u306b\u4f7f\u3048\u308b\u3088\u3046\u3067\u3059(GROWI\u306f\u4ed6\u306b\u3082WebAPI\u304c\u5927\u91cf\u306b\u3042\u308b\u3088\u3046\u3067\u3059\u306e\u3067\u3001\u3044\u308d\u3044\u308d\u306a\u64cd\u4f5c\u304c\u3067\u304d\u305d\u3046\u3067\u3059)\u3002<\/p>\n<ol>\n<li>\/_api\/pages.get: \u8a18\u4e8b\u306e\u8aad\u307f\u51fa\u3057\u7528\u306eAPI<\/li>\n<li>\/_api\/pages.update: \u8a18\u4e8b\u306e\u66f4\u65b0\u7528\u306eAPI\u3002\u305f\u3060\u3057\u3001\u65b0\u898f\u306e\u8a18\u4e8b\u306e\u8ffd\u52a0\u306b\u306f\u4f7f\u3048\u306a\u3044\u306e\u3067\u3001\u305d\u306e\u5834\u5408\u306b\u306f\u5225\u306eAPI\u3092\u4f7f\u7528\u3059\u308b\u3002<\/li>\n<\/ol>\n<p>\u4ed6\u306b\u3082GROWI\u306b\u306fCROWI\u7531\u6765\u306eWebAPI\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u4e00\u89a7\u53ca\u3073\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u306f\u4ee5\u4e0b\u306eURL\u306b\u3042\u308b\u3088\u3046\u3067\u3059(\u3053\u306e\u8a18\u4e8b\u3092\u6700\u521d\u306b\u66f8\u3044\u305f\u6642\u70b9(2020\u5e744\u6708)\u306e\u60c5\u5831\u3067\u3059)\u3002<\/p>\n<ul>\n<li>\u4e00\u89a7: https:\/\/github.com\/weseek\/growi\/blob\/master\/src\/server\/routes\/index.js<\/li>\n<li>\u30b3\u30fc\u30c9: https:\/\/github.com\/weseek\/growi\/blob\/master\/src\/server\/routes\/page.js<\/li>\n<\/ul>\n<h2>Scala\u3067\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u3067\u304d\u308b\u304b\u3069\u3046\u304b\u306e\u691c\u8a0e<\/h2>\n<h3>HTTP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8<\/h3>\n<p>\u652f\u51fa\u7ba1\u7406\u7c3f\u306f\u3082\u3068\u3082\u3068MediaWiki\u3067\u7ba1\u7406\u3057\u3066\u3044\u305f\u3082\u306e\u3067\u3001MediaWiki\u306e\u305f\u3081\u306e\u8868\u3092\u4f5c\u308b\u305f\u3081\u306e\u30c4\u30fc\u30eb\u3092Scala\u3067\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u306e\u30c4\u30fc\u30eb\u306e\u30b3\u30fc\u30c9\u3092\u8ee2\u7528\u3057\u3066\u3001\u30c0\u30a4\u30ca\u30fc\u30b9\u30af\u30e9\u30d6\u30ab\u30fc\u30c9\u306eWeb\u30b5\u30a4\u30c8\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u308bCSV\u30d5\u30a1\u30a4\u30eb\u3092GROWI\u306e\u8868\u3063\u307d\u304f\u6574\u5f62\u3057\u3066\u51fa\u529b\u3059\u308b\u30c4\u30fc\u30eb\u3092Scala\u3067\u5b9f\u88c5\u3057\u305f\u306e\u3067\u3001\u3053\u306e\u52e2\u3044\u3067\u3001GROWI\u3068\u306e\u8aad\u307f\u66f8\u304d\u3082Scala\u3067\u5b9f\u88c5\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>Scala\u3067\u4f7f\u3048\u308bHTTP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u305d\u306e\u5b9f\u88c5\u4f8b\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/qiita.com\/RunEagler\/items\/51415e95cb0f1770d108\">\u3053\u3061\u3089\u306e\u30b5\u30a4\u30c8<\/a>\u304c\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u8fbc\u307f\u3067\u826f\u304f\u307e\u3068\u307e\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u308c\u3092\u53c2\u8003\u306b\u3057\u3064\u3064\u3001\u6700\u521d\u306fAkka\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001Akka\u306f\u30b5\u30fc\u30d0\u7528\u306b\u4f7f\u3046\u306b\u306f\u826f\u3044\u3082\u306e\u306e\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u7528\u306b\u4f7f\u3046\u306b\u306f\u3061\u3087\u3063\u3068\u5927\u639b\u304b\u308a\u3059\u304e\u308b\u3068\u611f\u3058\u305f\u3053\u3068\u3068\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u7d42\u4e86\u6642\u306b&#8221;Outgoing request stream error&#8221;\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u306e\u304c\u3044\u307e\u3044\u3061\u6c17\u6301\u3061\u60aa\u304f\u611f\u3058\u307e\u3057\u305f(\u203b\u500b\u4eba\u306e\u611f\u60f3\u3067\u3059)\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u7528\u306e\u30b3\u30fc\u30c9\u304c\u30b5\u30af\u30c3\u3068\u66f8\u3051\u305d\u3046\u306a<a href=\"https:\/\/github.com\/scalaj\/scalaj-http\">scalaj-http<\/a>\u3092\u4f7f\u3046\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<h3>JSON\u306e\u30e9\u30a4\u30d6\u30e9\u30ea<\/h3>\n<p>GROWI\u3068\u306e\u9593\u3067\u306e\u8a18\u4e8b\u306e\u8aad\u307f\u66f8\u304d\u306fJSON\u3067\u884c\u308f\u308c\u307e\u3059\u306e\u3067\u3001Scala\u7528\u306eJSON\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u63a2\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306fscala.util.parsing.json\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u3057\u308c\u3063\u3068\u4f7f\u3063\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u5b9f\u306fdeprecated\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u3063\u305f\u306e\u3067\u3001play-json\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002play-json\u30d1\u30c3\u30b1\u30fc\u30b8\u306fPlay Framework\u306e\u4e00\u90e8\u3067\u3059\u304c\u3001\u5358\u72ec\u3067\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>play-json\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308bJSON\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u64cd\u4f5c\u7528\u306e\u30af\u30e9\u30b9\u3067\u306f\u3001\u30d0\u30c3\u30af\u30b9\u30e9\u30c3\u30b7\u30e5\u3092\u6f14\u7b97\u5b50\u3068\u3057\u3066\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u306e\u3067\u3001<\/p>\n<div class=\"code\">val r = Json.parse(resp)<br \/>\nprintln(r \\ &#8220;page&#8221; \\ &#8220;revision&#8221;)<\/div>\n<p>&nbsp;<\/p>\n<p>\u3068\u3044\u3046\u3088\u3046\u306a\u611f\u3058\u3067\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5185\u306e\u5909\u6570\u540d(name)\u3092\u30ad\u30fc\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5185\u3092\u691c\u7d22\u3057\u3001\u5bfe\u5fdc\u3059\u308b\u5024(value)\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3088\u3063\u3066\u3001XML\u3084JSON\u306e\u30d1\u30fc\u30b9\u51e6\u7406\u3067\u3042\u308a\u304c\u3061\u306a\u3001\u3042\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5b50\u8981\u7d20\u3092\u9806\u756a\u306b\u78ba\u8a8d\u3057\u3066\u76ee\u7684\u306e\u5909\u6570\u540d\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u308a\u51fa\u3059\u2026 \u3068\u3044\u3046\u3088\u3046\u306a\u51e6\u7406\u306e\u5b9f\u88c5\u304c\u4e0d\u8981\u306b\u306a\u308b\u306e\u3067\u3001JSON\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u304a\u624b\u8efd\u306b\u6271\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u4f5c\u3063\u3066\u307f\u305f\u3002<\/h2>\n<h3>GROWI\u306eAPI Token\u306e\u53d6\u5f97<\/h3>\n<p>GROWI\u306eWeb API\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u3067API Token\u3092\u53d6\u5f97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>GROWI\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002<\/li>\n<li>\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u540d\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u90e8\u5206\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<li>\u30e1\u30cb\u30e5\u30fc\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u306e\u3067\u3001\u300c\u30e6\u30fc\u30b6\u8a2d\u5b9a\u300d(\u4e0b\u56f3\u306e\u8d64\u77e2\u5370)\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<a href=\"https:\/\/pandanote.info\/?attachment_id=6190\" rel=\"attachment wp-att-6190\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene6-300x142.png\" alt=\"\" width=\"300\" height=\"142\" class=\"alignnone size-medium wp-image-6190\" srcset=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene6-300x142.png 300w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene6.png 558w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<li>\u753b\u9762\u4e0a\u90e8\u306e\u300cAPI\u8a2d\u5b9a\u300d\u30bf\u30d6(\u4e0b\u56f3\u306e\u8d64\u77e2\u5370)\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<a href=\"https:\/\/pandanote.info\/?attachment_id=6191\" rel=\"attachment wp-att-6191\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene7-300x67.png\" alt=\"\" width=\"300\" height=\"67\" class=\"alignnone size-medium wp-image-6191\" srcset=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene7-300x67.png 300w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene7-1024x228.png 1024w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene7-768x171.png 768w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene7-660x147.png 660w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene7.png 1170w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\n<\/li>\n<li>\u300cAPI Token\u8a2d\u5b9a\u300d\u753b\u9762\u306e\u300cAPI Token\u3092\u66f4\u65b0\u300d\u30dc\u30bf\u30f3(\u4e0b\u56f3\u306e\u8d64\u77e2\u5370)\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<a href=\"https:\/\/pandanote.info\/?attachment_id=6192\" rel=\"attachment wp-att-6192\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene1-300x154.png\" alt=\"\" width=\"300\" height=\"154\" class=\"alignnone size-medium wp-image-6192\" srcset=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene1-300x154.png 300w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene1-1024x524.png 1024w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene1-768x393.png 768w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene1-660x338.png 660w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene1.png 1188w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<li>API Token\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002\u672b\u5c3e\u306e&#8221;=&#8221;\u306f\u5272\u3068\u5927\u4e8b\u3067\u3059(\u5f8c\u8ff0)\u3002<a href=\"https:\/\/pandanote.info\/?attachment_id=6193\" rel=\"attachment wp-att-6193\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene8-300x106.png\" alt=\"\" width=\"300\" height=\"106\" class=\"alignnone size-medium wp-image-6193\" srcset=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene8-300x106.png 300w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene8-1024x363.png 1024w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene8-768x273.png 768w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene8-660x234.png 660w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene8.png 1175w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\n<\/ol>\n<h3>\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u304d\u307e\u3059\u3002<\/h3>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002\u306a\u304a\u3001\u524d\u534a\u90e8\u5206\u306f<a href=\"https:\/\/qiita.com\/RunEagler\/items\/51415e95cb0f1770d108\">\u3053\u3061\u3089\u306e\u30b5\u30a4\u30c8<\/a>\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u5927\u5e45\u306b\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u3064\u3064\u3001\u4e0d\u8981\u306a\u90e8\u5206\u3092\u7701\u7565\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n<script src=\"https:\/\/gist.github.com\/pandanote-info\/599d885a3af95e28c8945d2a796f0a6e.js\"><\/script><br \/>\n\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u6982\u8981\u3068\u6ce8\u610f\u304c\u5fc5\u8981\u3068\u601d\u308f\u308c\u308b\u70b9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li>62\u884c\u76ee\u3067\u7de8\u96c6\u306e\u5bfe\u8c61\u3068\u306a\u308b\u8a18\u4e8b\u3092\u53d6\u5f97\u3059\u308b\u305f\u3081\u306eAPI\u3092\u5b9f\u884c\u3057\u300163\u884c\u76ee\u3067\u305d\u306e\u7d50\u679c\u5f97\u3089\u308c\u305f\u8a18\u4e8b(markdown\u30d5\u30a9\u30fc\u30de\u30c3\u30c8)\u3092\u53d6\u308a\u51fa\u3057\u3066\u3044\u307e\u3059\u3002API\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u306fURL\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u3042\u308b\u3088\u3046\u306a\u306e\u3067\u3001\u305d\u306e\u3088\u3046\u306a\u5834\u5408\u306b\u306f63\u884c\u76ee\u3092\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3067\u7f6e\u304d\u63db\u3048\u3066\u30c7\u30b3\u30fc\u30c9\u3057\u307e\u3059\u3002<br \/>\n<code>val rr = URLDecoder.decode(r.body,\"UTF-8\")<\/code>\n<\/li>\n<li>\u4fee\u6b63\u3057\u305f\u8a18\u4e8b\u3092\u30b5\u30fc\u30d0\u306bPOST\u3059\u308b\u305f\u3081\u306eAPI\u3092\u5b9f\u884c\u3059\u308b\u969b\u306b\u306f\u3001\u4fee\u6b63\u306e\u5bfe\u8c61\u3068\u306a\u308b\u8a18\u4e8b\u3092\u7279\u5b9a\u3059\u308b\u305f\u3081\u306bpage_id\u53ca\u3073revision_id\u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u6307\u5b9a\u3059\u308bpage_id\u53ca\u3073revision_id\u306f\u524d\u9805\u306eAPI\u306e\u5b9f\u884c\u7d50\u679c\u306b\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u62bd\u51fa\u3057\u3066\u304a\u304d\u307e\u3059(65\u884c\u76ee\u53ca\u307367\u884c\u76ee)\u3002<\/li>\n<li>\u4fee\u6b63\u3057\u305f\u8a18\u4e8b\u3092\u30b5\u30fc\u30d0\u306bPOST\u3059\u308b\u305f\u3081\u306eAPI\u3092\u5b9f\u884c\u3059\u308b\u969b\u306b\u306f\u3001body\u306fURL\u30a8\u30f3\u30b3\u30fc\u30c9\u7b49\u306f\u4e0d\u8981\u3067\u3001\u305d\u306e\u307e\u307e\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u4e0a\u8a18\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u4f8b\u3067\u306f$\\LaTeX$\u306e\u30b3\u30de\u30f3\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u3044\u307e\u3059\u304c\u3001$\\LaTeX$\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3088\u304f\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u30d0\u30c3\u30af\u30b9\u30e9\u30c3\u30b7\u30e5\u306f\u30a8\u30b9\u30b1\u30fc\u30d7\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059(71\u884c\u76ee)\u3002<\/li>\n<\/ul>\n<h3>\u52d5\u4f5c\u78ba\u8a8d<\/h3>\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u66f8\u304d\u7d42\u308f\u3063\u305f\u3089\u52d5\u4f5c\u78ba\u8a8d\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u8a18\u4e8b\u306b\u524d\u7bc0\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u7528\u3044\u3066$\\LaTeX$\u306e\u6570\u5f0f\u3092\u8ffd\u52a0\u3057\u3066\u307f\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/pandanote.info\/?attachment_id=6196\" rel=\"attachment wp-att-6196\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene3-300x151.png\" alt=\"\" width=\"300\" height=\"151\" class=\"alignnone size-medium wp-image-6196\" srcset=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene3-300x151.png 300w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene3-1024x515.png 1024w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene3-768x386.png 768w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene3-660x332.png 660w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene3.png 1189w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/pandanote.info\/?attachment_id=6204\" rel=\"attachment wp-att-6204\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene4-a-300x96.png\" alt=\"\" width=\"300\" height=\"96\" class=\"alignnone size-medium wp-image-6204\" srcset=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene4-a-300x96.png 300w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene4-a-768x246.png 768w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene4-a-660x211.png 660w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene4-a.png 963w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c\u304c\u30a8\u30e9\u30fc\u306a\u304f\u5b8c\u4e86\u3067\u304d\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3064\u3064\u3001\u4e0a\u8a18\u306e\u8a18\u4e8b\u3092\u30ea\u30ed\u30fc\u30c9\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u3059\u308b\u3068\u2026<br \/>\n<a href=\"https:\/\/pandanote.info\/?attachment_id=6199\" rel=\"attachment wp-att-6199\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene5-300x129.png\" alt=\"\" width=\"300\" height=\"129\" class=\"alignnone size-medium wp-image-6199\" srcset=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene5-300x129.png 300w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene5-768x331.png 768w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene5-660x285.png 660w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene5.png 892w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n\u8a18\u4e8b\u306e\u66f4\u65b0\u306b\u6210\u529f\u3057\u307e\u3057\u305f!!\ud83d\udc4d<\/p>\n<p>\u6307\u6570\u95a2\u6570\u3067\u3059\u306d\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>API Token\u306e\u672b\u5c3e\u306e&#8221;=&#8221;\u306f\u5272\u3068\u5927\u4e8b\u3067\u3059\u3002\u3053\u308c\u3092\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u6307\u5b9a\u306e\u3068\u304d\u306b\u5fd8\u308c\u3066\u3057\u307e\u3046(&#8220;access_token&#8221;\u306b\u5bfe\u5fdc\u3059\u308b\u5024\u306e&#8221;8Xw&#8221;\u306e\u76f4\u5f8c\u306e\u90e8\u5206\u3067\u3059\u3002\u306a\u304aAPI token\u306f\u30c6\u30b9\u30c8\u7528\u306e\u3082\u306e\u3067\u3059\u3002)\u3068\u3001\u30b5\u30fc\u30d0\u304b\u3089&#8221;403 Forbidden&#8221;\u304c\u8fd4\u3055\u308c\u3066\u3057\u307e\u3044(\u4e0b\u56f3)\u3001\u5c0f\u4e00\u6642\u9593\u539f\u56e0\u304c\u308f\u304b\u3089\u305a\u60a9\u3080\u3053\u3068\u306b\u306a\u308a\u307e\u3059(\u7d4c\u9a13\u8005\u8ac7)\u3002<br \/>\n<a href=\"https:\/\/pandanote.info\/?attachment_id=6205\" rel=\"attachment wp-att-6205\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene2a-300x63.png\" alt=\"\" width=\"300\" height=\"63\" class=\"alignnone size-medium wp-image-6205\" srcset=\"https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene2a-300x63.png 300w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene2a-768x161.png 768w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene2a-660x138.png 660w, https:\/\/pandanote.info\/wordpress\/wp-content\/uploads\/2020\/04\/growi_api_scene2a.png 982w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u3053\u3053\u307e\u3067\u306e\u4f5c\u696d\u3067GROWI\u306e\u8a18\u4e8b\u306e\u66f4\u65b0\u304c\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u306e\u3067\u3001CSV\u30d5\u30a1\u30a4\u30eb\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u304c\u53ef\u80fd\u306a\u30af\u30ec\u30b8\u30c3\u30c8\u30ab\u30fc\u30c9\u306e\u5229\u7528\u5c65\u6b74\u3092\u53d6\u308a\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u305d\u3046\u3067\u3059\u3002\ud83d\ude01<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u306f\u4ee5\u4e0a\u3067\u3059\u3002<\/p>\n<h2>References \/ \u53c2\u8003\u6587\u732e<\/h2>\n<ul>\n<li><a href=\"https:\/\/qiita.com\/RunEagler\/items\/51415e95cb0f1770d108\">Scala\u306b\u304a\u3051\u308bHTTP Client \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u96c6+\u03b1<\/a><\/li>\n<li><a href=\"https:\/\/qiita.com\/mikene_koko\/items\/21becb4eb671f86984b1\">Akka\u306e[ERROR]Outgoing request stream error (akka.stream.AbruptTerminationException: Processor actor [Actor[&#8230;]] terminated abruptly)\u30a8\u30e9\u30fc\u306b\u3064\u3044\u3066<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u5148\u65e5Setup\u3057\u305fGROWI\u3092\u4f7f\u3063\u3066\u652f\u51fa\u7ba1\u7406\u7c3f\u3092\u3064\u3051\u3066\u3044\u307e\u3059\u3002 \u6211\u304c\u5bb6\u306e\u652f\u51fa\u306f\u30af\u30ec\u30b8\u30c3\u30c8\u30ab\u30fc\u30c9\u7d4c\u7531\u306e\u3082\u306e\u304c\u307b\u3068\u3093\u3069\u3067\u3001\u304b\u3064\u30e1\u30a4\u30f3\u3067\u4f7f\u3063\u3066\u3044\u308b\u30c0\u30a4\u30ca\u30fc\u30b9\u30af\u30e9\u30d6\u30ab\u30fc\u30c9\u306f\u30af\u30ec\u30b8\u30c3\u30c8\u30ab\u30fc\u30c9\u306e\u5229\u7528\u5c65\u6b74\u3092CSV\u30d5\u30a1\u30a4\u30eb\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u3057\u304b\u3057\u306a\u304c\u3089\u3001\u3053\u306e\u8a18\u4e8b\u3092\u6700\u521d\u306b\u66f8\u3044\u305f\u6642\u70b9(2020\u5e744\u6708)\u3067\u306f\u5229\u7528\u5c65\u6b74\u304b\u3089\u624b\u52d5\u3067GROWI\u306e\u652f\u51fa\u7ba1\u7406\u7c3f\u306b\u8ee2\u8a18\u3057\u3066\u3044\u308b\u72b6\u6cc1\u3067\u3059\u3002 \u305d\u3053\u3067\u3001CSV\u30d5\u30a1\u30a4\u2026 <span class=\"read-more\"><a href=\"https:\/\/pandanote.info\/?p=6186\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":6204,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,5,17,3],"tags":[],"class_list":["post-6186","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api","category-latex","category-scala","category-website-2"],"_links":{"self":[{"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/posts\/6186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pandanote.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6186"}],"version-history":[{"count":14,"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/posts\/6186\/revisions"}],"predecessor-version":[{"id":9388,"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/posts\/6186\/revisions\/9388"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pandanote.info\/index.php?rest_route=\/wp\/v2\/media\/6204"}],"wp:attachment":[{"href":"https:\/\/pandanote.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandanote.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandanote.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}