{"id":30372,"date":"2021-08-24T12:02:59","date_gmt":"2021-08-24T11:02:59","guid":{"rendered":"https:\/\/multisite.korebots.com\/v9-0\/uncategorised-ja\/bot-import-status-api\/"},"modified":"2021-08-24T12:10:10","modified_gmt":"2021-08-24T11:10:10","slug":"bot-import-status-api","status":"publish","type":"post","link":"https:\/\/multisite.korebots.com\/v9-0\/uncategorised-ja\/bot-import-status-api\/","title":{"rendered":"\u30dc\u30c3\u30c8\u30a4\u30f3\u30dd\u30fc\u30c8\u306e\u30b9\u30c6\u30fc\u30bf\u30b9API"},"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>[\u65b0\u3057\u3044\u30dc\u30c3\u30c8API\u3068\u3057\u3066\u30dc\u30c3\u30c8\u3092\u30a4\u30f3\u30dd\u30fc\u30c8]\u3001\u307e\u305f\u306f [\u65e2\u5b58\u306e\u30dc\u30c3\u30c8API\u306b\u30dc\u30c3\u30c8\u3092\u30a4\u30f3\u30dd\u30fc\u30c8] \u3092\u4f7f\u7528\u3057\u3066\u958b\u59cb\u3055\u308c\u305f\u30dc\u30c3\u30c8\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u53d6\u5f97\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p class=\"note\">\u3053\u306eAPI\u306b\u306f\u3001\u30dc\u30c3\u30c8\u7ba1\u7406\u8005\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u306e\u307f\u4f5c\u6210\u3055\u308c\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u3088\u3063\u3066\u751f\u6210\u3055\u308c\u305fJWT\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306eAPI\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u3001\u30a2\u30d7\u30ea\u306f [<em>\u30dc\u30c3\u30c8\u5b9a\u7fa9<\/em>] \u306e [<em>\u30dc\u30c3\u30c8\u3092\u30a4\u30f3\u30dd\u30fc\u30c8<\/em>] \u306e\u7ba1\u7406API\u30b9\u30b3\u30fc\u30d7\u3092\u5fc5\u8981\u3068\u3057\u307e\u3059\u3002<\/p>\n<p><strong>GET<\/strong> <code>https:\/\/{{host}}\/api\/public\/bot\/import\/status\/{{BotImportBIR}}<\/code><\/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\"><h3><span class=\"ez-toc-section\" id=\"%E3%82%AF%E3%82%A8%E3%83%AA%E3%83%91%E3%83%A9%E3%83%A1%E3%83%BC%E3%82%BF\"><\/span>\u30af\u30a8\u30ea\u30d1\u30e9\u30e1\u30fc\u30bf<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<table>\n<thead>\n<tr>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400\">\u30db\u30b9\u30c8<\/span><\/td>\n<td>\u74b0\u5883URL\uff08\u4f8b\uff1a https:\/\/bots.kore.ai\uff09<\/td>\n<\/tr>\n<tr>\n<td>BotImportBIR<\/td>\n<td><span style=\"font-weight: 400\">bir-xxxxxxx-xxx-xxxx-xxxxx-xxxxxxxxxx<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\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\"><h3><span class=\"ez-toc-section\" id=\"%E8%AA%8D%E8%A8%BC\"><\/span>\u8a8d\u8a3c<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u4ee5\u4e0b\u306e\u69cb\u6587\u3092\u4f7f\u7528\u3057\u3066\u3001JWT\u3092\u30d8\u30c3\u30c0\u30fc\u306b\u542b\u3080API\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002 <code>auth: {{JWT}}<\/code><\/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\"><h3><span class=\"ez-toc-section\" id=\"%E5%BF%9C%E7%AD%94%E3%81%AE%E3%82%B3%E3%83%B3%E3%83%86%E3%83%B3%E3%83%84%E3%82%BF%E3%82%A4%E3%83%97\"><\/span>\u5fdc\u7b54\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u30bf\u30a4\u30d7<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><code>application\/json<\/code><\/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\"><h3><span class=\"ez-toc-section\" id=\"%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB%E3%83%AA%E3%82%AF%E3%82%A8%E3%82%B9%E3%83%88\"><\/span>\u30b5\u30f3\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre>curl -X GET \\ https:\/\/{{host}}\/api\/public\/bot\/import\/status\/bir-xxxxxxx-xxx-xxxx-xxxxx-xxxxxxxxxx \\ -H &apos;auth: {{YOUR_JWT_ACCESS_TOKEN}}&apos; \\<\/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\"><h3><span class=\"ez-toc-section\" id=\"%E3%82%B5%E3%83%B3%E3%83%97%E3%83%AB%E5%BF%9C%E7%AD%94\"><\/span>\u30b5\u30f3\u30d7\u30eb\u5fdc\u7b54<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<pre>{ &quot;_id&quot;: &quot;bir-xxxxxxx-xxx-xxxx-xxxxx-xxxxxxxxxx&quot;, &quot;botRefId&quot;: &quot;f6e63f2d-cw20-52b0-bbc5-638add8dba26&quot;, &quot;statusLogs&quot;: [ { &quot;taskType&quot;: &quot;importRequest&quot;, &quot;taskName&quot;: &quot;Sample Bot&quot;, &quot;status&quot;: &quot;success&quot; }, { &quot;taskType&quot;: &quot;Bot Definition&quot;, &quot;taskName&quot;: &quot;Sample Bot&quot;, &quot;status&quot;: &quot;success&quot; }, { &quot;taskType&quot;: &quot;CustomTemplates&quot;, &quot;taskName&quot;: &quot;CustomTemplates&quot;, &quot;status&quot;: &quot;success&quot; }, { &quot;taskType&quot;: &quot;BotVariables&quot;, &quot;taskName&quot;: &quot;BotVariables&quot;, &quot;status&quot;: &quot;success&quot; }, { &quot;taskType&quot;: &quot;Dialog&quot;, &quot;taskName&quot;: &quot;Task 1&quot;, &quot;status&quot;: &quot;success&quot; }, { &quot;taskType&quot;: &quot;Dialog&quot;, &quot;taskName&quot;: &quot;Task 2&quot;, &quot;status&quot;: &quot;success&quot; }, { &quot;taskType&quot;: &quot;Utterances&quot;, &quot;taskName&quot;: &quot;Utterances&quot;, &quot;status&quot;: &quot;success&quot; }, { &quot;taskType&quot;: &quot;importBot&quot;, &quot;taskName&quot;: &quot;Sample Bot&quot;, &quot;status&quot;: &quot;success&quot; } ], &quot;createdBy&quot;: &quot;u-3ae3ed39-a65b-5b2c-b55b-85864a8202c3&quot;, &quot;requestType&quot;: &quot;Botimport&quot;, &quot;status&quot;: &quot;success&quot;, &quot;createdOn&quot;: &quot;2018-12-05T07:45:14.376Z&quot;, &quot;__v&quot;: 0, &quot;botId&quot;: &quot;st-b4542w96-49ec-5d95-a120-c6244fc23777&quot; }<\/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><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"[\u65b0\u3057\u3044\u30dc\u30c3\u30c8API\u3068\u3057\u3066\u30dc\u30c3\u30c8\u3092\u30a4\u30f3\u30dd\u30fc\u30c8]\u3001\u307e\u305f\u306f [\u65e2\u5b58\u306e\u30dc\u30c3\u30c8API\u306b\u30dc\u30c3\u30c8\u3092\u30a4\u30f3\u30dd\u30fc\u30c8] \u3092\u4f7f\u7528\u3057\u3066\u958b\u59cb\u3055\u308c\u305f\u30dc\u30c3\u30c8\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u53d6\u5f97\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002 \u3053\u306eAPI\u306b\u306f\u3001\u30dc\u30c3\u30c8\u7ba1\u7406\u8005\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u306e\u307f\u4f5c\u6210\u3055\u308c\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u3088\u3063\u3066\u751f\u6210\u3055\u308c\u305fJWT\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306eAPI\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u3001\u30a2\u30d7\u30ea\u306f [\u30dc\u30c3\u30c8\u5b9a\u7fa9] \u306e [\u30dc\u30c3\u30c8\u3092\u30a4\u30f3\u30dd\u30fc\u30c8] \u306e\u7ba1\u7406API\u30b9\u30b3\u30fc\u30d7\u3092\u5fc5\u8981\u3068\u3057\u307e\u3059\u3002 GET https:\/\/{{host}}\/api\/public\/bot\/import\/status\/{{BotImportBIR}} \u30af\u30a8\u30ea\u30d1\u30e9\u30e1\u30fc\u30bf \u30d1\u30e9\u30e1\u30fc\u30bf \u8aac\u660e \u30db\u30b9\u30c8 \u74b0\u5883URL\uff08\u4f8b\uff1a https:\/\/bots.kore.ai\uff09 BotImportBIR bir-xxxxxxx-xxx-xxxx-xxxxx-xxxxxxxxxx \u8a8d\u8a3c \u4ee5\u4e0b\u306e\u69cb\u6587\u3092\u4f7f\u7528\u3057\u3066\u3001JWT\u3092\u30d8\u30c3\u30c0\u30fc\u306b\u542b\u3080API\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002 auth: {{JWT}} \u5fdc\u7b54\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u30bf\u30a4\u30d7 application\/json \u30b5\u30f3\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8 curl -X GET \\ https:\/\/{{host}}\/api\/public\/bot\/import\/status\/bir-xxxxxxx-xxx-xxxx-xxxxx-xxxxxxxxxx \\ -H &apos;auth: {{YOUR_JWT_ACCESS_TOKEN}}&apos; \\ \u30b5\u30f3\u30d7\u30eb\u5fdc\u7b54 { &quot;_id&quot;: &quot;bir-xxxxxxx-xxx-xxxx-xxxxx-xxxxxxxxxx&quot;, &quot;botRefId&quot;: &quot;f6e63f2d-cw20-52b0-bbc5-638add8dba26&quot;, &quot;statusLogs&quot;: [ { &quot;taskType&quot;: &quot;importRequest&quot;, &quot;taskName&quot;: &quot;Sample Bot&quot;, &quot;status&quot;: &quot;success&quot; }, { &quot;taskType&quot;: &quot;Bot...","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[79],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/30372"}],"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=30372"}],"version-history":[{"count":3,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/30372\/revisions"}],"predecessor-version":[{"id":30584,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/30372\/revisions\/30584"}],"wp:attachment":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/media?parent=30372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/categories?post=30372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/tags?post=30372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}