{"id":24236,"date":"2020-08-25T12:32:47","date_gmt":"2020-08-25T11:32:47","guid":{"rendered":""},"modified":"2020-08-25T12:39:17","modified_gmt":"2020-08-25T11:39:17","slug":"%e3%82%bf%e3%82%b9%e3%82%af%e5%86%85%e3%81%a7%e3%81%ae%e3%82%bb%e3%83%83%e3%82%b7%e3%83%a7%e3%83%b3%e5%a4%89%e6%95%b0%e3%81%8a%e3%82%88%e3%81%b3%e3%82%b3%e3%83%b3%e3%83%86%e3%82%ad%e3%82%b9%e3%83%88","status":"publish","type":"post","link":"https:\/\/multisite.korebots.com\/v9-0\/docs\/bots\/bot-builder-tool\/dialog-task\/%e3%82%bf%e3%82%b9%e3%82%af%e5%86%85%e3%81%a7%e3%81%ae%e3%82%bb%e3%83%83%e3%82%b7%e3%83%a7%e3%83%b3%e5%a4%89%e6%95%b0%e3%81%8a%e3%82%88%e3%81%b3%e3%82%b3%e3%83%b3%e3%83%86%e3%82%ad%e3%82%b9%e3%83%88\/","title":{"rendered":"\u30bf\u30b9\u30af\u5185\u3067\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u304a\u3088\u3073\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u5909\u6570\u306e\u4f7f\u7528"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_grid cols_1 laptops-cols_inherit tablets-cols_inherit mobiles-cols_1 valign_top type_default stacking_default\"><div class=\"wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p>\u30bf\u30b9\u30af\u3092\u5b9a\u7fa9\u3059\u308b\u3068\u3001\u30dc\u30c3\u30c8\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u304c\u63d0\u4f9b\u3059\u308b\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u3084\u3001\u5b9a\u7fa9\u3057\u305f\u30ab\u30b9\u30bf\u30e0\u5909\u6570\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u5909\u6570\u306e\u30b9\u30b3\u30fc\u30d7\u3092\u5b9a\u7fa9\u3059\u308b\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306e\u5229\u7528\u3082\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u3001API\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u3088\u3063\u3066\u306f\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u5b9f\u884c\u3055\u308c\u308b\u524d\u306b\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u308a\u3001\u30c0\u30a4\u30a2\u30ed\u30b0\u30bf\u30b9\u30af\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u6b21\u306e\u30ce\u30fc\u30c9\u306b\u79fb\u884c\u3059\u308b\u305f\u3081\u306b\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u3092\u53d6\u5f97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u30c0\u30a4\u30a2\u30ed\u30b0\u30bf\u30b9\u30af\u306f\u8ffd\u52a0\u306e\u30b7\u30b9\u30c6\u30e0\u5909\u6570\u3067<code>context<\/code>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"\"\/docs\/bots\/bot-builder-tool\/dialog-task\/context-object\/\"\">\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30bf\u30b9\u30af\u306eJavaScript\u3092\u5b9a\u7fa9\u3059\u308b\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3068\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u3001\u304a\u3088\u3073\u30e6\u30fc\u30b6\u30fc\u30d7\u30ed\u30f3\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u3092JavaScript\u30bf\u30d6\u304b\u3089\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"%E3%82%BB%E3%83%83%E3%82%B7%E3%83%A7%E3%83%B3%E5%A4%89%E6%95%B0\"><\/span>\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001\u30ab\u30b9\u30bf\u30e0JavaScript\u30b3\u30fc\u30c9\u3067\u30bf\u30b9\u30af\u306b\u4f7f\u7528\u3067\u304d\u308b\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u5909\u6570\u3068\u305d\u306e\u7bc4\u56f2\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<p>\u5404\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30bf\u30a4\u30d7\u306e\u30ad\u30fc\/\u5024\u306e\u30da\u30a2\u3092GET\u307e\u305f\u306fPUT\u3059\u308bJavaScript\u306e\u69cb\u6587\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">   \"EnterpriseContext\" : {\n       \"get\" : function(key){...},\/\/get the specified key\n       \"put\" : function(key, value, ttl){...} \/\/put the value at the key for the specified ttl, ttl is in minutes\n   },\n   \"BotContext\" : {\n       \"get\" : function(key){...},\/\/get the specified key\n       \"put\" : function(key, value, ttl){...} \/\/put the value at the key for the specified ttl, ttl is in minutes\n   },\n   \"UserContext\" : {\n       \"get\" : function(key){...},\/\/get the specified key\n   },\n   \"UserSession\" : {\n       \"get\" : function(key){...},\/\/get the specified key\n       \"put\" : function(key, value, ttl){...} \/\/put the value at the key for the specified ttl, ttl is in minutes\n   },\n   \"BotUserSession\" : {\n       \"get\" : function(key){...},\/\/get the specified key\n       \"put\" : function(key, value, ttl){...} \/\/put the value at the key for the specified ttl, ttl is in minutes\n   }<\/pre>\n<p>\u4f8b\uff1a<\/p>\n<pre class=\"lang:default decode:true\">\u00a0 \u00a0 BotContext.put(\"topicSessionVariable\",\"music\",2000);\n\u00a0 \u00a0 UserSession.put(\"firstName\",\"Mary\",20000);\n\u00a0 \u00a0 UserContext.get(\"firstName\");<\/pre>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"%E3%82%B3%E3%83%B3%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E3%82%BF%E3%82%A4%E3%83%97\"><\/span>\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30bf\u30a4\u30d7<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30dc\u30c3\u30c8\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u30bf\u30a4\u30d7\u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u5909\u6570\u304c\u4f7f\u7528\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<ul>\n<li><strong>EnterpriseContext<\/strong> &#8211; \u4f01\u696d\u5185\u306e\u3059\u3079\u3066\u306e\u30dc\u30c3\u30c8\u304a\u3088\u3073\u30e6\u30fc\u30b6\u30fc\u304c\u5229\u7528\u53ef\u80fd\u306a\u30ad\u30fc\u3068\u5024\u306e\u30da\u30a2\u3002\u305f\u3068\u3048\u3070\u3001GitHub\u30dc\u30c3\u30c8\u3067\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u306f1\u3064\u4ee5\u4e0a\u306e\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30ea\u30dd\u30b8\u30c8\u30ea\u30c7\u30fc\u30bf\u3092<strong>Gitrepository (Enterprise Context)<\/strong> \u3068\u3057\u3066\u4fdd\u6301\u3059\u308b\u306b\u306f\u3001\u6b21\u306e JavaScript \u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\n<pre class=\"lang:default decode:true\">var userRepository = {\n\"title\": _labels_[repository],\n\"value\": repository\n};\nEnterpriseContext.put('Gitrepository', userRepository, 200000);<\/pre>\n<\/li>\n<li><strong>BotContext<\/strong> &#8211; \u3053\u306e\u7279\u5b9a\u306e\u30dc\u30c3\u30c8\u306e\u3059\u3079\u3066\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u5229\u7528\u53ef\u80fd\u306a\u30ad\u30fc\/\u5024\u306e\u30da\u30a2\u3002\u305f\u3068\u3048\u3070\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u5834\u6240\u306b\u3088\u3063\u3066\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u304b\u304b\u308b\u91d1\u878d\u53d6\u5f15\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u901a\u8ca8\u3092\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u306a\u3069\u304c\u3042\u308a\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u901a\u8ca8\u30c7\u30fc\u30bf\u3092<strong>currency (Bot Context)<\/strong>\u3068\u3057\u3066\u3001\u4ee5\u4e0b\u306eJavaScript\u30b3\u30fc\u30c9\u3067\u6c38\u7d9a\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\n<pre class=\"lang:default decode:true\">var defaultCurrency = { TODO Custom JavaScript for location-based currency }\nBotContext.put('currency', defaultCurrency, 200000);<\/pre>\n<\/li>\n<li><strong>UserContext<\/strong> &#8211; \u3059\u3079\u3066\u306e\u30e6\u30fc\u30b6\u30fc\u5411\u3051\u30dc\u30c3\u30c8\u304c\u5229\u7528\u53ef\u80fd\u306a\u30ad\u30fc\u3068\u5024\u306e\u30da\u30a2\u3002\u3053\u308c\u3089\u306e\u30ad\u30fc\u306f\u8aad\u307f\u53d6\u308a\u5c02\u7528\u3067\u3001\u30b7\u30b9\u30c6\u30e0\u304b\u3089\u30e6\u30fc\u30b6\u30fc\u30c7\u30fc\u30bf\u3068\u3057\u3066\u63d0\u4f9b\u3055\u308c\u307e\u3059\u3002\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li><strong>UserContext.get(&#8220;_id&#8221;)<\/strong> &#8211;\u00a0Kore.ai\u306e\u30e6\u30fc\u30b6\u30fcID\u3002<\/li>\n<li><strong>UserContext.get(&#8220;emailId&#8221;)<\/strong> &#8211;\u00a0\u30e6\u30fc\u30b6\u30fcID\u306b\u95a2\u9023\u4ed8\u3051\u3089\u308c\u305f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3002<\/li>\n<li><strong>UserContext.get(&#8220;lastName&#8221;)<\/strong> &#8211;\u00a0\u30e6\u30fc\u30b6\u30fc\u306e\u540d\u5b57\u3002<\/li>\n<li><strong>UserContext.get(&#8220;firstName&#8221;)<\/strong> &#8211;\u00a0\u30e6\u30fc\u30b6\u30fc\u306e\u540d\u524d\u3002<\/li>\n<li><strong>UserContext.get(&#8220;profImage&#8221;)<\/strong> &#8211;\u00a0\u30e6\u30fc\u30b6\u30fc\u306e\u753b\u50cf\u307e\u305f\u306f\u30a2\u30d0\u30bf\u30fc\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3002<\/li>\n<li><strong>UserContext.get(&#8220;profColor&#8221;)<\/strong> &#8211;\u00a0\u30e6\u30fc\u30b6\u30fc\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u30ab\u30e9\u30fc\u3002<\/li>\n<li><strong>UserContext.get(&#8220;activationStatus&#8221;)<\/strong> &#8211;\u00a0\u30e6\u30fc\u30b6\u30fc\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u72b6\u614b\u3002<\/li>\n<li><strong>UserContext.get(&#8220;jTitle&#8221;)<\/strong> &#8211;\u00a0\u30e6\u30fc\u30b6\u30fc\u306e\u30bf\u30a4\u30c8\u30eb (\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u5834\u5408)\u3002<\/li>\n<li><strong>UserContext.get(&#8220;orgId&#8221;)<\/strong> &#8211;\u00a0\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u7d44\u7e54ID (\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u5834\u5408)\u3002<\/li>\n<li><strong>UserContext.get(&#8220;identities&#8221;)<\/strong> &#8211; \u4ee3\u66ff\u30e6\u30fc\u30b6\u30fcID (\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u5834\u5408)\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u305f\u3068\u3048\u3070\u30012\u3064\u306e<code>UserContext<\/code>\u5909\u6570\u304b\u3089\u306eGET\u306b\u57fa\u3065\u3044\u3066\u3001\u30ad\u30fc\u304c<code>fullName<\/code>\u3068\u3057\u3066\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b<code>UserSession<\/code>\u5909\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u5024\u3092PUT\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">var name = UserContext.get(\"firstName\")+UserContext.get(\"lastName\");\nUserSession.put(\"fullName\") = name;<\/pre>\n<\/li>\n<li><strong>UserSession<\/strong> &#8211; \u4f01\u696d\u5185\u306e\u3059\u3079\u3066\u306e\u30dc\u30c3\u30c8\u306b\u5bfe\u3057\u3066\u3001\u3053\u306e\u7279\u5b9a\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u5bfe\u3057\u3066\u5b9a\u7fa9\u3067\u304d\u308b\u30ad\u30fc\/\u5024\u306e\u30da\u30a2\u3002\u5546\u696d\u3001\u4ea4\u901a\u3001\u5b85\u914d\u30b5\u30fc\u30d3\u30b9\u306b\u5229\u7528\u3055\u308c\u308b\u30e6\u30fc\u30b6\u30fc\u306e\u81ea\u5b85\u4f4f\u6240\u306a\u3069\u3001\u3059\u3079\u3066\u306e\u30dc\u30c3\u30c8\u304c\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u30e6\u30fc\u30b6\u30fc\u306e\u4f4d\u7f6e\u60c5\u5831\u3092\u4fdd\u5b58\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u4ee5\u4e0b\u306eJavaScript\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u4f4d\u7f6e\u60c5\u5831\u3092<strong>HomeLocation (UserSession)<\/strong>\u3068\u3057\u3066\u6c38\u7d9a\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\n<pre class=\"lang:default decode:true\">var location = {\n \"title\": labels[location],\n \"value\": {\n \"latitude\": location.latitude,\n \"longitude\": request.location.longitude\n }\n};\nUserSession.put('HomeLocation', location, '20000');<\/pre>\n<\/li>\n<li><strong>BotUserSession<\/strong> &#8211; \u7279\u5b9a\u306e\u30e6\u30fc\u30b6\u30fc\u306e\u5165\u529b\u306b\u57fa\u3065\u3044\u3066\u3001\u7279\u5b9a\u306e\u30dc\u30c3\u30c8\u306b\u5b9a\u7fa9\u3067\u304d\u308b\u30ad\u30fc\/\u5024\u306e\u30da\u30a2\u3002\u30dc\u30c3\u30c8\u306e1\u3064\u4ee5\u4e0a\u306e\u30bf\u30b9\u30af\u306b\u5bfe\u3057\u3066\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u4f4d\u7f6e\u60c5\u5831\u3092\u6c38\u7d9a\u5316\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u65c5\u884c\u30dc\u30c3\u30c8\u306e\u5834\u5408\u3001\u30e6\u30fc\u30b6\u30fc\u306f\u540c\u4e00\u306e\u81ea\u5b85\u3068\u76ee\u7684\u5730\u306e\u4f4f\u6240\u306b\u57fa\u3065\u3044\u3066\u30d5\u30e9\u30a4\u30c8\u3084\u30db\u30c6\u30eb\u3092\u4e88\u7d04\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u4ee5\u4e0b\u306eJavaScript\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u81ea\u5b85\u3068\u76ee\u7684\u5730\u306e\u30c7\u30fc\u30bf\u3092<strong>HomeLocation (BotUserSession)<\/strong>\u3084<strong>DestinationLocation (BotUserSession)<\/strong>\u3068\u3057\u3066\u6c38\u7d9a\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\n<pre class=\"lang:default decode:true\">var homelocation = {\n \"title\": labels[request.sourceLocation],\n \"value\": {\n \"latitude\": request.sourceLocation.latitude,\n \"longitude\": request.sourceLocation.longitude\n }\n};\nBotUserSession.put('HomeLocation', homelocation, '20000');\nvar destlocation = {\n \"title\": labels[request.destLocation],\n \"value\": {\n \"latitude\": request.destLocation.latitude,\n \"longitude\": request.destLocation.longitude\n }\n};\nBotUserSession.put('DestinationLocation', destlocation, '20000\u2019);<\/pre>\n<\/li>\n<\/ul>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"%E3%82%B9%E3%82%BF%E3%83%B3%E3%83%80%E3%83%BC%E3%83%89%E3%82%AD%E3%83%BC\"><\/span>\u30b9\u30bf\u30f3\u30c0\u30fc\u30c9\u30ad\u30fc<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u30bb\u30c3\u30b7\u30e7\u30f3\u30ad\u30fc\u3068\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30ad\u30fc\u306b\u52a0\u3048\u3066\u3001\u518d\u5229\u7528\u53ef\u80fd\u306a\u30c7\u30fc\u30bf\u5411\u3051\u306eKore.ai\u5909\u6570\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u304c\u3042\u308a\u307e\u3059\u3002\u6b21\u306e\u3044\u305a\u308c\u304b\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>_labels_<\/strong> &#8211; GUID\u306e\u4ee3\u308f\u308a\u306b\u30d5\u30ec\u30f3\u30c9\u30ea\u30fc\u30e9\u30d9\u30eb\u3092\u8fd4\u3059\u305f\u3081\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001Web\u30b5\u30fc\u30d3\u30b9API\u304b\u3089\u30e6\u30fc\u30b6\u30fc\u30c7\u30fc\u30bf\u3092\u8981\u6c42\u3055\u308c\u305f\u5834\u5408\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3084\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u306eID\u306fGUID\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059\u3002<code>_labels_<\/code>\u30ad\u30fc\u3092\u4f7f\u7528\u3057\u3066\u3001GUID\u306e\u4ee3\u308f\u308a\u306bGUID\u306e\u30e6\u30fc\u30b6\u30fc\u30d5\u30ec\u30f3\u30c9\u30ea\u30fc\u306a\u540d\u524d\u3092\u30a8\u30f3\u30c9\u30e6\u30fc\u30b6\u30fc\u306b\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002Kore.ai\u3067\u306f\u3001\u30c9\u30ed\u30c3\u30d7\u30c0\u30a6\u30f3\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306f <code>_labels_<\/code> \u30ad\u30fc\u306b\u5bfe\u3059\u308b\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u6b21\u306e\u4f8b\u306e\u3088\u3046\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\n<pre class=\"lang:default decode:true\">{\n    \"_labels_\": {\n        \"15379386734832\": \"roadlabs.com\",\n        \"26377329985341\": \"Test Project\",\n        \"workspace\": \"roadlabs.com\",\n        \"project\": \"Test Project\"\n    },\n    \"_fields_\": {\n        \"workspace\": \"15379386734832\",\n        \"project\": \"26377329985341\"\n    }\n}<\/pre>\n<p>\u30ec\u30b9\u30dd\u30f3\u30b9\u3067\u306e<code>_labels_<\/code>\u30ad\u30fc\u306e\u4f7f\u7528\u306b\u3064\u3044\u3066\u306f\u3001\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">print('&lt;a href=\"https:\/\/app.asana.com\/0\/' + workspace.id + '\/' + id + '\/f\" target=\"_blank\"&gt;' + title + '&lt;\/a&gt; in workspace '+_labels_[workspace.id]);<\/pre>\n<\/li>\n<li><strong>_tenant_<\/strong> &#8211; \u5b9a\u7fa9\u6e08\u307f\u306e\u4f01\u696d\u306e\u30c6\u30ca\u30f3\u30c8\u3092\u8fd4\u3059\u305f\u3081\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001<em>JIRA<\/em>\u306b\u306f<span style=\"color: #0000ff\">koreteam<\/span>, in\u00a0<span style=\"color: #0000ff\">https:\/\/<strong>koreteam<\/strong>.atlassian.net\/browse\/BBF-3265<\/span>\u306e\u3088\u3046\u306aURL\u306e\u30c6\u30ca\u30f3\u30c8\u304c\u5fc5\u8981\u3067\u3059\u3002<code>_tenant_<\/code>\u30ad\u30fc\u3092\u4f7f\u7528\u3057\u3066\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30bf\u30b9\u30af\u30ec\u30b9\u30dd\u30f3\u30b9\u3067\u30ea\u30f3\u30af\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\n<pre class=\"lang:default decode:true\">var title = request.fields.issuetype.name + ' &lt;a href =\"https:\/\/' + _tenant_ + '\/browse\/' + response.key + '\" target = \"_blank\"&gt;' + request.fields.summary + '&lt;\/a&gt; \u00a0has been created.';<\/pre>\n<\/li>\n<li><strong>_fields_<\/strong> &#8211; \u30da\u30a4\u30ed\u30fc\u30c9\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u95a2\u4fc2\u306e\u306a\u3044\u30a8\u30f3\u30c9\u30e6\u30fc\u30b6\u30fc\u306b\u3088\u3063\u3066\u63d0\u4f9b\u3055\u308c\u308b\u30a2\u30af\u30b7\u30e7\u30f3\u30bf\u30b9\u30af\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u5165\u529b\u3092\u8fd4\u3059\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001<em>JIRA<\/em>\u30a2\u30af\u30b7\u30e7\u30f3\u30bf\u30b9\u30af\u3067\u306f\u3001\u30a8\u30f3\u30c9\u30e6\u30fc\u30b6\u30fc\u306f\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u540d\u306e\u5165\u529b\u3092\u6c42\u3081\u3089\u308c\u307e\u3059\u3002\u6b21\u306e\u3088\u3046\u306b<code>_fields_<\/code>\u30ad\u30fc\u3092\u4f7f\u7528\u3057\u3066\u30a8\u30f3\u30c9\u30e6\u30fc\u30b6\u30fc\u306e\u5165\u529b\u3092\u4fdd\u5b58\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\n<pre class=\"lang:default decode:true\">_fields_[\"workspace\"]<\/pre>\n<\/li>\n<li><strong>_last_run<\/strong> &#8211; <span style=\"color: #0000ff\">2016-03-05T12:44:38+00:00<\/span>\u306e\u3088\u3046\u306b\u3001ISO 8601\u5f62\u5f0f\u3092\u4f7f\u7528\u3059\u308bWeb\u30b5\u30fc\u30d3\u30b9\u30dd\u30fc\u30ea\u30f3\u30b0\u306e\u5354\u5b9a\u4e16\u754c\u6642\u30c7\u30fc\u30bf\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u8fd4\u3059\u305f\u3081\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001Web\u30b5\u30fc\u30d3\u30b9\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u30da\u30a4\u30ed\u30fc\u30c9\u30ec\u30b9\u30dd\u30f3\u30b9\u5185\u306e\u3059\u3079\u3066\u306e\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u3092\u8fd4\u3059\u5834\u5408\u3001<code>_last_run<\/code>\u30ad\u30fc\u3092\u4f7f\u7528\u3057\u3066\u3001<code>_last_run<\/code>\u306e\u5024\u306e\u524d\u5f8c\u306b\u8868\u793a\u3055\u308c\u308b\u7d50\u679c\u3092\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"\u30bf\u30b9\u30af\u3092\u5b9a\u7fa9\u3059\u308b\u3068\u3001\u30dc\u30c3\u30c8\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u304c\u63d0\u4f9b\u3059\u308b\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u3084\u3001\u5b9a\u7fa9\u3057\u305f\u30ab\u30b9\u30bf\u30e0\u5909\u6570\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u5909\u6570\u306e\u30b9\u30b3\u30fc\u30d7\u3092\u5b9a\u7fa9\u3059\u308b\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306e\u5229\u7528\u3082\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002 \u305f\u3068\u3048\u3070\u3001API\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u3088\u3063\u3066\u306f\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u5b9f\u884c\u3055\u308c\u308b\u524d\u306b\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u308a\u3001\u30c0\u30a4\u30a2\u30ed\u30b0\u30bf\u30b9\u30af\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u6b21\u306e\u30ce\u30fc\u30c9\u306b\u79fb\u884c\u3059\u308b\u305f\u3081\u306b\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u3092\u53d6\u5f97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u30c0\u30a4\u30a2\u30ed\u30b0\u30bf\u30b9\u30af\u306f\u8ffd\u52a0\u306e\u30b7\u30b9\u30c6\u30e0\u5909\u6570\u3067context\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u30bf\u30b9\u30af\u306eJavaScript\u3092\u5b9a\u7fa9\u3059\u308b\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3068\u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570\u3001\u304a\u3088\u3073\u30e6\u30fc\u30b6\u30fc\u30d7\u30ed\u30f3\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u3092JavaScript\u30bf\u30d6\u304b\u3089\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u30bb\u30c3\u30b7\u30e7\u30f3\u5909\u6570 \u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001\u30ab\u30b9\u30bf\u30e0JavaScript\u30b3\u30fc\u30c9\u3067\u30bf\u30b9\u30af\u306b\u4f7f\u7528\u3067\u304d\u308b\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u5909\u6570\u3068\u305d\u306e\u7bc4\u56f2\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002 \u5404\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30bf\u30a4\u30d7\u306e\u30ad\u30fc\/\u5024\u306e\u30da\u30a2\u3092GET\u307e\u305f\u306fPUT\u3059\u308bJavaScript\u306e\u69cb\u6587\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002 \"EnterpriseContext\" : { \"get\" : function(key){...},\/\/get the specified key \"put\" : function(key, value, ttl){...} \/\/put the value at the key for the specified ttl, ttl is in minutes }, \"BotContext\" : { \"get\" : function(key){...},\/\/get the specified key \"put\" : function(key, value, ttl){...} \/\/put the value at the key...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[87],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/24236"}],"collection":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/comments?post=24236"}],"version-history":[{"count":5,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/24236\/revisions"}],"predecessor-version":[{"id":24417,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/24236\/revisions\/24417"}],"wp:attachment":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/media?parent=24236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/categories?post=24236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/tags?post=24236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}