{"id":523,"date":"2018-09-14T15:52:54","date_gmt":"2018-09-14T06:52:54","guid":{"rendered":"http:\/\/qol-kk.com\/wp2\/?p=523"},"modified":"2018-09-26T09:48:55","modified_gmt":"2018-09-26T00:48:55","slug":"post-523","status":"publish","type":"post","link":"https:\/\/qol-kk.com\/wp2\/blog\/2018\/09\/14\/post-523\/","title":{"rendered":"\u697d\u5929API\uff1a\u524a\u9664\u30d5\u30a9\u30eb\u30c0\u306e\u753b\u50cf\u3092\u6307\u5b9a\u3057\u3066\u79fb\u52d5"},"content":{"rendered":"<h2>R-Cabinet\u524a\u9664\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u753b\u50cf\u3092\u79fb\u52d5\u3059\u308bAPI<\/h2>\n<p>\u8aa4\u3063\u3066\u524a\u9664\u3057\u3066\u3057\u307e\u3063\u305f\u753b\u50cf\u3092\u95b2\u89a7\u53ef\u80fd\u306a\u30d5\u30a9\u30eb\u30c0\u3078\u623b\u3059API<\/p>\n<p>\u753b\u50cfID\u3068\u79fb\u52d5\u5148\u306e\u30d5\u30a9\u30eb\u30c0ID\u306e\u6307\u793a\u304c\u5fc5\u8981\u3002<strong>\u5143\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u623b\u3059API\u3067\u306f\u306a\u3044<\/strong>\u4e8b\u306b\u6ce8\u610f\u3059\u308b\u3002<\/p>\n<h3>API\u30e1\u30bd\u30c3\u30c9\uff1a<span id=\"title-text\">cabinet.trashbox.file.revert<\/span><\/h3>\n<p>\u3053\u306e\u6a5f\u80fd\u3092\u5229\u7528\u3059\u308b\u3068\u3001\u524a\u9664\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3042\u308b\u753b\u50cf\u3092\u6307\u5b9a\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306b\u623b\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<style type=\"text\/css\">table{table-layout:fixed;}table th,table td{font-size:0.9em;word-wrap:break-word;}<\/style>\n<h4 id=\"Endpoint \/ HTTP Method\">Endpoint \/ HTTP Method<\/h4>\n<table>\n<colgroup>\n<col style=\"width: 80%;\" \/>\n<col style=\"width: 20%;\" \/> <\/colgroup>\n<thead>\n<tr>\n<th>Endpoint<\/th>\n<th>HTTP Method<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>https:\/\/api.rms.rakuten.co.jp\/es\/1.0\/cabinet\/trashbox\/file\/revert<\/td>\n<td>POST<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4 id=\"Request\">Request<\/h4>\n<h5 id=\"HTTP Header\">HTTP Header<\/h5>\n<table>\n<colgroup>\n<col style=\"width: 4%;\" \/>\n<col style=\"width: 20%;\" \/>\n<col style=\"width: 56%;\" \/>\n<col style=\"width: 20%;\" \/> <\/colgroup>\n<thead>\n<tr>\n<th>No<\/th>\n<th>Key<\/th>\n<th>Value<\/th>\n<th>Note<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Authorization<\/td>\n<td>ESA Base64(serviceSecret:licenseKey)<\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h5 id=\"HTTP Body\">HTTP Body<\/h5>\n<h6 id=\"XML:result\">XML:request<\/h6>\n<table>\n<colgroup>\n<col style=\"width: 4%;\" \/>\n<col style=\"width: 16%;\" \/>\n<col style=\"width: 15%;\" \/>\n<col style=\"width: 15%;\" \/>\n<col style=\"width: 10%;\" \/>\n<col style=\"width: 10%;\" \/>\n<col style=\"width: 10%;\" \/>\n<col style=\"width: 10%;\" \/> <\/colgroup>\n<thead>\n<tr>\n<th>No<\/th>\n<th>Element<\/th>\n<th>Description<\/th>\n<th>Type<\/th>\n<th>Size(byte)<\/th>\n<th>Mandatory<\/th>\n<th>Multiplicity<\/th>\n<th>Note<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>request.fileRevertRequest<\/td>\n<td>\u753b\u50cf\u60c5\u5831\u623b\u3057\u8981\u6c42<\/td>\n<td>XML: fileRevertRequest<\/td>\n<td>-<\/td>\n<td>\u3007<\/td>\n<td>1<\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h6>XML:fileRevertRequest<\/h6>\n<table>\n<colgroup>\n<col style=\"width: 4%;\" \/>\n<col style=\"width: 16%;\" \/>\n<col style=\"width: 15%;\" \/>\n<col style=\"width: 15%;\" \/>\n<col style=\"width: 10%;\" \/>\n<col style=\"width: 10%;\" \/>\n<col style=\"width: 10%;\" \/>\n<col style=\"width: 10%;\" \/> <\/colgroup>\n<thead>\n<tr>\n<th>No<\/th>\n<th>Element<\/th>\n<th>Description<\/th>\n<th>Type<\/th>\n<th>Size(byte)<\/th>\n<th>Mandatory<\/th>\n<th>Multiplicity<\/th>\n<th>Note<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>fileRevertRequest.file<\/td>\n<td>\u753b\u50cf\u60c5\u5831<\/td>\n<td>XML:file<\/td>\n<td>-<\/td>\n<td>\u3007<\/td>\n<td>1<\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h6>XML:file<\/h6>\n<table>\n<colgroup>\n<col style=\"width: 4%;\" \/>\n<col style=\"width: 16%;\" \/>\n<col style=\"width: 15%;\" \/>\n<col style=\"width: 15%;\" \/>\n<col style=\"width: 10%;\" \/>\n<col style=\"width: 10%;\" \/>\n<col style=\"width: 10%;\" \/>\n<col style=\"width: 10%;\" \/> <\/colgroup>\n<thead>\n<tr>\n<th>No<\/th>\n<th>Element<\/th>\n<th>Description<\/th>\n<th>Type<\/th>\n<th>Size(byte)<\/th>\n<th>Mandatory<\/th>\n<th>Multiplicity<\/th>\n<th>Note<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>file.fileId<\/td>\n<td>\u753b\u50cfID<\/td>\n<td>Integer<\/td>\n<td>10<\/td>\n<td>\u3007<\/td>\n<td>1<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>file.folderId<\/td>\n<td>\u623b\u3057\u5148\u306e\u30d5\u30a9\u30eb\u30c0ID<\/td>\n<td>Integer<\/td>\n<td>10<\/td>\n<td>\u3007<\/td>\n<td>1<\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4 id=\"Response\">Response<\/h4>\n<h5 id=\"HTTP Header\">HTTP Header<\/h5>\n<table>\n<colgroup>\n<col style=\"width: 4%;\" \/>\n<col style=\"width: 56%;\" \/>\n<col style=\"width: 40%;\" \/> <\/colgroup>\n<thead>\n<tr>\n<th>No<\/th>\n<th>Key<\/th>\n<th>Value<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>Content-Type<\/td>\n<td>text\/xml<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h5>HTTP Body<\/h5>\n<h6>XML:result<\/h6>\n<table>\n<colgroup>\n<col style=\"width: 4%;\" \/>\n<col style=\"width: 15%;\" \/>\n<col style=\"width: 15%;\" \/>\n<col style=\"width: 15%;\" \/>\n<col style=\"width: 10%;\" \/>\n<col style=\"width: 10%;\" \/>\n<col style=\"width: 31%;\" \/> <\/colgroup>\n<thead>\n<tr>\n<th>No<\/th>\n<th>Element<\/th>\n<th>Description<\/th>\n<th>Type<\/th>\n<th>Size(byte)<\/th>\n<th>Multiplicity<\/th>\n<th>Note<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>result.status<\/td>\n<td>\u30b9\u30c6\u30fc\u30bf\u30b9<\/td>\n<td>XML : status<\/td>\n<td>-<\/td>\n<td>1<\/td>\n<td>interfaceId=cabinet.trashbox.file.revert<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>result.cabinetTrashboxFileRevertResult<\/td>\n<td>\u524a\u9664\u30d5\u30a9\u30eb\u30c0\u5185\u753b\u50cf\u60c5\u5831\u623b\u3057\u7d50\u679c<\/td>\n<td>XML : cabinetTrashboxFileRevertResult<\/td>\n<td>-<\/td>\n<td>1<\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h6>XML:cabinetTrashboxFileRevertResult<\/h6>\n<table>\n<colgroup>\n<col style=\"width: 4%;\" \/>\n<col style=\"width: 15%;\" \/>\n<col style=\"width: 15%;\" \/>\n<col style=\"width: 15%;\" \/>\n<col style=\"width: 10%;\" \/>\n<col style=\"width: 10%;\" \/>\n<col style=\"width: 31%;\" \/> <\/colgroup>\n<thead>\n<tr>\n<th>No<\/th>\n<th>Element<\/th>\n<th>Description<\/th>\n<th>Type<\/th>\n<th>Size(byte)<\/th>\n<th>Multiplicity<\/th>\n<th>Note<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>cabinetTrashboxFileRevertResult.resultCode<\/td>\n<td>\u7d50\u679c\u30b3\u30fc\u30c9<\/td>\n<td>Integer<\/td>\n<td>4<\/td>\n<td>1<\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>R-Cabinet\u524a\u9664\u30d5\u30a9\u30eb\u30c0\u5185\u306e\u753b\u50cf\u3092\u79fb\u52d5\u3059\u308bAPI \u8aa4\u3063\u3066\u524a\u9664\u3057\u3066\u3057\u307e\u3063\u305f\u753b\u50cf\u3092\u95b2\u89a7\u53ef\u80fd\u306a\u30d5\u30a9\u30eb\u30c0\u3078\u623b\u3059API \u753b\u50cfID\u3068\u79fb\u52d5\u5148\u306e\u30d5\u30a9\u30eb\u30c0ID\u306e\u6307\u793a\u304c\u5fc5\u8981\u3002\u5143\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u623b\u3059API\u3067\u306f\u306a\u3044\u4e8b\u306b\u6ce8\u610f\u3059\u308b\u3002 API\u30e1\u30bd\u30c3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":262,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"vkexunit_cta_each_option":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[40],"tags":[64,103,49,104,47,101,68,50],"class_list":["post-523","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-rakuten-specification","tag-api","tag-r-cabinet","tag-49","tag-104","tag-47","tag-101","tag-68","tag-50"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/qol-kk.com\/wp2\/wp-content\/uploads\/2018\/08\/api.jpg?fit=1600%2C900&ssl=1","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts\/523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/comments?post=523"}],"version-history":[{"count":5,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts\/523\/revisions"}],"predecessor-version":[{"id":750,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts\/523\/revisions\/750"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/media\/262"}],"wp:attachment":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/media?parent=523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/categories?post=523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/tags?post=523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}