{"id":4703,"date":"2024-03-11T10:46:18","date_gmt":"2024-03-11T01:46:18","guid":{"rendered":"https:\/\/blog.since2020.jp\/?p=4703"},"modified":"2024-03-11T10:46:18","modified_gmt":"2024-03-11T01:46:18","slug":"make_minutes_ui_gas","status":"publish","type":"post","link":"https:\/\/since2020.jp\/media\/make_minutes_ui_gas\/","title":{"rendered":"Whisper\u3001ChatGPT\u3001Google Drive\u306eAPI\u3092\u4f7f\u3063\u3066\u8b70\u4e8b\u9332\u3092\u81ea\u52d5\u751f\u6210\u3057\u3066\u307f\u305f\uff08part4: UI\u306e\u4f5c\u6210\/GAS\u3092\u4f7f\u7528\u3057\u305f\u81ea\u52d5\u5316\uff09"},"content":{"rendered":"\n<p>\u8b70\u4e8b\u9332\u3092\u81ea\u52d5\u751f\u6210\u3055\u305b\u308b\u904e\u7a0b\u3067\u3001Google Drive\u306e\u76e3\u8996\u3092\u76ee\u7684\u3068\u3057\u3066GAS\u3092\u4f7f\u7528\u3057\u305f\u306e\u3067\u305d\u306e\u5177\u4f53\u7684\u306a\u4f7f\u3044\u65b9\u3092\u307e\u3068\u3081\u307e\u3057\u305f\u3002\u4eca\u56de\u306f\u76e3\u8996\u5bfe\u8c61\u306b\u30d5\u30a1\u30a4\u30eb\u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u308b\u3068Pub\/Sub\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u4fe1\u3057\u307e\u3059\u3002<\/p>\n\n\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>\u4eca\u56de\u306fGAS(Google Apps Script)\u3092\u4f7f\u3063\u3066Google Drive\u3092\u76e3\u8996\u3057\u3001\u66f4\u65b0\u304c\u3042\u3063\u305f\u30bf\u30a4\u30df\u30f3\u30b0\u3067Pub\/Sub\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n<h2>GAS\u306b\u3064\u3044\u3066<\/h2>\n<p>\u4eca\u56deGAS\u3092\u4f7f\u7528\u3057\u305f\u6700\u5927\u306e\u7406\u7531\u306f\u3001\u7121\u6599\u3067\u3042\u308b\u3068\u3044\u3046\u70b9\u306b\u3042\u308a\u307e\u3059\u3002Google Drive\u306b\u30d5\u30a1\u30a4\u30eb\u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u3053\u3068\u3092\u691c\u77e5\u3059\u308b\u305f\u3081\u306b\u306f\u3001<a href=\"https:\/\/blog.since2020.jp\/ai\/make_minutes_ui_cloudfunctions\/\">part3<\/a>\u3067\u7d39\u4ecb\u3057\u305fPub\/Sub\u30b5\u30fc\u30d3\u30b9\u3092\u5b9a\u671f\u7684\u306b\u4f7f\u7528\u3057\u3066Google Cloud Functions\u306b\u5b9f\u88c5\u3057\u305f\u95a2\u6570\u3092\u5b9a\u671f\u5b9f\u884c\u3057\u3066\u7279\u5b9a\u306e\u5bfe\u8c61\u3092\u76e3\u8996\u3059\u308b\u65b9\u6cd5\u304c\u8003\u3048\u3089\u308c\u307e\u3059\u3002\u3057\u304b\u3057\u3001Pub\/Sub\u306f\u6709\u6599\u306e\u30b5\u30fc\u30d3\u30b9\u3067\u3042\u308a\u7121\u99c4\u306a\u30b3\u30b9\u30c8\u304c\u304b\u304b\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\r\n<p>\u305d\u3053\u3067\u3001Drive\u306e\u76e3\u8996\u3092\u7121\u6599\u3067\u3042\u308bGAS\u3092\u4f7f\u3063\u3066\u884c\u3044\u3001\u5fc5\u8981\u306a\u30bf\u30a4\u30df\u30f3\u30b0\u3067Pub\/Sub\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u30b3\u30b9\u30c8\u3092\u6291\u3048\u305f\u904b\u7528\u304c\u53ef\u80fd\u3067\u3042\u308b\u3068\u8003\u3048\u3001GAS\u3092Driv\u76e3\u8996\u3068Pub\/Sub\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u4f5c\u6210\u3092\u76ee\u7684\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n<h2>GAS\u3092\u7528\u3044\u305f\u30c8\u30ea\u30ac\u30fc\u4f5c\u6210\u306e\u5b9f\u884c\u30d5\u30ed\u30fc<\/h2>\n<p>\u5168\u4f53\u306e\u6d41\u308c\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\r\n<p>1. OAuth2.0\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u4f5c\u6210<\/p>\r\n<p>2. Google Drive\u304b\u3089\u8a72\u5f53\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30a1\u30a4\u30ebid\u306e\u53d6\u5f97<br \/>\r\n3. GAS\u30b3\u30fc\u30c9\u3092\u4f7f\u3063\u305fOAuth2\u8a8d\u8a3c<br \/>\r\n4. Pub\/Sub\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u9001\u4fe1<\/p>\r\n<p>1\u306e\u307fGoogle cloud console\u3067\u4f5c\u696d\u3092\u884c\u3044\u30012\u4ee5\u964d\u306fGAS\u306b\u8a18\u8ff0\u3057\u307e\u3059\u30021\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/blog.since2020.jp\/ai\/make_minutes_google_drive_api\/\">\u3053\u3061\u3089<\/a>\u3092\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\r\n<p>\u307e\u305f\u3001\u305d\u308c\u305e\u308c\u306e\u904e\u7a0b\u3067\u306e\u5b9f\u4f53\u306f\u4e0b\u56f3\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u3067\u306f2\u4ee5\u964d\u306e\u624b\u9806\u306b\u3064\u3044\u3066\u9806\u756a\u306b\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u5fc5\u8981\u304c\u3042\u308c\u3070\u3053\u306e\u56f3\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\r\n<img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2024\/03\/pubsub_signal_flow.png\" alt=\"\" \/><\/p>\n\n<h2>Google Drive\u306e\u76e3\u8996\u3068\u30d5\u30a1\u30a4\u30ebID\u306e\u53d6\u5f97<\/h2>\n<p>\u4eca\u56de\u306e\u5b9f\u88c5\u3067\u306f\u76e3\u8996\u5bfe\u8c61\u3067\u3042\u308bGoogle Drive\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u5bfe\u3057\u3066\u3001GAS\u3092\u6240\u6709\u3059\u308bGoogle Account\u304c\u30a2\u30af\u30bb\u30b9\u6a29\u3092\u6301\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u60f3\u5b9a\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u7279\u5225\u306a\u8a8d\u8a3c\u3092\u5fc5\u8981\u3068\u305b\u305a\u306b\u3053\u308c\u3089\u306e\u64cd\u4f5c\u3092\u884c\u3046\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>function checkForNewFilesAndPublish() {\r\n  const folderId = PropertiesService.getScriptProperties().getProperty('OBSERVED_FOLDER_ID');\r\n  const folder = DriveApp.getFolderById(folderId);\r\n  const files = folder.getFiles();\r\n  const newFiles = [];\r\n\r\n  const lastCheckTime = PropertiesService.getScriptProperties().getProperty('lastCheckTime') || '1970-01-01T00:00:00Z';\r\n  const lastCheckDate = new Date(lastCheckTime);<\/code><\/pre>\r\n<\/div>\r\n<p>DriveApp\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u30d5\u30a1\u30a4\u30ebID\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u307e\u305f\u3001PropertiesService\u30af\u30e9\u30b9\u3092\u4f7f\u7528\u3057\u3066\u3001\u74b0\u5883\u5909\u6570\u306e\u3088\u3046\u306a\u5f62\u3067\u4e00\u90e8\u306e\u5909\u6570\u3092\u4fdd\u6301\u3057\u3066\u3044\u307e\u3059\uff08\u3053\u306e\u5024\u306fGAS\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u8a2d\u5b9a\u304b\u3089\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff09\u3002<\/p>\r\n<p>Google Cloud Functions\u4e0a\u306b\u79c1\u304c\u5b9f\u88c5\u3057\u305f\u95a2\u6570\u306f\u8b70\u4e8b\u9332\u306e\u751f\u6210\u904e\u7a0b\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u79fb\u52d5\u3055\u305b\u308b\u3053\u3068\u3067\u3001\u76e3\u8996\u5bfe\u8c61\u3068\u3059\u308b\u30d5\u30a9\u30eb\u30c0\u306f\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u3068\u304d\u4ee5\u5916\u306f\u7a7a\u306b\u306a\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u5ff5\u306e\u70ba\u3053\u3053\u3067\u306f\u6700\u5f8c\u306b\u30c1\u30a7\u30c3\u30af\u3057\u305f\u6642\u523b\u3088\u308a\u3082\u5f8c\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u307f\u3092\u5bfe\u8c61\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n<h2>OAuth2.0\u8a8d\u8a3c<\/h2>\n<p>GAS\u304b\u3089Google Cloud Project\u306b\u30c7\u30fc\u30bf\u3092\u9001\u4fe1\u3059\u308b\u306b\u306f\u3001GAS\u306e\u6240\u6709\u8005\u3067\u3042\u308bGoogle Account\u306e\u8a8d\u8a3c\u304c\u5fc5\u8981\u3067\u3057\u305f\u3002\u4eca\u56de\u306f\u3053\u3053\u3067OAuth2.0\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\r\n<p>GAS\u3067OAuth2.0\u8a8d\u8a3c\u3092\u884c\u3046\u305f\u3081\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3057\u3066<a href=\"https:\/\/github.com\/googleworkspace\/apps-script-oauth2\">OAuth2<\/a>\u304c\u3042\u308b\u306e\u3067\u3053\u308c\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002GAS\u306e\u30a8\u30c7\u30a3\u30bf &gt; \u30e9\u30a4\u30d6\u30e9\u30ea\u304b\u3089\u3001README\u306b\u8a18\u8f09\u3055\u308c\u305f\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\r\n<p>CLIENT_ID\u3084CLIENT_SECRET\u306fGoogle Cloud Console\u3067OAuth2.0\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u4f5c\u6210\u3092\u884c\u306a\u3063\u305f\u3082\u306e\u3092\u3001\u3053\u306e\u5909\u6570\u540d\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8a2d\u5b9a &gt; \u30b9\u30af\u30ea\u30d7\u30c8\u30d7\u30ed\u30d1\u30c6\u30a3\u304b\u3089\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>function getOAuthService() {\r\n  \/\/ OAuth2\u30b5\u30fc\u30d3\u30b9\u306e\u4f5c\u6210\r\n  var scriptProperties = PropertiesService.getScriptProperties();\r\n  return OAuth2.createService('GoogleCloudPubSub')\r\n    .setAuthorizationBaseUrl('https:\/\/accounts.google.com\/o\/oauth2\/auth')\r\n    .setTokenUrl('https:\/\/accounts.google.com\/o\/oauth2\/token')\r\n    .setClientId(scriptProperties.getProperty('CLIENT_ID'))\r\n    .setClientSecret(scriptProperties.getProperty('CLIENT_SECRET'))\r\n    .setCallbackFunction('authCallback')\r\n    .setPropertyStore(PropertiesService.getUserProperties())\r\n    .setScope('https:\/\/www.googleapis.com\/auth\/pubsub')\r\n\r\n    .setCache(CacheService.getUserCache())\r\n    .setParam('access_type', 'offline')\r\n    .setParam('prompt', 'consent');\r\n}\r\n\r\nfunction authCallback(request) {\r\n  var pubSubService = getOAuthService();\r\n  var isAuthorized = pubSubService.handleCallback(request);\r\n  if (isAuthorized) {\r\n    return HtmlService.createHtmlOutput('Success! You can close this tab.');\r\n  } else {\r\n    return HtmlService.createHtmlOutput('Denied. You can close this tab');\r\n  }\r\n}<\/code><\/pre>\r\n<\/div>\r\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001OAuth2.0\u3067\u8a8d\u8a3c\u3059\u308b\u5bfe\u8c61\u3084\u7bc4\u56f2\u3092getOAuthService\u95a2\u6570\u3067\u6307\u5b9a\u3057\u3066\u304a\u308a\u3001\u8a8d\u8a3c\u3092\u884c\u3046\u969b\u306b\u4f7f\u7528\u3059\u308b\u95a2\u6570\u3068\u3057\u3066authCallback\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u306a\u304a\u3001getOAuthService\u95a2\u6570\u306e.setParam\u3067\u6307\u5b9a\u3057\u3066\u3044\u308b2\u3064\u306b\u3064\u3044\u3066\u306f\u3001\u30c8\u30fc\u30af\u30f3\u306e\u30ea\u30d5\u30ec\u30c3\u30b7\u30e5\u3092\u884c\u3044\u8a8d\u8a3c\u306e\u56de\u6570\u3092\u524a\u6e1b\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u4f7f\u7528\u3059\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u8981\u4ef6\u306b\u5fdc\u3058\u3066\u9069\u5b9c\u524a\u9664\u3057\u3066\u304f\u3060\u3055\u3044\u3002<!-- notionvc: 5a1384c5-999e-4fc0-a78f-5655d72cbcdd --><\/p>\n\n<h2>Pub\/Sub\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u9001\u4fe1<\/h2>\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>function publishToPubSub(data) {\r\n  var topicName = 'Your Topic Name';\r\n  var message = Utilities.base64Encode(JSON.stringify(data));\r\n  var pubSubService = getOAuthService(); \/\/ OAuth2\u30b5\u30fc\u30d3\u30b9\u3092\u53d6\u5f97\r\n  Logger.log(message)\r\n  Logger.log(pubSubService.hasAccess())\r\n\r\n\/\/ \u8a8d\u8a3c\u304c\u5fc5\u8981\u306a\u5834\u5408\r\n  if (!pubSubService.hasAccess()) {\r\n    var authorizationUrl = pubSubService.getAuthorizationUrl();\r\n    Logger.log(\"\u8a8d\u8a3c\u304c\u5fc5\u8981\u3067\u3059\u3002\u4ee5\u4e0b\u306eURL\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u304f\u3060\u3055\u3044: %s\", authorizationUrl);\r\n    return;\r\n  } else {\r\n    var options = {\r\n      method: \"post\",\r\n      contentType: \"application\/json\",\r\n      headers: {\r\n        Authorization: 'Bearer ' + pubSubService.getAccessToken()\r\n      },\r\n      payload: JSON.stringify({\r\n        \"messages\": [\r\n          { \"data\": message }\r\n        ]\r\n      })\r\n    };\r\n    var response = UrlFetchApp.fetch('https:\/\/pubsub.googleapis.com\/v1\/' + topicName + ':publish', options);\r\n    var statusCode = response.getResponseCode();\r\n    var responseBody = response.getContentText();\r\n\r\n    Logger.log(\"Status Code: \" + statusCode);\r\n    Logger.log(\"Response Body: \" + responseBody);\r\n    \/\/ \u73fe\u5728\u306e\u5b9f\u884c\u6642\u523b\u3092\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u4fdd\u5b58\u3057\u3066\u6b21\u56de\u306e\u6bd4\u8f03\u306b\u4f7f\u7528\r\n    PropertiesService.getScriptProperties().setProperty('lastCheckTime', new Date().toISOString());\r\n  }\r\n}<\/code><\/pre>\r\n<\/div>\r\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306e\u524d\u534a\u90e8\u5206\u3067OAuth\u8a8d\u8a3c\u3092\u884c\u3044\u3001\u8a8d\u8a3c\u304c\u901a\u3063\u305f\u5834\u5408\u306b\u306f\u30d5\u30a1\u30a4\u30ebID\u3092json\u306e\u5f62\u3067\u9001\u3063\u3066\u3044\u307e\u3059\u3002\u30d5\u30a7\u30c3\u30c1\u3059\u308bURL\u306e\u4e00\u90e8\u306bPub\/Sub\u306e\u30c8\u30d4\u30c3\u30af\u30cd\u30fc\u30e0\u304c\u5fc5\u8981\u306a\u306e\u3067\u3001Google Cloud Console\u3067\u78ba\u8a8d\u306e\u4e0a\u3001Your Topic Name\u3092\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044\u3002<!-- notionvc: 0295834b-4a16-4d1e-bbf2-a947e77e7453 --><\/p>\n\n<h2>\u6700\u5f8c\u306b<\/h2>\n<p>\u4eca\u56de\u306fGAS\u3092\u4f7f\u3063\u3066\u76e3\u8996\u3059\u308b\u65b9\u6cd5\u3092\u5177\u4f53\u7684\u306aGAS\u30b3\u30fc\u30c9\u3068\u5171\u306b\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u5b9f\u88c5\u3067\u306f\u3001Google Account\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u3044\u3046\u554f\u984c\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u7121\u6599\u306eGAS\u3092\u4f7f\u7528\u3057\u3066Pub\/Sub\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306b\u5bfe\u3057\u3066\u81ea\u52d5\u7684\u306b\u751f\u6210\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3057\u305f\u3002\u90e8\u5206\u7684\u306b\u540c\u69d8\u306e\u3053\u3068\u3092\u4f7f\u3046\u6a5f\u4f1a\u306f\u591a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3001\u53c2\u8003\u306b\u306a\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<!-- notionvc: 1ecfe0a9-aee0-4645-9c7b-5fcca917ab1c --><\/p>","protected":false},"excerpt":{"rendered":"<p>\u8b70\u4e8b\u9332\u3092\u81ea\u52d5\u751f\u6210\u3055\u305b\u308b\u904e\u7a0b\u3067\u3001Google Drive\u306e\u76e3\u8996\u3092\u76ee\u7684\u3068\u3057\u3066GAS\u3092\u4f7f\u7528\u3057\u305f\u306e\u3067\u305d\u306e\u5177\u4f53\u7684\u306a\u4f7f\u3044\u65b9\u3092\u307e\u3068\u3081\u307e\u3057\u305f\u3002\u4eca\u56de\u306f\u76e3\u8996\u5bfe\u8c61\u306b\u30d5\u30a1\u30a4\u30eb\u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u308b\u3068Pub\/Sub\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u4fe1\u3057\u307e\u3059\u3002 \u306f\u3058\u3081\u306b [&hellip;]<\/p>\n","protected":false},"author":26,"featured_media":4709,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","swell_btn_cv_data":"","footnotes":"","_wp_rev_ctl_limit":""},"categories":[1249],"tags":[143,331,29],"class_list":["post-4703","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge","tag-gcp","tag-python","tag-29"],"_links":{"self":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/4703","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/users\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/comments?post=4703"}],"version-history":[{"count":0,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/4703\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media\/4709"}],"wp:attachment":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media?parent=4703"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/categories?post=4703"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/tags?post=4703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}