{"id":20308,"date":"2023-01-19T07:20:13","date_gmt":"2023-01-18T22:20:13","guid":{"rendered":"https:\/\/44.225.35.201\/testrail\/docs\/801\/api-manual\/reference\/attachments\/"},"modified":"2023-09-16T13:46:15","modified_gmt":"2023-09-16T04:46:15","slug":"api-attachments","status":"publish","type":"page","link":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/api-manual\/reference\/api-attachments\/","title":{"rendered":"\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb"},"content":{"rendered":"<p>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3001\u53d6\u5f97\u3001\u524a\u9664\u3059\u308b\u306b\u306f\u3001\u6b21\u306e API \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u00a0<abbr title=\"\">\u00a0<\/abbr><\/p>\n<p><strong>TestRail API \u7d4c\u7531\u3067 POST \u30ea\u30af\u30a8\u30b9\u30c8\u3092\u4f7f\u7528\u3057\u3066\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u5834\u5408\u3001\u6b21\u306e\u30d8\u30c3\u30c0\u30fc\u304c\u5fc5\u8981\u3067\u3059\u3002<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">Content-Type: multipart\/form-data<\/pre>\n<p id=\"add_attachment_to_plan\">\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306f\u3001form-data\u3068\u3057\u3066\u30ea\u30af\u30a8\u30b9\u30c8\u306ebody\u3067\u6307\u5b9a\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u9001\u4fe1\u4f8b\u306b\u3064\u3044\u3066\u306f\u3001 <a class=\"wikilink1\" title=\"testrail-api:accessing\" href=\"\/accessing-api\/\" target=\"_blank\" rel=\"noopener\">API \u3078\u306e\u30a2\u30af\u30bb\u30b9<\/a> \u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u307e\u305f\u306f TestRail\u306e\u30d0\u30a4\u30f3\u30c7\u30a3\u30f3\u30b0\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><!-- START warning --><\/p>\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<div class=\"callout callout--warning\">\n<p>TestRail 7.1 \u4ee5\u964d\u3067\u306f\u3001\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u304c\u5909\u66f4\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u65b0\u3057\u3044\u5f62\u5f0f\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb ID \u304c\u5c0e\u5165\u3055\u308c\u3066\u3044\u307e\u3059\u3002<a href=\"\/introduction-api\/#API_ID\" target=\"_blank\" rel=\"noopener\">TestRail API \u306e\u6982\u8981<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>\n<p>[\/et_pb_text]<\/p>\n<h2>add_attachment_to_case<\/h2>\n<div class=\"callout\"><strong>TestRail 6.5.2 \u4ee5\u964d\u304c\u5fc5\u8981\u3067\u3059\u3002<\/strong><\/div>\n<p><!-- END version callout --><\/p>\n<p>\u30c6\u30b9\u30c8\u8a08\u753b\u306b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u6700\u5927\u8a31\u5bb9\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 \u30b5\u30a4\u30ba\u306f 256MB \u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">POST index.php?\/api\/v2\/add_attachment_to_case\/{case_id}<\/pre>\n<h3 id=\"01G68JZ4AKYR83WPCAFVVN0TKJ\">\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>case_id<\/td>\n<td>integer<\/td>\n<td>true<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"et_pb_module et_pb_text et_pb_text_9  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<h3 id=\"01G6G8JBJHDV64F48CBN4RV1KD\">\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u5185\u5bb9<\/h3>\n<p>\u5178\u578b\u7684\u306a\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u3064\u3044\u3066\u306f\u3001\u4e0b\u8a18\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>\n<\/div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">{\n    \"attachment_id\": 443\n}<\/pre>\n<div class=\"et_pb_module et_pb_text et_pb_text_10  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\u30b7\u30b9\u30c6\u30e0\u9805\u76ee\u304c\u5e38\u306b\u542b\u307e\u308c\u3066\u3044\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>attachment_id<\/td>\n<td>integer<\/td>\n<td>TestRail \u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e ID<\/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\">\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><span>\u6210\u529f\u3002\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306eID\u304c\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u4e00\u90e8\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059<\/span><\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td><span>\u7121\u52b9\u307e\u305f\u306f\u4e0d\u660e\u306a\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9<\/span><\/td>\n<\/tr>\n<tr>\n<td>403<\/td>\n<td><span>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044<\/span><\/td>\n<\/tr>\n<tr>\n<td>429<\/td>\n<td><strong>TestRail Cloud \u306e\u307f <\/strong>\u2014 \u30ea\u30af\u30a8\u30b9\u30c8\u304c\u591a\u3059\u304e\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"addattachmenttoplan\">add_attachment_to_plan<\/h2>\n<p><!-- START version callout --><\/p>\n<div class=\"callout\">\n<p id=\"01G7S2JWVGMG2S57WXDPFPWMQD\" class=\"callout__title callout__icon\"><strong>TestRail 6.3 \u4ee5\u964d\u304c\u5fc5\u8981\u3067\u3059\u3002<\/strong><\/p>\n<\/div>\n<p><!-- END version callout --><\/p>\n<div class=\"et_pb_text_inner\">\n<p>\u30c6\u30b9\u30c8\u8a08\u753b\u306b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u6700\u5927\u8a31\u5bb9\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 \u30b5\u30a4\u30ba\u306f 256MB \u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/div>\n<\/div>\n<div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">POST index.php?\/api\/v2\/add_attachment_to_plan\/{plan_id}<\/pre>\n<\/div>\n<div class=\"et_pb_module et_pb_text et_pb_text_16 docs-table  et_pb_text_align_left et_pb_bg_layout_light\"><a href=\"https:\/\/www.gurock.com\/testrail\/docs\/api\/getting-started\/introduction\"> <\/a><\/p>\n<div class=\"et_pb_text_inner\">\n<h3 id=\"01G6GBW6B6SEWA4XJ8CQX0C1BZ\">\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>plan_id<\/td>\n<td>integer<\/td>\n<td>true<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u30c6\u30b9\u30c8\u8a08\u753b\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"et_pb_module et_pb_text et_pb_text_17  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<h3 id=\"01G6GBYJCKC9PW5DVMJB0Y6ZGD\">\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u5185\u5bb9<\/h3>\n<p>\u5178\u578b\u7684\u306a\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u3064\u3044\u3066\u306f\u3001\u4e0b\u8a18\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>\n<\/div>\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<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">{\n    \"attachment_id\": 443\n}<\/pre>\n<p>\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u306f\u6b21\u306e\u30b7\u30b9\u30c6\u30e0\u9805\u76ee\u304c\u5e38\u306b\u542b\u307e\u308c\u3066\u3044\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>attachment_id<\/td>\n<td>integer<\/td>\n<td>TestRail \u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"01G6GBXMQ3K6JYF9R604JEP5K1\">\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><span>\u6210\u529f\u3002\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306eID\u304c\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u4e00\u90e8\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059<\/span><\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>\u7121\u52b9\u307e\u305f\u306f\u4e0d\u660e\u306a\u30c6\u30b9\u30c8\u8a08\u753b<\/td>\n<\/tr>\n<tr>\n<td>403<\/td>\n<td><span>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044<\/span><\/td>\n<\/tr>\n<tr>\n<td>429<\/td>\n<td><strong>TestRail Cloud \u306e\u307f <\/strong>\u2014 \u30ea\u30af\u30a8\u30b9\u30c8\u304c\u591a\u3059\u304e\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"addattachmenttoplanentry\">add_attachment_to_plan_entry<\/h2>\n<div class=\"et_pb_text_inner\"><!-- START version callout --><strong>TestRail 6.3 \u4ee5\u964d\u304c\u5fc5\u8981\u3067\u3059\u3002<\/strong><!-- END version callout --><\/p>\n<div class=\"et_pb_text_inner\">\n<p>\u30c6\u30b9\u30c8\u8a08\u753b\u306b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u6700\u5927\u8a31\u5bb9\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 \u30b5\u30a4\u30ba\u306f 256MB \u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/div>\n<\/div>\n<div class=\"et_pb_module et_pb_text et_pb_text_16 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\">POST index.php?\/api\/v2\/add_attachment_to_plan_entry\/{plan_id}\/{entry_id}<\/pre>\n<h3 id=\"01G6GCF2G1ZW2C0RDCS02V158X\">\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>plan_id<\/td>\n<td>integer<\/td>\n<td>true<\/td>\n<td>\u30a8\u30f3\u30c8\u30ea\u3092\u542b\u3080\u30c6\u30b9\u30c8\u8a08\u753b\u306e ID<\/td>\n<\/tr>\n<tr>\n<td>entry_id<\/td>\n<td>integer<\/td>\n<td>true<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u30c6\u30b9\u30c8\u8a08\u753b\u30a8\u30f3\u30c8\u30ea\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"et_pb_module et_pb_text et_pb_text_17  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<h3 id=\"01G6GCF2G2VZE2YSNDZGH7SBZ7\">\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u5185\u5bb9<\/h3>\n<p>\u5178\u578b\u7684\u306a\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u3064\u3044\u3066\u306f\u3001\u4e0b\u8a18\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>\n<\/div>\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<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">{\n    \"attachment_id\": 443\n}<\/pre>\n<p>\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u306f\u6b21\u306e\u30b7\u30b9\u30c6\u30e0\u9805\u76ee\u304c\u5e38\u306b\u542b\u307e\u308c\u3066\u3044\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>attachment_id<\/td>\n<td>integer<\/td>\n<td>TestRail \u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"01G6GCF2G2JHSVP5746YX98HND\">\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\u3002\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306eID\u304c\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u4e00\u90e8\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>POST\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u6b63\u3057\u304f\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3055\u308c\u3066\u3044\u306a\u3044\u304b\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u306e ID \u304c\u7121\u52b9\u3067\u3059<\/td>\n<\/tr>\n<tr>\n<td>403<\/td>\n<td><span>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u304c\u306a\u3044\u304b\u3001\u6a29\u9650\u304c\u4e0d\u5341\u5206\u3067\u3059<\/span><\/td>\n<\/tr>\n<tr>\n<td>429<\/td>\n<td><strong>TestRail Cloud\u306e\u307f <\/strong>\u2014 \u30ea\u30af\u30a8\u30b9\u30c8\u304c\u591a\u3059\u304e\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"addattachmenttoresult\">add_attachment_to_result<\/h2>\n<div class=\"et_pb_text_inner\"><!-- START version callout --><\/p>\n<div class=\"callout\">\n<p><strong>TestRail 5.7 \u4ee5\u964d\u304c\u5fc5\u8981\u3067\u3059\u3002<\/strong><\/p>\n<\/div>\n<div class=\"callout callout--warning\">\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<div class=\"callout callout--warning\">\n<p>Add_attachment_to_result \u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u5229\u7528\u3059\u308b\u306b\u306f\u3001[\u30b5\u30a4\u30c8\u8a2d\u5b9a] \u3067\u30c6\u30b9\u30c8\u7d50\u679c\u306e\u7de8\u96c6\u6a5f\u80fd\u3092\u6709\u52b9\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/div>\n<p><!-- END warning --><\/p>\n<p>[\/et_pb_text]<\/p>\n<\/div>\n<p>\u6307\u5b9a\u3055\u308c\u305f\u7d50\u679c ID \u3092\u6301\u3064\u7d50\u679c\u306b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u6700\u5927\u8a31\u5bb9\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 \u30b5\u30a4\u30ba\u306f 256MB \u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/div>\n<\/div>\n<div class=\"et_pb_module et_pb_code et_pb_code_2 docs-code-block\">\n<div class=\"et_pb_code_inner\">\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">POST index.php?\/api\/v2\/add_attachment_to_result\/{result_id}<\/pre>\n<\/div>\n<\/div>\n<div class=\"et_pb_module et_pb_text et_pb_text_16 docs-table  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<h3 id=\"01G6GCYJYM4BB9DKE4C2KSC9B7\">\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>result_id<\/td>\n<td>integer<\/td>\n<td>true<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u30c6\u30b9\u30c8\u7d50\u679c\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"et_pb_module et_pb_text et_pb_text_17  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<p>:result_id \u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001<a class=\"urlextern\" href=\"\/api-results\/\" target=\"_blank\" rel=\"noopener\">\u7d50\u679c API \u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3 id=\"01G6GCYJYMAESNQEJK07N0GV4C\">\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u5185\u5bb9<\/h3>\n<p>\u5178\u578b\u7684\u306a\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u3064\u3044\u3066\u306f\u3001\u4e0b\u8a18\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>\n<\/div>\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<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">{\n    \"attachment_id\": 443\n}<\/pre>\n<p>\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u306f\u6b21\u306e\u30b7\u30b9\u30c6\u30e0\u9805\u76ee\u304c\u5e38\u306b\u542b\u307e\u308c\u3066\u3044\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>attachment_id<\/td>\n<td>integer<\/td>\n<td>TestRail \u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"01G6GCYJYNR5KV1MQ5XM3E85ED\">\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\u3002\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306eID\u304c\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u4e00\u90e8\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>POST\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u6b63\u3057\u304f\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3055\u308c\u3066\u3044\u306a\u3044\u304b\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u306e ID \u304c\u7121\u52b9\u3067\u3059<\/td>\n<\/tr>\n<tr>\n<td>403<\/td>\n<td><span>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u304c\u306a\u3044\u304b\u3001\u6a29\u9650\u304c\u4e0d\u5341\u5206\u3067\u3059<\/span><\/td>\n<\/tr>\n<tr>\n<td>429<\/td>\n<td><strong>TestRail Cloud\u306e\u307f<span>\u00a0<\/span><\/strong>\u2014 \u30ea\u30af\u30a8\u30b9\u30c8\u304c\u591a\u3059\u304e\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"addattachmenttorun\">add_attachment_to_run<\/h2>\n<p><!-- START version callout --><\/p>\n<div class=\"callout\">\n<p id=\"01G7S2JWVHD3NZWGPRNNKAPSXR\" class=\"callout__title callout__icon\"><strong>T<\/strong><strong>estRail 6.3 \u4ee5\u964d\u304c\u5fc5\u8981\u3067\u3059\u3002<\/strong><\/p>\n<\/div>\n<p><!-- END version callout --><\/p>\n<p>\u30c6\u30b9\u30c8 \u30e9\u30f3\u306b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u6700\u5927\u8a31\u5bb9\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 \u30b5\u30a4\u30ba\u306f 256MB \u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">POST index.php?\/api\/v2\/add_attachment_to_run\/{run_id}<\/pre>\n<div class=\"et_pb_module et_pb_text et_pb_text_16 docs-table  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<h3 id=\"01G9EFZF2JWRFAWXJF8T81A5JC\">\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>run_id<\/td>\n<td>integer<\/td>\n<td>true<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u30c6\u30b9\u30c8 \u30e9\u30f3\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"01G9EFZF315HX5C28J42B1H275\">\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u5185\u5bb9<\/h3>\n<p>\u5178\u578b\u7684\u306a\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u3064\u3044\u3066\u306f\u3001\u4e0b\u8a18\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"et_pb_module et_pb_text et_pb_text_44  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">{\n    \"attachment_id\": 443\n}<\/pre>\n<p>\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u306f\u6b21\u306e\u30b7\u30b9\u30c6\u30e0\u9805\u76ee\u304c\u5e38\u306b\u542b\u307e\u308c\u3066\u3044\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>attachment_id<\/td>\n<td>integer<\/td>\n<td>TestRail \u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"01G9EG33E16F8X1K0BK5SYMA96\">\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\u3002\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306eID\u304c\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u4e00\u90e8\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>POST\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u6b63\u3057\u304f\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3055\u308c\u3066\u3044\u306a\u3044\u304b\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u306e ID \u304c\u7121\u52b9\u3067\u3059<\/td>\n<\/tr>\n<tr>\n<td>403<\/td>\n<td><span>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u304c\u306a\u3044\u304b\u3001\u6a29\u9650\u304c\u4e0d\u5341\u5206\u3067\u3059<\/span><\/td>\n<\/tr>\n<tr>\n<td>429<\/td>\n<td><strong>TestRail Cloud\u306e\u307f<span>\u00a0<\/span><\/strong>\u2014 \u30ea\u30af\u30a8\u30b9\u30c8\u304c\u591a\u3059\u304e\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h2 id=\"getattachmentsforcase\">get_attachments_for_case<\/h2>\n<div class=\"et_pb_text_inner\"><!-- START version callout --><\/p>\n<div class=\"callout\">\n<p><strong>TestRail 5.7 \u4ee5\u964d\u304c\u5fc5\u8981\u3067\u3059\u3002<\/strong><\/p>\n<\/div>\n<p><!-- END version callout --><\/p>\n<div class=\"et_pb_text_inner\">\n<p>1 \u3064\u306e\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306b\u5bfe\u3059\u308b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u30ea\u30b9\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n<\/div>\n<div class=\"et_pb_module et_pb_code et_pb_code_2 docs-code-block\">\n<div class=\"et_pb_code_inner\">\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">GET index.php?\/api\/v2\/get_attachments_for_case\/{case_id}&amp;limit={limit}&amp;offset={offset}<\/pre>\n<\/div>\n<\/div>\n<div class=\"et_pb_module et_pb_text et_pb_text_16 docs-table  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<h3 id=\"01G6GDPAK32PVWVF0RXMPX73Y1\">\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>case_id<\/td>\n<td>integer<\/td>\n<td>true<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u53d6\u5f97\u3059\u308b\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"01G6GDXW9878XAA2R1WVTHWQKT\">\u30ea\u30af\u30a8\u30b9\u30c8 \u30d5\u30a3\u30eb\u30bf\u30fc<\/h3>\n<p>\u4ee5\u4e0b\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u9069\u7528\u3067\u304d\u307e\u3059<\/p>\n<table class=\"table table--hover\">\n<thead>\n<tr>\n<th style=\"width: 69.9653px;\">\u540d\u524d<\/th>\n<th style=\"width: 73.2755px;\">\u30bf\u30a4\u30d7<\/th>\n<th style=\"width: 546.794px;\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 61.9792px;\">limit<\/td>\n<td style=\"width: 65.2894px;\">integer<\/td>\n<td style=\"width: 538.808px;\">\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u8fd4\u3059\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u6570 (\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u30b5\u30a4\u30ba\u306f 250) (TestRail 6.7 \u4ee5\u964d\u304c\u5fc5\u8981)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 61.9792px;\">offset<\/td>\n<td style=\"width: 65.2894px;\">integer<\/td>\n<td style=\"width: 538.808px;\">\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u30ab\u30a6\u30f3\u30c8\u3092\u958b\u59cb\u3059\u308b\u4f4d\u7f6e (\u30aa\u30d5\u30bb\u30c3\u30c8) (TestRail 6.7 \u4ee5\u964d\u304c\u5fc5\u8981)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"01G6GDXW99129GFV5WJQZFAEBM\">\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u5185\u5bb9<\/h3>\n<p>\u5178\u578b\u7684\u306a\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u3064\u3044\u3066\u306f\u3001\u4e0b\u8a18\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"json\">{\n    \"offset\": 0,\n    \"limit\": 250,\n    \"size\": 0,\n    \"_link\": {\n        \"next\": null,\n        \"prev\": null,\n    },\n    \"attachments\": [\n        {\n            \"id\": 1773,\n            \"name\": \"image.jpg\",\n            \"size\": 21995,\n            \"created_on\": 1585560521,\n            \"project_id\": 33,\n            \"case_id\": 57333,\n            \"user_id\": 1,\n            \"result_id\": null\n        }\n    ]\n}<\/pre>\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>TestRail 7.1 \u4ee5\u964d\u3067\u306f\u3001\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u304c\u5909\u66f4\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u65b0\u3057\u3044\u5f62\u5f0f\u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb ID \u304c\u5c0e\u5165\u3055\u308c\u3066\u3044\u307e\u3059\u3002<a href=\"\/introduction-api\/#API_ID\" target=\"_blank\" rel=\"noopener\">TestRail API \u306e\u6982\u8981<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>[\/et_pb_text]<\/p>\n<pre><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\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    \"attachments\": [\n        {\n            \"client_id\": 614308,\n            \"project_id\": 2,\n            \"entity_type\": \"case\",\n            \"id\": \"2ec27be4-812f-4806-9a5d-d39130d1691a\",\n            \"created_on\": 1631722975,\n            \"data_id\": \"63c82867-526d-43be-b1a5-9ddfcf581cf5\",\n            \"entity_id\": \"3\",\n            \"filename\": \"msdia80.dll\",\n            \"filetype\": \"dll\",\n            \"legacy_id\": 0,\n            \"name\": \"msdia80.dll\",\n            \"size\": 904704,\n            \"user_id\": 1,\n            \"is_image\": false,\n            \"icon\": \"other\"\n        }\n    ]\n}<\/pre>\n<div class=\"et_pb_module et_pb_text et_pb_text_55  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\u30b7\u30b9\u30c6\u30e0\u9805\u76ee\u304c\u5e38\u306b\u542b\u307e\u308c\u3066\u3044\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>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u4e00\u610f\u306e ID<\/td>\n<\/tr>\n<tr>\n<td>name<\/td>\n<td>string<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d<\/td>\n<\/tr>\n<tr>\n<td>size<\/td>\n<td>integer<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u30b5\u30a4\u30ba (\u5358\u4f4d: \u30d0\u30a4\u30c8)<\/td>\n<\/tr>\n<tr>\n<td>created_on<\/td>\n<td>timestamp<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u65e5\u6642<\/td>\n<\/tr>\n<tr>\n<td>project_id<\/td>\n<td>integer<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e ID<\/td>\n<\/tr>\n<tr>\n<td>case_id<\/td>\n<td>integer<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u304c\u6240\u5c5e\u3059\u308b\u30b1\u30fc\u30b9\u306e ID<\/td>\n<\/tr>\n<tr>\n<td>user_id<\/td>\n<td>integer<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u306e ID<\/td>\n<\/tr>\n<tr>\n<td>result_id<\/td>\n<td>integer<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u304c\u6240\u5c5e\u3059\u308b\u30c6\u30b9\u30c8\u7d50\u679c\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"01G6GEE2QM788D2N532YVTMYCW\">\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\u3002\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u8a73\u7d30\u306e\u914d\u5217\u304c\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u4e00\u90e8\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>\u30c6\u30b9\u30c8 \u30b1\u30fc\u30b9 ID \u304c\u7121\u52b9\u3067\u3059<\/td>\n<\/tr>\n<tr>\n<td>403<\/td>\n<td><span>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u304c\u306a\u3044\u304b\u3001\u6a29\u9650\u304c\u4e0d\u5341\u5206\u3067\u3059<\/span><\/td>\n<\/tr>\n<tr>\n<td>429<\/td>\n<td><strong>TestRail Cloud\u306e\u307f<span>\u00a0<\/span><\/strong>\u2014 \u30ea\u30af\u30a8\u30b9\u30c8\u304c\u591a\u3059\u304e\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"getattachmentsforplan\">get_attachments_for_plan<\/h2>\n<div class=\"callout\">\n<p><strong>TestRail 6.3 \u4ee5\u964d\u304c\u5fc5\u8981\u3067\u3059\u3002<\/strong><\/p>\n<\/div>\n<div class=\"et_pb_module et_pb_text et_pb_text_60  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<p>\u30c6\u30b9\u30c8\u8a08\u753b\u306b\u542b\u307e\u308c\u308b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u30ea\u30b9\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">GET index.php?\/api\/v2\/get_attachments_for_plan\/{plan_id}&amp;limit={limit}&amp;offset={offset}<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3 id=\"01G6TFPZA890HDMCQYX046XQH6\">\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>plan_id<\/td>\n<td>integer<\/td>\n<td>true<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u30ea\u30b9\u30c8\u3092\u53d6\u5f97\u3059\u308b\u30c6\u30b9\u30c8\u8a08\u753b\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"01G6TFPZA9C6WB7Y5DB8680THQ\">\u30ea\u30af\u30a8\u30b9\u30c8 \u30d5\u30a3\u30eb\u30bf\u30fc<\/h3>\n<p>\u4ee5\u4e0b\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u9069\u7528\u3067\u304d\u307e\u3059<\/p>\n<table class=\"table table--hover\">\n<thead>\n<tr>\n<th style=\"width: 69.9653px;\">\u540d\u524d<\/th>\n<th style=\"width: 73.2755px;\">\u30bf\u30a4\u30d7<\/th>\n<th style=\"width: 546.794px;\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 61.9792px;\">limit<\/td>\n<td style=\"width: 65.2894px;\">integer<\/td>\n<td style=\"width: 538.808px;\">\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u8fd4\u3059\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u6570 (\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u30b5\u30a4\u30ba\u306f 250) (<strong>TestRail 6.7 \u4ee5\u964d\u304c\u5fc5\u8981<\/strong>)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 61.9792px;\">offset<\/td>\n<td style=\"width: 65.2894px;\">integer<\/td>\n<td style=\"width: 538.808px;\">\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u30ab\u30a6\u30f3\u30c8\u3092\u958b\u59cb\u3059\u308b\u4f4d\u7f6e (\u30aa\u30d5\u30bb\u30c3\u30c8) (<strong>TestRail 6.7 \u4ee5\u964d\u304c\u5fc5\u8981<\/strong>)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"et_pb_module et_pb_text et_pb_text_53  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<h3 id=\"01G6TFPZAA2WZNVA9G6TBBB5RN\">\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u5185\u5bb9<\/h3>\n<p>\u5178\u578b\u7684\u306a\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u3064\u3044\u3066\u306f\u3001\u4e0b\u8a18\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"et_pb_module et_pb_text et_pb_text_65 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=\"json\">[\n    {\n        \"id\": 1900,\n        \"name\": \"TR-2104.gif\",\n        \"size\": 3838070,\n        \"created_on\": 1602178189,\n        \"project_id\": 15,\n        \"case_id\": null,\n        \"user_id\": 1,\n        \"entity_attachments_id\": 360,\n        \"icon_name\": \"Gif Image\",\n        \"result_id\": null\n    }\n]<\/pre>\n<p>\u30ec\u30b9\u30dd\u30f3\u30b9\u306b\u306f\u6b21\u306e\u30b7\u30b9\u30c6\u30e0\u9805\u76ee\u304c\u5e38\u306b\u542b\u307e\u308c\u3066\u3044\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>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u4e00\u610f\u306e ID<\/td>\n<\/tr>\n<tr>\n<td>name<\/td>\n<td>string<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d<\/td>\n<\/tr>\n<tr>\n<td>size<\/td>\n<td>integer<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u30b5\u30a4\u30ba (\u5358\u4f4d: \u30d0\u30a4\u30c8)<\/td>\n<\/tr>\n<tr>\n<td>created_on<\/td>\n<td>timestamp<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u65e5\u6642<\/td>\n<\/tr>\n<tr>\n<td>project_id<\/td>\n<td>integer<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e ID<\/td>\n<\/tr>\n<tr>\n<td>case_id<\/td>\n<td>integer<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u304c\u6240\u5c5e\u3059\u308b\u30b1\u30fc\u30b9\u306e ID<\/td>\n<\/tr>\n<tr>\n<td>user_id<\/td>\n<td>integer<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u306e ID<\/td>\n<\/tr>\n<tr>\n<td>entity_attachments_id<\/td>\n<td>integer<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb \u30ec\u30b3\u30fc\u30c9\u306e ID (\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u81ea\u4f53\u306e ID \u3067\u306f\u3042\u308a\u307e\u305b\u3093)<\/td>\n<\/tr>\n<tr>\n<td>icon_name<\/td>\n<td>string<\/td>\n<td>TestRail UI \u3067\u4f7f\u7528\u3055\u308c\u308b\u30a2\u30a4\u30b3\u30f3\u306e\u540d\u524d<\/td>\n<\/tr>\n<tr>\n<td>result_id<\/td>\n<td>integer<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u304c\u6240\u5c5e\u3059\u308b\u30c6\u30b9\u30c8\u7d50\u679c\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"01G6TGF4CM5ZKNBQMZ95FJHGYX\">\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\u3002\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u8a73\u7d30\u306e\u914d\u5217\u304c\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u4e00\u90e8\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>\u30c6\u30b9\u30c8 \u8a08\u753b ID \u304c\u7121\u52b9\u3067\u3059<\/td>\n<\/tr>\n<tr>\n<td>403<\/td>\n<td><span>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u304c\u306a\u3044\u304b\u3001\u6a29\u9650\u304c\u4e0d\u5341\u5206\u3067\u3059<\/span><\/td>\n<\/tr>\n<tr>\n<td>429<\/td>\n<td><strong>TestRail Cloud\u306e\u307f<span>\u00a0<\/span><\/strong>\u2014 \u30ea\u30af\u30a8\u30b9\u30c8\u304c\u591a\u3059\u304e\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h2 id=\"getattachmentsforplanentry\">get_attachments_for_plan_entry<\/h2>\n<p><!-- START version callout --><\/p>\n<div class=\"callout\">\n<p id=\"01G7S2JWVKPHZ0YRKA4N52SVQK\" class=\"callout__title callout__icon\"><strong>TestRail 6.3 \u4ee5\u964d\u304c\u5fc5\u8981\u3067\u3059\u3002<\/strong><\/p>\n<\/div>\n<p><!-- END version callout --><\/p>\n<p>\u30c6\u30b9\u30c8\u8a08\u753b\u30a8\u30f3\u30c8\u30ea\u306b\u542b\u307e\u308c\u308b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u30ea\u30b9\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">GET index.php?\/api\/v2\/get_attachments_for_plan_entry\/{plan_id}\/{entry_id}<\/pre>\n<h3 id=\"01G6TGECS3M80HCETKT2WKB2B9\">\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>plan_id<\/td>\n<td>integer<\/td>\n<td>true<\/td>\n<td>\u30a8\u30f3\u30c8\u30ea\u3092\u542b\u3080\u30c6\u30b9\u30c8\u8a08\u753b\u306e ID<\/td>\n<\/tr>\n<tr>\n<td>entry_id<\/td>\n<td>integer<\/td>\n<td>true<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u30ea\u30b9\u30c8\u3092\u53d6\u5f97\u3059\u308b\u30c6\u30b9\u30c8\u8a08\u753b\u30a8\u30f3\u30c8\u30ea\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306f get_attachments_for_plan \u3068\u540c\u3058\u30ec\u30b9\u30dd\u30f3\u30b9 \u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<h3 id=\"01G6THJSGVC331G0RKW0STRA1Y\">\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\u3002\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u8a73\u7d30\u306e\u914d\u5217\u304c\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u4e00\u90e8\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>\u30a8\u30f3\u30c8\u30ea ID \u304c\u7121\u52b9\u3067\u3059<\/td>\n<\/tr>\n<tr>\n<td>403<\/td>\n<td><span>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u304c\u306a\u3044\u304b\u3001\u6a29\u9650\u304c\u4e0d\u5341\u5206\u3067\u3059<\/span><\/td>\n<\/tr>\n<tr>\n<td>429<\/td>\n<td><strong>TestRail Cloud\u306e\u307f<span>\u00a0<\/span><\/strong>\u2014 \u30ea\u30af\u30a8\u30b9\u30c8\u304c\u591a\u3059\u304e\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"getattachmentsforrun\">get_attachments_for_run<\/h2>\n<p><!-- START version callout --><\/p>\n<div class=\"callout\">\n<p id=\"01G7S2JWVK4B93B0HH4EY2R1DE\" class=\"callout__title callout__icon\"><strong>TestRail 6.3 \u4ee5\u964d\u304c\u5fc5\u8981\u3067\u3059\u3002<\/strong><\/p>\n<\/div>\n<p><!-- END version callout --><\/p>\n<div class=\"et_pb_module et_pb_text et_pb_text_60  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_69  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<p>\u30c6\u30b9\u30c8 \u30e9\u30f3\u306b\u542b\u307e\u308c\u308b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u30ea\u30b9\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">GET index.php?\/api\/v2\/get_attachments_for_run\/{run_id}?limit={limit}&amp;offset={offset}<\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3 id=\"01G6THGVQG0X5NXBDE0R98CJCR\">\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>run_id<\/td>\n<td>integer<\/td>\n<td>true<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u30ea\u30b9\u30c8\u3092\u53d6\u5f97\u3059\u308b\u30c6\u30b9\u30c8 \u30e9\u30f3\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306f get_attachments_for_plan \u3068\u540c\u3058\u30ec\u30b9\u30dd\u30f3\u30b9 \u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<h3 id=\"01G6THJ80DRV411AHMBP689YHG\">\u30ea\u30af\u30a8\u30b9\u30c8 \u30d5\u30a3\u30eb\u30bf\u30fc<\/h3>\n<p>\u4ee5\u4e0b\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u9069\u7528\u3067\u304d\u307e\u3059<\/p>\n<table class=\"table table--hover\">\n<thead>\n<tr>\n<th style=\"width: 69.9653px;\">\u540d\u524d<\/th>\n<th style=\"width: 73.2755px;\">\u30bf\u30a4\u30d7<\/th>\n<th style=\"width: 546.794px;\">\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"width: 61.9792px;\">limit<\/td>\n<td style=\"width: 65.2894px;\">integer<\/td>\n<td style=\"width: 538.808px;\">\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u8fd4\u3059\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u6570 (\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u30b5\u30a4\u30ba\u306f 250) (<strong>TestRail 6.7 \u4ee5\u964d\u304c\u5fc5\u8981<\/strong>)<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 61.9792px;\">offset<\/td>\n<td style=\"width: 65.2894px;\">integer<\/td>\n<td style=\"width: 538.808px;\">\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u30ab\u30a6\u30f3\u30c8\u3092\u958b\u59cb\u3059\u308b\u4f4d\u7f6e (\u30aa\u30d5\u30bb\u30c3\u30c8) (<strong>TestRail 6.7 \u4ee5\u964d\u304c\u5fc5\u8981<\/strong>)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"01G6THT8D5WNRMK0SJ9CCYFDTB\">\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\u3002\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u8a73\u7d30\u306e\u914d\u5217\u304c\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u4e00\u90e8\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>\u30c6\u30b9\u30c8 \u30e9\u30f3 ID \u304c\u7121\u52b9\u3067\u3059<\/td>\n<\/tr>\n<tr>\n<td>403<\/td>\n<td><span>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u304c\u306a\u3044\u304b\u3001\u6a29\u9650\u304c\u4e0d\u5341\u5206\u3067\u3059<\/span><\/td>\n<\/tr>\n<tr>\n<td>429<\/td>\n<td><strong>TestRail Cloud\u306e\u307f<span>\u00a0<\/span><\/strong>\u2014 \u30ea\u30af\u30a8\u30b9\u30c8\u304c\u591a\u3059\u304e\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"getattachmentsfortest\">get_attachments_for_test<\/h2>\n<p><!-- START version callout --><\/p>\n<div class=\"callout\">\n<p id=\"01G7S2JWVKYVM7AM095RNC4QJ5\" class=\"callout__title callout__icon\"><strong>TestRail 5.7 \u4ee5\u964d\u304c\u5fc5\u8981\u3067\u3059\u3002<\/strong><\/p>\n<\/div>\n<p><!-- END version callout --><\/p>\n<p>1 \u3064\u306e\u30c6\u30b9\u30c8\u7d50\u679c\u306b\u5bfe\u3059\u308b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u30ea\u30b9\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">GET index.php?\/api\/v2\/get_attachments_for_test\/{test_id}<\/pre>\n<h3 id=\"01G6THRXXR7K12GQ4J3JPSXYS6\">\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>test_id<\/td>\n<td>integer<\/td>\n<td>true<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u30ea\u30b9\u30c8\u3092\u53d6\u5f97\u3059\u308b\u30c6\u30b9\u30c8\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306f get_attachments_for_case \u3068\u540c\u3058\u30ec\u30b9\u30dd\u30f3\u30b9 \u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<h3 id=\"01G6THZ6W3YSN4KJK1SF2MA5YJ\">\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\u3002\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e\u8a73\u7d30\u306e\u914d\u5217\u304c\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u4e00\u90e8\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>\u30c6\u30b9\u30c8 ID \u304c\u7121\u52b9\u3067\u3059<\/td>\n<\/tr>\n<tr>\n<td>403<\/td>\n<td><span>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u304c\u306a\u3044\u304b\u3001\u6a29\u9650\u304c\u4e0d\u5341\u5206\u3067\u3059<\/span><\/td>\n<\/tr>\n<tr>\n<td>429<\/td>\n<td><strong>TestRail Cloud\u306e\u307f<span>\u00a0<\/span><\/strong>\u2014 \u30ea\u30af\u30a8\u30b9\u30c8\u304c\u591a\u3059\u304e\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"getattachment\">get_attachment<\/h2>\n<p><!-- START version callout --><\/p>\n<div class=\"callout\">\n<p id=\"01G7S2JWVK8EAFBHW364CS5E17\" class=\"callout__title callout__icon\"><strong>TestRail 5.7 \u4ee5\u964d\u304c\u5fc5\u8981\u3067\u3059\u3002<\/strong><\/p>\n<\/div>\n<p><!-- END version callout --><\/p>\n<div class=\"et_pb_module et_pb_text et_pb_text_60  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_69  et_pb_text_align_left et_pb_bg_layout_light\">\n<div class=\"et_pb_text_inner\">\n<p><code class=\"inline-code\">attachment_id<\/code> \u3067\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">GET index.php?\/api\/v2\/get_attachment\/{attachment_id}<\/pre>\n<h3>\u30d1\u30e9\u30e1\u30fc\u30bf<\/h3>\n<\/div>\n<\/div>\n<\/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>\u5fc5\u9808<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>attachment_id<\/td>\n<td>integer<\/td>\n<td>true<\/td>\n<td>\u53d6\u5f97\u3059\u308b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"01G6W5ZX84V39BVAT2M34KDG13\">\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\u3002\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u4e00\u90e8\u3068\u3057\u3066\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u304c\u8fd4\u3055\u308c\u307e\u3059<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb ID \u304c\u7121\u52b9\u3067\u3059<\/td>\n<\/tr>\n<tr>\n<td>403<\/td>\n<td><span>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u304c\u306a\u3044\u304b\u3001\u6a29\u9650\u304c\u4e0d\u5341\u5206\u3067\u3059<\/span><\/td>\n<\/tr>\n<tr>\n<td>429<\/td>\n<td><strong>TestRail Cloud\u306e\u307f<span>\u00a0<\/span><\/strong>\u2014 \u30ea\u30af\u30a8\u30b9\u30c8\u304c\u591a\u3059\u304e\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"deleteattachment\">delete_attachment<\/h2>\n<p><!-- START version callout --><\/p>\n<div class=\"callout\">\n<p id=\"01G7S2JWVMHW0DGR75VD7ZTANF\" class=\"callout__title callout__icon\"><strong>TestRail 5.7 \u4ee5\u964d\u304c\u5fc5\u8981\u3067\u3059\u3002<\/strong><\/p>\n<\/div>\n<p><!-- END version callout --><\/p>\n<p>\u6307\u5b9a\u3055\u308c\u305f <code class=\"inline-code\">attachment_id<\/code> \u306e\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"powershell\">POST index.php?\/api\/v2\/delete_attachment\/{attachment_id}<\/pre>\n<h3 id=\"01G6W5XXY286GNWZZMVW9ARCFC\">\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>attachment_id<\/td>\n<td>integer<\/td>\n<td>true<\/td>\n<td>\u524a\u9664\u3059\u308b\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306e ID<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"01G6W615SR6ERA55BYM5NS1YW7\">\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u5185\u5bb9<\/h3>\n<p>delete_attachment POST \u304c\u6210\u529f\u3059\u308b\u3068\u3001\u30ec\u30b9\u30dd\u30f3\u30b9 \u30b3\u30fc\u30c9 200 \u3067\u672c\u4f53\u304c\u7a7a\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3 id=\"01G6W5ZX84V39BVAT2M34KDG13\">\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\u3002\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u306f\u524a\u9664\u3055\u308c\u307e\u3057\u305f<\/td>\n<\/tr>\n<tr>\n<td>400<\/td>\n<td>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb ID \u304c\u7121\u52b9\u3067\u3059<\/td>\n<\/tr>\n<tr>\n<td>403<\/td>\n<td><span>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u304c\u306a\u3044\u304b\u3001\u6a29\u9650\u304c\u4e0d\u5341\u5206\u3067\u3059<\/span><\/td>\n<\/tr>\n<tr>\n<td>429<\/td>\n<td><strong>TestRail Cloud\u306e\u307f<span>\u00a0<\/span><\/strong>\u2014 \u30ea\u30af\u30a8\u30b9\u30c8\u304c\u591a\u3059\u304e\u307e\u3059<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3001\u53d6\u5f97\u3001\u524a\u9664\u3059\u308b\u306b\u306f\u3001\u6b21\u306e API \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u00a0\u00a0 TestRail API \u7d4c\u7531\u3067 POST \u30ea\u30af\u30a8\u30b9\u30c8\u3092\u4f7f\u7528\u3057\u3066\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u5834\u5408\u3001\u6b21\u306e\u30d8\u30c3\u30c0\u30fc\u304c\u5fc5\u8981\u3067\u3059\u3002 Co [&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-20308","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/20308","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=20308"}],"version-history":[{"count":94,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/20308\/revisions"}],"predecessor-version":[{"id":24803,"href":"https:\/\/docs.testrail.techmatrix.jp\/testrail\/docs\/9\/wp-json\/wp\/v2\/pages\/20308\/revisions\/24803"}],"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=20308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}