{"id":24,"date":"2022-03-01T09:00:00","date_gmt":"2022-03-01T09:00:00","guid":{"rendered":"https:\/\/gfejp-demo.com\/?p=24"},"modified":"2022-07-14T09:23:53","modified_gmt":"2022-07-14T09:23:53","slug":"drive-api","status":"publish","type":"post","link":"https:\/\/apidemo.ddrive.cloud\/?p=24","title":{"rendered":"Drive API"},"content":{"rendered":"\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u3001Google \u30c9\u30e9\u30a4\u30d6\u3078\u306e\u30d5\u30a1\u30a4\u30eb\u4fdd\u5b58\u3001\u5171\u6709\u30c9\u30e9\u30a4\u30d6\u3078\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u4fdd\u5b58\u306b\u3064\u3044\u3066\u306e\u30b3\u30fc\u30c9\u3092\u8a18\u8f09\u3057\u3066\u3044\u307e\u3059\u3002<br>Google \u30c9\u30e9\u30a4\u30d6\u306f Google_Service_Drive \u30b5\u30fc\u30d3\u30b9\u4f7f\u7528\u3057\u3066\u64cd\u4f5c\u3057\u307e\u3059\u3002<br>\u3053\u3053\u3067\u6271\u3046\u30b5\u30f3\u30d7\u30eb \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f \u00a0<a href=\"https:\/\/github.com\/ddrivedemo\/Devel-DriveAPI-Demo\">\u3053\u3061\u3089\uff08github.com\uff09<\/a>\u00a0\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Google \u30c9\u30e9\u30a4\u30d6\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">\u30d5\u30a9\u30eb\u30c0\u3078\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u4fdd\u5b58<\/h5>\n\n\n\n<form method=\"get\" name=\"demoform01\" target=\"_new\" action=\"\/demo\/devel_drive_api_demo_01_auth?state=demo_create\">\n  <input type=\"hidden\" name=\"_token\" value=\"x2J3xqxxEIlWJWupXZZsKoiBqXgQxJYA63J7GvX6\">\n  <input type=\"hidden\" name=\"state\" value=\"demo_create\">\n  <a href=\"#\" onclick=\"document.demoform01.submit(); return false;\" class=\"demo-button\"><img decoding=\"async\" src=\"https:\/\/apidemo.ddrive.cloud\/wp-content\/uploads\/2022\/05\/Apps-1-554x1024.png\" alt=\"\" class=\"appimage_logo\">\u30a2\u30d7\u30ea\u30b5\u30f3\u30d7\u30eb \u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3059\u308b<\/a>\n<\/form>\n\n\n\n<a href=\"https:\/\/drive.google.com\/drive\/my-drive\" target=\"_new\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/apidemo.ddrive.cloud\/wp-content\/uploads\/2022\/05\/Google_Drive_logo.png\" alt=\"\" class=\"driveimage_logo\">\nGoogle \u30c9\u30e9\u30a4\u30d6 \u3067\u78ba\u8a8d\u3059\u308b<\/a><br>\n\n\n\n<p>\u30de\u30a4\u30d5\u30a9\u30eb\u30c0\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001Google_Service_Drive_Files_Resource.create \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>\/**\n* \u30c9\u30e9\u30a4\u30d6\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\n* $client: Google\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\n*\/\npublic function createFile($client) {\n\n    try {\n        \/\/ \u30c9\u30e9\u30a4\u30d6\u30b5\u30fc\u30d3\u30b9 \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210\n        $driveClient = new \\Google_Service_Drive($client);\n\n        \/\/ \u4f5c\u6210\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u60c5\u5831\u3092\u6e96\u5099\n        $fileMetadata = new \\Google_Service_Drive_DriveFile([\n            &#39;name&#39; =&gt; &#39;sample.txt&#39; \/\/ \u30d5\u30a1\u30a4\u30eb\u540d\n        ]);\n\n        \/\/ \u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\n        $driveClient-&gt;files-&gt;create($fileMetadata, [\n            &#39;data&#39; =&gt; &#39;This is a sample file.&#39;, \/\/ \u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\n            &#39;mimeType&#39; =&gt; &#39; text\/plain&#39;, \/\/ MIME\u30bf\u30a4\u30d7: \u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\n            &#39;uploadType&#39; =&gt; &#39;media&#39;,\n            &#39;fields&#39; =&gt; &#39;id&#39;,\n        ]);\n\n    } catch(\\Exception $e) {\n        $msg = $e -&gt; getMessage();\n        return $msg;\n    }\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u4fdd\u5b58\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u540d\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3001\u30d5\u30a1\u30a4\u30eb\u30bf\u30a4\u30d7\u3092\u6307\u5b9a\u3057\u3066\u3001Google_Service_Drive_Files_Resource.create\u95a2\u6570\u3092\u547c\u3073\u51fa\u3057\u307e\u3059\u3002<br>\u4fdd\u5b58\u304c\u5b8c\u4e86\u3059\u308b\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h5 class=\"wp-block-heading\">\u30d5\u30a1\u30a4\u30eb\u306e\u30b3\u30d4\u30fc<\/h5>\n\n\n\n<form method=\"get\" name=\"demoform02\" target=\"_new\" action=\"\/demo\/devel_drive_api_demo_01_auth?state=demo_copy\">\n  <input type=\"hidden\" name=\"_token\" value=\"x2J3xqxxEIlWJWupXZZsKoiBqXgQxJYA63J7GvX6\">\n  <input type=\"hidden\" name=\"state\" value=\"demo_copy\">\n  <a href=\"#\" onclick=\"document.demoform02.submit(); return false;\" class=\"demo-button\"><img decoding=\"async\" src=\"https:\/\/apidemo.ddrive.cloud\/wp-content\/uploads\/2022\/05\/Apps-1-554x1024.png\" alt=\"\" class=\"appimage_logo\">\u30a2\u30d7\u30ea\u30b5\u30f3\u30d7\u30eb \u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3059\u308b<\/a>\n<\/form>\n\n\n\n<a href=\"https:\/\/drive.google.com\/drive\/my-drive\" target=\"_new\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/apidemo.ddrive.cloud\/wp-content\/uploads\/2022\/05\/Google_Drive_logo.png\" alt=\"\" class=\"driveimage_logo\">Google \u30c9\u30e9\u30a4\u30d6 \u3067\u78ba\u8a8d\u3059\u308b<\/a><br>\n\n\n\n<p>\u30de\u30a4\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u30b3\u30d4\u30fc\u306f\u3001Google_Service_Drive_Files_Resource.copy \u30e1\u30bd\u30c3\u30c9 \u3092\u4f7f\u7528\u3057\u3066\u884c\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>\/**\n* \u30c9\u30e9\u30a4\u30d6\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\n* $client: Google\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\n*\/\npublic function copyFile($client) {\n\n    try {\n        \/\/ \u30c9\u30e9\u30a4\u30d6\u30b5\u30fc\u30d3\u30b9 \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210\n        $driveClient = new \\Google_Service_Drive($client);\n\n        \/\/ \u4f5c\u6210\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u60c5\u5831\u3092\u6e96\u5099\n        $fileMetadata = new \\Google_Service_Drive_DriveFile([\n            &#39;name&#39; =&gt; &#39;sample\u306e\u30b3\u30d4\u30fc.txt&#39;, \/\/ \u30b3\u30d4\u30fc\u5f8c\u306e\u30d5\u30a1\u30a4\u30eb\u540d\n            &#39;parents&#39; =&gt; [&#39;root&#39;], \/\/ \u30b3\u30d4\u30fc\u5148\n        ]);\n\n        \/\/ \u30c9\u30e9\u30a4\u30d6\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u691c\u7d22\n        $result = $driveClient-&gt;files-&gt;listFiles([\n            &quot;q&quot; =&gt; &quot;name=&#39;sample.txt&#39;&quot; \/\/ \u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\n        ]);\n        $file = $result-&gt;getFiles()[0];\n\n        \/\/ \u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\n        $driveClient-&gt;files-&gt;copy($file-&gt;getId(), $fileMetadata);\n\n    } catch(\\Exception $e) {\n        $msg = $e -&gt; getMessage();\n        return $msg;\n    }\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u30c7\u30e2\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30c9\u30e9\u30a4\u30d6\u5185\u306e [sample.txt] \u30d5\u30a1\u30a4\u30eb\u3092&nbsp;[sample\u306e\u30b3\u30d4\u30fc.txt] \u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h5 class=\"wp-block-heading\">\u30d5\u30a1\u30a4\u30eb\u306e\u30ea\u30cd\u30fc\u30e0<\/h5>\n\n\n\n<form method=\"get\" name=\"demoform03\" target=\"_new\" action=\"\/demo\/devel_drive_api_demo_01_auth?state=demo_rename\">\n  <input type=\"hidden\" name=\"_token\" value=\"x2J3xqxxEIlWJWupXZZsKoiBqXgQxJYA63J7GvX6\">\n  <input type=\"hidden\" name=\"state\" value=\"demo_rename\">\n  <a href=\"#\" onclick=\"document.demoform03.submit(); return false;\" class=\"demo-button\"><img decoding=\"async\" src=\"https:\/\/apidemo.ddrive.cloud\/wp-content\/uploads\/2022\/05\/Apps-1-554x1024.png\" alt=\"\" class=\"appimage_logo\">\u30a2\u30d7\u30ea\u30b5\u30f3\u30d7\u30eb \u30d5\u30a1\u30a4\u30eb\u306e\u30ea\u30cd\u30fc\u30e0\u3092\u8a66\u3059<\/a>\n<\/form>\n\n\n\n<a href=\"https:\/\/drive.google.com\/drive\/my-drive\" target=\"_new\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/apidemo.ddrive.cloud\/wp-content\/uploads\/2022\/05\/Google_Drive_logo.png\" alt=\"\" class=\"driveimage_logo\">Google \u30c9\u30e9\u30a4\u30d6 \u3067\u78ba\u8a8d\u3059\u308b<\/a><br>\n\n\n\n<p>Google_Service_Drive_Files_Resource.update \u3067\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>\/**\n* \u30c9\u30e9\u30a4\u30d6\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u3092\u5909\u66f4\n* $client: Google\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\n*\/\npublic function renameFile($client) {\n\n    try {\n        \/\/ \u30c9\u30e9\u30a4\u30d6\u30b5\u30fc\u30d3\u30b9 \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210\n        $driveClient = new \\Google_Service_Drive($client);\n\n        \/\/ \u5909\u66f4\u5f8c\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u60c5\u5831\u3092\u6e96\u5099\n        $fileMetadata = new \\Google_Service_Drive_DriveFile();\n        $fileMetadata-&gt;setName(&#39;Google.txt&#39;);\n\n        \/\/ \u30c9\u30e9\u30a4\u30d6\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u691c\u7d22\n        $result = $driveClient-&gt;files-&gt;listFiles([\n            &quot;q&quot; =&gt; &quot;name=&#39;sample.txt&#39;&quot;\n        ]);\n        $file = $result-&gt;getFiles()[0];\n\n        \/\/ \u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5909\u66f4\n        $driveClient-&gt;files-&gt;update($file-&gt;getId(), $fileMetadata, array());\n\n    } catch(\\Exception $e) {\n        $msg = $e -&gt; getMessage();\n        return $msg;\n    }\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u30c7\u30e2\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30c9\u30e9\u30a4\u30d6\u5185\u306e [sample.txt] \u30d5\u30a1\u30a4\u30eb\u3092 [Google.txt]\u306b\u30ea\u30cd\u30fc\u30e0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">\u5171\u6709\u30c9\u30e9\u30a4\u30d6\u3067\u306e\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">\u5171\u6709\u30c9\u30e9\u30a4\u30d6\u306e\u4f5c\u6210<\/h5>\n\n\n\n<p>Google Apps Script \u3092\u5229\u7528\u3057\u3066\u5171\u6709\u30c9\u30e9\u30a4\u30d6\u3092\u64cd\u4f5c\u3059\u308b\u306b\u306f\u3001\u65b0\u3057\u3044\u30c9\u30e9\u30a4\u30d6 \u3092\u4f5c\u6210\u3057\u3001\u5171\u6709\u30c9\u30e9\u30a4\u30d6 \u4e0b\u306b\u633f\u5165\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>    \/\/ \u5171\u6709\u30c9\u30e9\u30a4\u30d6\u540d&quot;Shared Folder 1&quot;\u3092\u6e96\u5099\n    let teamDrive = Drive.newTeamDrive();\n    teamDrive.name = &#39;Shared Folder 1&#39;;\n\n    \/\/ \u5171\u6709\u30c9\u30e9\u30a4\u30d6\u306e\u4e0b\u306b\u65b0\u3057\u3044\u30c9\u30e9\u30a4\u30d6\u3092\u4f5c\u6210\n    let driveId = Utilities.getUuid();\n    let newTeamDrive = Drive.Teamdrives.insert(teamDrive, driveId);<\/code><\/pre><\/div>\n\n\n\n<p>Drive.newTeamDrive \u3067\u3001\u65b0\u3057\u3044\u30c9\u30e9\u30a4\u30d6\u3092\u4f5c\u6210\u3057\u3001\u540d\u524d\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002 \u4f5c\u6210\u3055\u308c\u305f\u30c9\u30e9\u30a4\u30d6 \u306f\u3001\u3053\u306e\u307e\u307e\u3067\u306f\u5229\u7528\u3067\u304d\u307e\u305b\u3093\u3002Drive.Teamdrives.insert \u3092\u547c\u3073\u51fa\u3057\u3066\u5171\u6709\u30c9\u30e9\u30a4\u30d6\u306e\u4e0b\u306b\u914d\u7f6e\u3059\u308b\u3053\u3068\u3067\u3001\u5171\u6709\u30c9\u30e9\u30a4\u30d6\u3068\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h5 class=\"wp-block-heading\">\u5171\u6709\u30c9\u30e9\u30a4\u30d6\u306e\u30c9\u30e9\u30a4\u30d6 \u3092\u901a\u5e38\u306e\u30d5\u30a9\u30eb\u30c0\u3068\u3057\u3066\u6271\u3046<\/h5>\n\n\n\n<p>\u5171\u6709\u30c9\u30e9\u30a4\u30d6 \u306f\u3001DriveApp \u306e\u30d5\u30a9\u30eb\u30c0\u306b\u5909\u63db\u3059\u308b\u3053\u3068\u3067\u3001\u901a\u5e38\u306e Google \u30c9\u30e9\u30a4\u30d6\u5185\u306e\u30d5\u30a9\u30eb\u30c0\u3068\u540c\u3058\u3088\u3046\u306b\u6271\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>    \/\/ \u5171\u6709\u30c9\u30e9\u30a4\u30d6\u540d&quot;Shared Folder 1&quot;\u3092\u6e96\u5099\n    let teamDrive = Drive.newTeamDrive();\n    teamDrive.name = &#39;Shared Folder 1&#39;;\n\n    \/\/ \u5171\u6709\u30c9\u30e9\u30a4\u30d6\u3092\u901a\u5e38\u30d5\u30a9\u30eb\u30c0\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u3057\u3066\u6271\u3046\n    let teamFolder = DriveApp.getFolderById ( newTeamDrive.id );\n    let subFolder = teamFolder.createFolder(&#39;Sub Shared Folder 1&#39;);<\/code><\/pre><\/div>\n\n\n\n<p>DriveApp.Folder.crateFolder \u3067\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h5 class=\"wp-block-heading\">\u30d5\u30a9\u30eb\u30c0\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210<\/h5>\n\n\n\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\u3082 Google\u30c9\u30e9\u30a4\u30d6\u3068\u540c\u3058\u65b9\u6cd5\u3067\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>  \/\/ \u30de\u30a4\u30d5\u30a9\u30eb\u30c0\u3068\u540c\u69d8\u306e\u9806\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\n  let file = subFolder.createFile(&#39;OK.txt&#39;, &#39;OK Google.&#39;, MimeType.PLAIN_TEXT);<\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u3001Google \u30c9\u30e9\u30a4\u30d6\u3078\u306e\u30d5\u30a1\u30a4\u30eb\u4fdd\u5b58\u3001\u5171\u6709\u30c9\u30e9\u30a4\u30d6\u3078\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u4fdd\u5b58\u306b\u3064\u3044\u3066\u306e\u30b3\u30fc\u30c9\u3092\u8a18\u8f09\u3057\u3066\u3044\u307e\u3059\u3002Google \u30c9\u30e9\u30a4\u30d6\u306f Google_Service_Drive \u30b5\u30fc\u30d3\u30b9\u4f7f\u7528\u3057\u3066\u64cd\u4f5c\u3057\u307e\u3059\u3002\u3053 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-24","post","type-post","status-publish","format-standard","hentry","category-developer"],"_links":{"self":[{"href":"https:\/\/apidemo.ddrive.cloud\/index.php?rest_route=\/wp\/v2\/posts\/24","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apidemo.ddrive.cloud\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apidemo.ddrive.cloud\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apidemo.ddrive.cloud\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apidemo.ddrive.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=24"}],"version-history":[{"count":34,"href":"https:\/\/apidemo.ddrive.cloud\/index.php?rest_route=\/wp\/v2\/posts\/24\/revisions"}],"predecessor-version":[{"id":670,"href":"https:\/\/apidemo.ddrive.cloud\/index.php?rest_route=\/wp\/v2\/posts\/24\/revisions\/670"}],"wp:attachment":[{"href":"https:\/\/apidemo.ddrive.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apidemo.ddrive.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apidemo.ddrive.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}