{"id":41246,"date":"2022-04-21T07:33:57","date_gmt":"2022-04-21T06:33:57","guid":{"rendered":"https:\/\/developer.kore.ai\/v9-3\/?p=41246"},"modified":"2022-04-21T07:34:15","modified_gmt":"2022-04-21T06:34:15","slug":"import-batch-test-suite-api","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v9-3\/docs\/bots\/api-guide\/import-batch-test-suite-api\/?lang=ko","title":{"rendered":"\uc77c\uad04 \ud14c\uc2a4\ud2b8 \uc81c\ud488\uad70 API\ub97c \uac00\uc838\uc624\uae30"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row type_default valign_top\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p>\uc9c0\uc815\ub41c \ud14c\uc2a4\ud2b8 \uc81c\ud488\uad70 \ud30c\uc77c\uc5d0\uc11c \ud14c\uc2a4\ud2b8 \uc0ac\ub840\ub97c \uac00\uc838\uc635\ub2c8\ub2e4.<\/p>\n<p class=\"note\">\uc774 API\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 \uc571\uc5d0 \uc77c\uad04 \ud14c\uc2a4\ud2b8 \uad00\ub9ac \uc758 \ubd07 \ube4c\ub354 \ubc94\uc704 \ub610\ub294<br \/>\n\uc77c\uad04 \ud14c\uc2a4\ud2b8 \uad00\ub9ac \uc758 \uad00\ub9ac\uc790 API \ubc94\uc704\uac00 \ud544\uc694\ud569\ub2c8\ub2e4.<\/p>\n<p><strong>POST<\/strong> <code>https:\/\/{host}\/api\/public\/bot\/{botId}\/testsuite\/import<\/code><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<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>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i\">\ucffc\ub9ac \ub9e4\uac1c \ubcc0\uc218,<\/span><\/h3>\n<table>\n<thead>\n<tr>\n<th>\ub9e4\uac1c \ubcc0\uc218<\/th>\n<th>\uc124\uba85<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400\">host<\/span><\/td>\n<td>\ud658\uacbd URL(\uc608: https:\/\/bots.kore.ai)<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">BotID<\/span><\/td>\n<td>\ubd07 ID \ub610\ub294 \uc2a4\ud2b8\ub9bc ID. \ubd07\uc758 \uc77c\ubc18 \uc124\uc815 \ud398\uc774\uc9c0\uc5d0\uc11c \uc774\ub97c \uc561\uc138\uc2a4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<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>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-2\">\ubcf8\ubb38 \ub9e4\uac1c \ubcc0\uc218<\/span><\/h3>\n<table>\n<thead>\n<tr>\n<th>\ub9e4\uac1c \ubcc0\uc218<\/th>\n<th>\uc124\uba85<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>fileName<\/td>\n<td>\ubc30\uce58 \ud14c\uc2a4\ud2b8 \uc81c\ud488\uad70 \uc138\ubd80 \uc815\ubcf4\uac00 \ud3ec\ud568\ub41c \ud30c\uc77c\uc785\ub2c8\ub2e4.<\/td>\n<\/tr>\n<tr>\n<td>fileType<\/td>\n<td>JSON.<\/td>\n<\/tr>\n<tr>\n<td>importType<\/td>\n<td>\uc2e0\uaddc\/\uc5c5\ub370\uc774\ud2b8<\/td>\n<\/tr>\n<tr>\n<td>delimiter<\/td>\n<td>\ud30c\uc77c\uc758 \ud544\ub4dc \uad6c\ubd84 \uae30\ud638<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">description<\/span><\/td>\n<td>\ud14c\uc2a4\ud2b8 \uc81c\ud488\uad70 \uc124\uba85<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<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>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-3\">\uad8c\ud55c \ubd80\uc5ec<\/span><\/h3>\n<p>\ub2e4\uc74c \uad6c\ubb38\uc744 \ud3ec\ud568\ud55c \ud5e4\ub354\uc5d0 JWT\ub97c \ud3ec\ud568\ud55c API\ub97c \ud638\ucd9c\ud569\ub2c8\ub2e4.<\/p>\n<p><code>auth: {{JWT}}<\/code><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<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>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-4\">\ucf58\ud150\uce20 \uc720\ud615 \uc751\ub2f5<\/span><\/h3>\n<p><code>application\/json<\/code><\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<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>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-5\">\uc0d8\ud50c \uc694\uccad<\/span><\/h3>\n<pre> curl --location --request POST \\\r\n     'https:\/\/{host}\/api\/public\/stream\/{streamId}\/testsuite\/import' \\\r\n      --header 'auth: {jwt-code}' \\\r\n      --header 'bot-language: {language-code}' \\\r\n      --header 'Content-Type: application\/json' \\\r\n      --data-raw '{\r\n         \"delimiter\": \",\",\r\n         \"description\": \"fcgfddfg\",\r\n         \"fileName\": \"5ff70b47a664d31999d9202c\",\r\n         \"fileType\": \"json\",\r\n         \"importType\": \"update\",\r\n         \"name\": \"hgf\"\r\n}'\r\n<\/pre>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<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>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h3><span class=\"ez-toc-section\" id=\"i-6\">\uc0d8\ud50c \uc751\ub2f5<\/span><\/h3>\n<pre>{\r\n    \"_id\": \"ts-8304802f-6f85-5f67-8964-de04446c1c93\",\r\n    \"name\": \"hgf\",\r\n    \"description\": \"fcgfddfg\",\r\n    \"streamId\": \"st-15864388-c33d-5caf-86a6-d17951ff3d5b\",\r\n    \"language\": \"en\",\r\n    \"fileId\": \"5ff70b47a664d31999d9202c\",\r\n    \"createdBy\": \"u-49bd0ecd-18d1-53e1-988d-84d3004d79ea\",\r\n    \"createdOn\": \"2021-01-05T17:43:43.927Z\",\r\n    \"modifiedOn\": \"2021-01-07T13:48:14.169Z\",\r\n    \"__v\": 0,\r\n    \"fileName\": \"sampleBatchtesting (2) (copy) (1).json\"\r\n}\r\n<\/pre>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<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><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"\uc9c0\uc815\ub41c \ud14c\uc2a4\ud2b8 \uc81c\ud488\uad70 \ud30c\uc77c\uc5d0\uc11c \ud14c\uc2a4\ud2b8 \uc0ac\ub840\ub97c \uac00\uc838\uc635\ub2c8\ub2e4. \uc774 API\ub97c \uc0ac\uc6a9\ud558\ub824\uba74 \uc571\uc5d0 \uc77c\uad04 \ud14c\uc2a4\ud2b8 \uad00\ub9ac \uc758 \ubd07 \ube4c\ub354 \ubc94\uc704 \ub610\ub294 \uc77c\uad04 \ud14c\uc2a4\ud2b8 \uad00\ub9ac \uc758 \uad00\ub9ac\uc790 API \ubc94\uc704\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. POST https:\/\/{host}\/api\/public\/bot\/{botId}\/testsuite\/import \ucffc\ub9ac \ub9e4\uac1c \ubcc0\uc218, \ub9e4\uac1c \ubcc0\uc218 \uc124\uba85 host \ud658\uacbd URL(\uc608: https:\/\/bots.kore.ai) BotID \ubd07 ID \ub610\ub294 \uc2a4\ud2b8\ub9bc ID. \ubd07\uc758 \uc77c\ubc18 \uc124\uc815 \ud398\uc774\uc9c0\uc5d0\uc11c \uc774\ub97c \uc561\uc138\uc2a4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ubcf8\ubb38 \ub9e4\uac1c...","protected":false},"author":22,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-41246","post","type-post","status-publish","format-standard","hentry","category-api-guide"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/posts\/41246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/comments?post=41246"}],"version-history":[{"count":1,"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/posts\/41246\/revisions"}],"predecessor-version":[{"id":41247,"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/posts\/41246\/revisions\/41247"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/media?parent=41246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/categories?post=41246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-3\/wp-json\/wp\/v2\/tags?post=41246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}