{"id":22297,"date":"2023-03-27T04:43:07","date_gmt":"2023-03-26T19:43:07","guid":{"rendered":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/?page_id=22297"},"modified":"2025-10-01T14:52:33","modified_gmt":"2025-10-01T05:52:33","slug":"api-datasets","status":"publish","type":"page","link":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/api-manual\/reference\/api-datasets\/","title":{"rendered":"\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8"},"content":{"rendered":"<p>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3001\u53d6\u5f97\u3001\u66f4\u65b0\u3001\u524a\u9664\u3059\u308b\u306b\u306f\u3001\u6b21\u306e API \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<div class=\"et_pb_module et_pb_text et_pb_text_2  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<h2 id=\"spanstylefontweight400getdatasetspan\">get_dataset<\/h2>\n<p>\u8981\u6c42\u3055\u308c\u305f\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8 \u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n<\/div>\n<div class=\"et_pb_module et_pb_text et_pb_text_3 docs-table  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">GET index.php?\/api\/v2\/get_dataset\/{dataset_id}<\/pre>\n<h3>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc<\/h3>\n<table class=\"table table--hover\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th style=\"width: 19.2857%;\">\u540d\u524d<\/th>\n<th style=\"width: 14.1428%;\">\u30bf\u30a4\u30d7<\/th>\n<th style=\"width: 14.7143%;\">\u5fc5\u9808<\/th>\n<th style=\"width: 51.8571%;\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 19.2857%;\">dataset_id<\/td>\n<td style=\"width: 14.1428%;\">integer<\/td>\n<td style=\"width: 14.7143%;\">true<\/td>\n<td style=\"width: 51.8571%;\">\u53d6\u5f97\u3059\u308b\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<div><\/div>\n<div>\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u4f8b<\/div>\n<div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\"># Get the dataset with an ID of 183\nGET index.php?\/api\/v2\/get_dataset\/183<\/pre>\n<h3>\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u5185\u5bb9<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">{\n    \"id\": 183,\n    \"name\": \"Default\",\n    \"variables\": [\n        {\n            \"id\": 1171,\n            \"name\": \"age\",\n            \"value\": \"41\"\n        },\n        {\n            \"id\": 1170,\n            \"name\": \"birth_year\",\n            \"value\": \"1980\"\n        },\n        {\n            \"id\": 1172,\n            \"name\": \"browser\",\n            \"value\": \"Chrome\"\n        },\n        {\n            \"id\": 1169,\n            \"name\": \"name\",\n            \"value\": \"Jon\"\n        },\n        {\n            \"id\": 1669,\n            \"name\": \"New_variable\",\n            \"value\": \"m\"\n        }\n    ]\n}<\/pre>\n<\/div>\n<div class=\"et_pb_module et_pb_text et_pb_text_2  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<div class=\"et_pb_module et_pb_text et_pb_text_3 docs-table  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<div class=\"et_pb_module et_pb_text et_pb_text_6  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<p>\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u306f\u6b21\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<table class=\"table table--hover\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th style=\"width: 17.4285%;\">\u540d\u524d<\/th>\n<th style=\"width: 13.1429%;\">\u30bf\u30a4\u30d7<\/th>\n<th style=\"width: 69.2857%;\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 17.4285%;\">id<\/td>\n<td style=\"width: 13.1429%;\">integer<\/td>\n<td style=\"width: 69.2857%;\">\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u4e00\u610f\u306e ID<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 17.4285%;\">name<\/td>\n<td style=\"width: 13.1429%;\">string<\/td>\n<td style=\"width: 69.2857%;\">\u6307\u5b9a\u3055\u308c\u305f\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u540d\u524d<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 17.4285%;\">variables<\/td>\n<td style=\"width: 13.1429%;\">array<\/td>\n<td style=\"width: 69.2857%;\">\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u914d\u5217\u5404\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u306f\u4ee5\u4e0b\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>id: \u5909\u6570\u306e ID<\/li>\n<li>name: \u5909\u6570\u306e\u540d\u524d<\/li>\n<li>value: \u5909\u6570\u306b\u5bfe\u5fdc\u3059\u308b\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u5024<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"01G68JZ4AMW2EVBMQNCG0SNSJE\">\u30ec\u30b9\u30dd\u30f3\u30b9 \u30b3\u30fc\u30c9<\/h3>\n<table class=\"table table--hover\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th>\u30b9\u30c6\u30fc\u30bf\u30b9 \u30b3\u30fc\u30c9<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>200<\/td>\n<td>\u6210\u529f<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>\n<ul>\n<li>\u7121\u52b9\u306a <span>dataset_id<\/span><\/li>\n<li><span>dataset_id<\/span>\u00a0\u304c\u3042\u308a\u307e\u305b\u3093<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>401<\/td>\n<td>\u8a8d\u8a3c\u30a8\u30e9\u30fc<\/td>\n<\/tr>\n<tr>\n<td>403<\/td>\n<td>\n<ul>\n<li>\u6a29\u9650\u304c\u4e0d\u5341\u5206\u3067\u3059 (\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093)\u3002<\/li>\n<li>Enterprise \u30e9\u30a4\u30bb\u30f3\u30b9\/\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"spanstylefontweight400getdatasetsspan\">get_datasets<\/h2>\n<p>\u8981\u6c42\u3055\u308c\u305f\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u30ea\u30b9\u30c8\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<div class=\"et_pb_module et_pb_text et_pb_text_3 docs-table  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">GET index.php?\/api\/v2\/get_datasets\/{project_id}<\/pre>\n<h3>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc<\/h3>\n<table class=\"table table--hover\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th>\u540d\u524d<\/th>\n<th>\u30bf\u30a4\u30d7<\/th>\n<th>\u5fc5\u9808<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>project_id<\/td>\n<td>integer<\/td>\n<td>true<\/td>\n<td>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u53d6\u5f97\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div><\/div>\n<div><\/div>\n<div>\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u4f8b<\/div>\n<div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\"># Get the dataset with an ID of 2\nGET index.php?\/api\/v2\/get_datasets\/2<\/pre>\n<p>\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u5185\u5bb9<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">{\n    \"offset\": 0,\n    \"limit\": 250,\n    \"size\": 4,\n    \"_links\": {\n        \"next\": null,\n        \"prev\": null\n    },\n    \"datasets\": [\n        {\n            \"id\": 183,\n            \"name\": \"Default\",\n            \"variables\": [\n                {\n                    \"id\": 1171,\n                    \"name\": \"age\",\n                    \"value\": \"41\"\n                },\n                {\n                    \"id\": 1170,\n                    \"name\": \"birth_year\",\n                    \"value\": \"1980\"\n                },\n                {\n                    \"id\": 1172,\n                    \"name\": \"browser\",\n                    \"value\": \"Chrome\"\n                },\n                {\n                    \"id\": 1169,\n                    \"name\": \"name\",\n                    \"value\": \"Jon\"\n                },\n                {\n                    \"id\": 1669,\n                    \"name\": \"New_variable\",\n                    \"value\": \"m\"\n                }\n            ]\n        },\n        {\n            \"id\": 543,\n            \"name\": \"Dataset_name_3\",\n            \"variables\": [\n                {\n                    \"id\": 1171,\n                    \"name\": \"age\",\n                    \"value\": \"38\"\n                },\n                {\n                    \"id\": 1170,\n                    \"name\": \"birth_year\",\n                    \"value\": \"1983\"\n                },\n                {\n                    \"id\": 1172,\n                    \"name\": \"browser\",\n                    \"value\": \"m,,\"\n                },\n                {\n                    \"id\": 1169,\n                    \"name\": \"name\",\n                    \"value\": \"Ringo\"\n                },\n                {\n                    \"id\": 1669,\n                    \"name\": \"New_variable\",\n                    \"value\": \"mnm\"\n                }\n            ]\n        },\n        {\n            \"id\": 544,\n            \"name\": \"New\",\n            \"variables\": [\n                {\n                    \"id\": 1171,\n                    \"name\": \"age\",\n                    \"value\": \"value\"\n                },\n                {\n                    \"id\": 1170,\n                    \"name\": \"birth_year\",\n                    \"value\": \"n\"\n                },\n                {\n                    \"id\": 1172,\n                    \"name\": \"browser\",\n                    \"value\": \"m\"\n                },\n                {\n                    \"id\": 1169,\n                    \"name\": \"name\",\n                    \"value\": \"m,\"\n                },\n                {\n                    \"id\": 1669,\n                    \"name\": \"New_variable\",\n                    \"value\": \"nnn\"\n                }\n            ]\n        },\n        {\n            \"id\": 545,\n            \"name\": \"BOO\",\n            \"variables\": [\n                {\n                    \"id\": 1171,\n                    \"name\": \"age\",\n                    \"value\": \"blue\"\n                },\n                {\n                    \"id\": 1170,\n                    \"name\": \"birth_year\",\n                    \"value\": \"nnb\"\n                },\n                {\n                    \"id\": 1172,\n                    \"name\": \"browser\",\n                    \"value\": \"fcg\"\n                },\n                {\n                    \"id\": 1169,\n                    \"name\": \"name\",\n                    \"value\": \"n,\"\n                },\n                {\n                    \"id\": 1669,\n                    \"name\": \"New_variable\",\n                    \"value\": \"nbnb\"\n                }\n            ]\n        }\n    ]\n}<\/pre>\n<\/div>\n<p>\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u306f\u6b21\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<table class=\"table table--hover\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th style=\"width: 28.4286%;\">\u540d\u524d<\/th>\n<th style=\"width: 11%;\">\u30bf\u30a4\u30d7<\/th>\n<th style=\"width: 60.4286%;\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 28.4286%;\">\u6539\u30da\u30fc\u30b8\u306b\u95a2\u3059\u308b\u30d5\u30a3\u30fc\u30eb\u30c9<\/td>\n<td style=\"width: 11%;\">array<\/td>\n<td style=\"width: 60.4286%;\">\u65e2\u5b58\u306e\u4e00\u62ec GET API \u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3068\u540c\u3058\u30d5\u30a3\u30fc\u30eb\u30c9<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 28.4286%;\">datasets<\/td>\n<td style=\"width: 11%;\">array<\/td>\n<td style=\"width: 60.4286%;\">\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u914d\u5217\u3002\u914d\u5217\u306e\u5404\u30a8\u30f3\u30c8\u30ea\u306f get_dataset \u3068\u540c\u3058\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3067\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"01G68JZ4AMW2EVBMQNCG0SNSJE\">\u30ec\u30b9\u30dd\u30f3\u30b9 \u30b3\u30fc\u30c9<\/h3>\n<table class=\"table table--hover\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th style=\"width: 20.2857%;\">\u30b9\u30c6\u30fc\u30bf\u30b9 \u30b3\u30fc\u30c9<\/th>\n<th style=\"width: 79.5714%;\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 20.2857%;\">200<\/td>\n<td style=\"width: 79.5714%;\">\u6210\u529f<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20.2857%;\">400<\/td>\n<td style=\"width: 79.5714%;\">\n<ul>\n<li>\u7121\u52b9\u306a project_id<\/li>\n<li>project_id \u304c\u3042\u308a\u307e\u305b\u3093<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20.2857%;\">401<\/td>\n<td style=\"width: 79.5714%;\">\u8a8d\u8a3c\u30a8\u30e9\u30fc<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20.2857%;\">403<\/td>\n<td style=\"width: 79.5714%;\">\n<ul>\n<li>\u6a29\u9650\u304c\u4e0d\u5341\u5206\u3067\u3059 (\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093)\u3002<\/li>\n<li>Enterprise \u30e9\u30a4\u30bb\u30f3\u30b9\/\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"spanstylefontweight400adddatasetspan\">add_dataset<\/h2>\n<p>\u65b0\u898f\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">POST index.php?\/api\/v2\/add_dataset\/{project_id}<\/pre>\n<div class=\"et_pb_module et_pb_text et_pb_text_3 docs-table  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<h3>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc<\/h3>\n<table class=\"table table--hover\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th>\u540d\u524d<\/th>\n<th>\u30bf\u30a4\u30d7<\/th>\n<th>\u5fc5\u9808<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>project_id<\/td>\n<td>integer<\/td>\n<td>true<\/td>\n<td>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u8ffd\u52a0\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<div><\/div>\n<div><\/div>\n<div>\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u4f8b<\/div>\n<div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\"># Post the dataset with an ID of 7\nPOST index.php?\/api\/v2\/add_dataset\/7<\/pre>\n<\/div>\n<h3 class=\"ip-location-block-dropup ip-location-block-dropdown\">\u30ea\u30af\u30a8\u30b9\u30c8\u30dc\u30c7\u30a3<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">{\n    \"id\": 7,\n    \"name\": \"MyDataSet\",\n    \"variables\":\n      {\n      \"vara\":\"test\",\n      \"varb\":\"rail\"\n      }\n}<\/pre>\n<div>\n<h3 class=\"ip-location-block-dropup ip-location-block-dropdown\">\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u5185\u5bb9<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">{\n    \"id\": 7,\n    \"name\": \"MyDataSet\",\n    \"variables\": [\n        {\n            \"id\": 3,\n            \"name\": \"vara\",\n            \"value\": \"test\"\n        },\n        {\n            \"id\": 4,\n            \"name\": \"varb\",\n            \"value\": \"rail\"\n        }\n    ]\n}<\/pre>\n<\/div>\n<div><span>\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u306f\u6b21\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/span><\/div>\n<div>\n<table class=\"table table--hover\">\n<thead>\n<tr>\n<th>\u540d\u524d<\/th>\n<th>\u30bf\u30a4\u30d7<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>id<\/td>\n<td>integer<\/td>\n<td>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u4e00\u610f\u306e ID<\/td>\n<\/tr>\n<tr>\n<td>name<\/td>\n<td>string<\/td>\n<td>\u6307\u5b9a\u3055\u308c\u305f\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u540d\u524d<\/td>\n<\/tr>\n<tr>\n<td>\u5909\u6570\/\u5024\u306e\u30da\u30a2<\/td>\n<td>array<\/td>\n<td>\u30ad\u30fc\/\u5024\u306e\u30da\u30a2\u3002\u30ad\u30fc\u306f\u5909\u6570\u540d\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u5024\u306f\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u8ffd\u52a0\u3055\u308c\u308b\u5024\u3067\u3059\u3002\u4f8b\uff1a\u201cbrowser\u201d: \u201cChrome\u201d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h3>\u30ec\u30b9\u30dd\u30f3\u30b9\u30b3\u30fc\u30c9<\/h3>\n<div>\n<table class=\"table table--hover\">\n<thead>\n<tr>\n<th>\u30b9\u30c6\u30fc\u30bf\u30b9 \u30b3\u30fc\u30c9<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>200<\/td>\n<td>\u6210\u529f<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>\n<ul>\n<li>\u7121\u52b9\u306a project_id<\/li>\n<li>project_id \u304c\u3042\u308a\u307e\u305b\u3093<\/li>\n<li>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u540d\u304c\u7121\u52b9\u3067\u3059<\/li>\n<li>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u540d\u306f\u3059\u3067\u306b\u73fe\u5728\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u5b58\u5728\u3057\u307e\u3059<\/li>\n<li>\u5909\u6570\/\u5024\u306e\u30da\u30a2\u306b\u7121\u52b9\u306a\u30c7\u30fc\u30bf\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059 (\u5909\u6570\u540d\u304c\u5b58\u5728\u3057\u306a\u3044\u3001\u5024\u304c\u6587\u5b57\u5217\u3068\u3057\u3066\u30b5\u30d6\u30df\u30c3\u30c8\u3055\u308c\u3066\u3044\u306a\u3044\u3001\u5024\u304c\u9577\u3055\u306e\u5236\u9650\u3092\u8d85\u3048\u3066\u3044\u308b\u306a\u3069)<\/li>\n<li>\u8a31\u5bb9\u3055\u308c\u308b\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u6570\u3092\u8d85\u904e\u3057\u3066\u3044\u307e\u3059<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>401<\/td>\n<td>\u8a8d\u8a3c\u30a8\u30e9\u30fc<\/td>\n<\/tr>\n<tr>\n<td>403<\/td>\n<td>\n<ul>\n<li>\u6a29\u9650\u304c\u4e0d\u5341\u5206\u3067\u3059 (\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093)\u3002<\/li>\n<li>Enterprise \u30e9\u30a4\u30bb\u30f3\u30b9\/\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div>\n<h2 id=\"spanstylefontweight400updatedatasetspan\"><span id=\"update_dataset\">update_dataset<\/span><\/h2>\n<p>\u65e2\u5b58\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">POST index.php?\/api\/v2\/update_dataset\/{dataset_id}<\/pre>\n<h3>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc<\/h3>\n<table class=\"table table--hover\">\n<thead>\n<tr>\n<th>\u540d\u524d<\/th>\n<th>\u30bf\u30a4\u30d7<\/th>\n<th>\u5fc5\u9808<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>dataset_id<\/td>\n<td>integer<\/td>\n<td>true<\/td>\n<td>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u66f4\u65b0\u3059\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u4f8b<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\"># Post the dataset with an ID of 2\nPOST index.php?\/api\/v2\/update_dataset\/2<\/pre>\n<h3>\u30ea\u30af\u30a8\u30b9\u30c8 \u30dc\u30c7\u30a3<\/h3>\n<p><span>\u66f4\u65b0\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u30ea\u30af\u30a8\u30b9\u30c8 \u30dc\u30c7\u30a3\u306f add_dataset \u306e\u30ec\u30b9\u30dd\u30f3\u30b9 \u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3068\u540c\u3058\u3067\u3059\u3002<\/span><\/p>\n<h3>\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u5185\u5bb9<\/h3>\n<p>\u6210\u529f\u3057\u305f\u5834\u5408\u3001\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306f add_dataset \u3068\u540c\u3058\u30ec\u30b9\u30dd\u30f3\u30b9\u5f62\u5f0f\u3092\u4f7f\u7528\u3057\u3066\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<p>\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u306f\u6b21\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<table class=\"table table--hover\">\n<thead>\n<tr>\n<th>\u540d\u524d<\/th>\n<th>\u30bf\u30a4\u30d7<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>id<\/td>\n<td>integer<\/td>\n<td>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9 ID<\/td>\n<\/tr>\n<tr>\n<td>name<\/td>\n<td>string<\/td>\n<td>\u6307\u5b9a\u3055\u308c\u305f\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u540d\u524d<\/td>\n<\/tr>\n<tr>\n<td>\u5909\u6570\/\u5024\u306e\u30da\u30a2<\/td>\n<td>array<\/td>\n<td>\u30ad\u30fc\/\u5024\u306e\u30da\u30a2\u3002\u30ad\u30fc\u306f\u5909\u6570\u540d\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u5024\u306f\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u8ffd\u52a0\u3055\u308c\u308b\u5024\u3067\u3059\u3002\u4f8b\uff1a\u201cbrowser\u201d: \u201cChrome\u201d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u30ec\u30b9\u30dd\u30f3\u30b9 \u30b3\u30fc\u30c9<\/h3>\n<table class=\"table table--hover\">\n<thead>\n<tr>\n<th>\u30b9\u30c6\u30fc\u30bf\u30b9 \u30b3\u30fc\u30c9<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>200<\/td>\n<td>\u6210\u529f<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>\n<ul>\n<li>\u7121\u52b9\u306a <span>dataset_id<\/span><\/li>\n<li><span>dataset_id <\/span>\u304c\u3042\u308a\u307e\u305b\u3093<\/li>\n<li>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u540d\u304c\u7121\u52b9\u3067\u3059<\/li>\n<li>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u540d\u306f\u3059\u3067\u306b\u73fe\u5728\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u5b58\u5728\u3057\u307e\u3059<\/li>\n<li>\u5909\u6570\/\u5024\u306e\u30da\u30a2\u306b\u7121\u52b9\u306a\u30c7\u30fc\u30bf\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059 (\u5909\u6570\u540d\u304c\u5b58\u5728\u3057\u306a\u3044\u3001\u5024\u304c\u6587\u5b57\u5217\u3068\u3057\u3066\u30b5\u30d6\u30df\u30c3\u30c8\u3055\u308c\u3066\u3044\u306a\u3044\u3001\u5024\u304c\u9577\u3055\u306e\u5236\u9650\u3092\u8d85\u3048\u3066\u3044\u308b\u306a\u3069)<\/li>\n<li>\u8a31\u5bb9\u3055\u308c\u308b\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u6570\u3092\u8d85\u904e\u3057\u3066\u3044\u307e\u3059<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>401<\/td>\n<td>\u8a8d\u8a3c\u30a8\u30e9\u30fc<\/td>\n<\/tr>\n<tr>\n<td>403<\/td>\n<td>\n<ul>\n<li>\u6a29\u9650\u304c\u4e0d\u5341\u5206\u3067\u3059 (\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093)<\/li>\n<li>\u6a29\u9650\u304c\u4e0d\u5341\u5206\u3067\u3059 (\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c6\u30b9\u30c8 \u30c7\u30fc\u30bf\u306b\u5bfe\u3059\u308b\u8ffd\u52a0\/\u7de8\u96c6\u6a29\u9650\u304c\u3042\u308a\u307e\u305b\u3093)<\/li>\n<li>Enterprise \u30e9\u30a4\u30bb\u30f3\u30b9\/\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>delete_dataset<\/h2>\n<p>[et_pb_text admin_label=&#8221;Note&#8221; _builder_version=&#8221;4.4.2&#8243; background_color=&#8221;#ffffdd&#8221; hover_enabled=&#8221;0&#8243; border_width_all=&#8221;1px&#8221; border_color_all=&#8221;#E1E163&#8243;]<\/p>\n<p>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u524a\u9664\u3059\u308b\u3068\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u5024\u3082\u524a\u9664\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>[\/et_pb_text]<\/p>\n<p>\u65e2\u5b58\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">POST index.php?\/api\/v2\/delete_dataset\/{dataset_id}<\/pre>\n<h3>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc<\/h3>\n<table class=\"table table--hover\">\n<thead>\n<tr>\n<th>\u540d\u524d<\/th>\n<th>\u30bf\u30a4\u30d7<\/th>\n<th>\u5fc5\u9808<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>dataset_id<\/td>\n<td>integer<\/td>\n<td>true<\/td>\n<td>\u524a\u9664\u3059\u308b\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"et_pb_module et_pb_text et_pb_text_3 docs-table  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<div class=\"et_pb_row et_pb_row_6\">\n<div class=\"et_pb_column et_pb_column_4_4 et_pb_column_6  et_pb_css_mix_blend_mode_passthrough et-last-child\">\n<div class=\"et_pb_module et_pb_text et_pb_text_18  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<div class=\"et_pb_module et_pb_text et_pb_text_3 docs-table  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<div class=\"et_pb_row et_pb_row_8\">\n<div class=\"et_pb_column et_pb_column_4_4 et_pb_column_8  et_pb_css_mix_blend_mode_passthrough et-last-child\">\n<div class=\"et_pb_module et_pb_text et_pb_text_24  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<div class=\"et_pb_module et_pb_text et_pb_text_3 docs-table  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3 id=\"01G68JZ4AMW2EVBMQNCG0SNSJE\">\u30ec\u30b9\u30dd\u30f3\u30b9 \u30b3\u30fc\u30c9<\/h3>\n<table class=\"table table--hover\" style=\"border-collapse: collapse; width: 100%;\">\n<thead>\n<tr>\n<th>\u30b9\u30c6\u30fc\u30bf\u30b9 \u30b3\u30fc\u30c9<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>200<\/td>\n<td>\u6210\u529f<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>\n<ul>\n<li>\u7121\u52b9\u306a dataset_id<\/li>\n<li>dataset_id \u304c\u3042\u308a\u307e\u305b\u3093<\/li>\n<li>dataset_id \u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30c7\u30fc\u30bf \u30bb\u30c3\u30c8\u3067\u3059<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td>401<\/td>\n<td>\u8a8d\u8a3c\u30a8\u30e9\u30fc<\/td>\n<\/tr>\n<tr>\n<td>403<\/td>\n<td>\n<ul>\n<li>\u6a29\u9650\u304c\u4e0d\u5341\u5206\u3067\u3059 (\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093)<\/li>\n<li>\u6a29\u9650\u304c\u4e0d\u5341\u5206\u3067\u3059 (\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c6\u30b9\u30c8 \u30c7\u30fc\u30bf\u306b\u5bfe\u3059\u308b\u8ffd\u52a0\/\u7de8\u96c6\u6a29\u9650\u304c\u3042\u308a\u307e\u305b\u3093)<\/li>\n<li>Enterprise \u30e9\u30a4\u30bb\u30f3\u30b9\/\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3001\u53d6\u5f97\u3001\u66f4\u65b0\u3001\u524a\u9664\u3059\u308b\u306b\u306f\u3001\u6b21\u306e API \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002 get_dataset \u8981\u6c42\u3055\u308c\u305f\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8 \u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002 GET index.php?\/api\/v2\/get_ [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":6632,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-22297","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/22297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/comments?post=22297"}],"version-history":[{"count":41,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/22297\/revisions"}],"predecessor-version":[{"id":27874,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/22297\/revisions\/27874"}],"up":[{"embeddable":true,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/6632"}],"wp:attachment":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/media?parent=22297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}