{"id":16049,"date":"2025-02-23T09:00:57","date_gmt":"2025-02-23T00:00:57","guid":{"rendered":"https:\/\/www.ecomottblog.com\/?p=16049"},"modified":"2025-02-21T16:31:04","modified_gmt":"2025-02-21T07:31:04","slug":"spring-boot%e9%96%8b%e7%99%ba%e8%80%85%e5%bf%85%e8%a6%8b%ef%bc%81maven%e3%81%8b%e3%82%89%e3%83%93%e3%83%ab%e3%83%89%e6%83%85%e5%a0%b1%e3%82%92%e7%b0%a1%e5%8d%98%e3%81%ab%e5%8f%96%e5%be%97%e3%81%99","status":"publish","type":"post","link":"https:\/\/www.ecomottblog.com\/?p=16049","title":{"rendered":"Spring Boot\u958b\u767a\u8005\u5fc5\u898b\uff01Maven\u304b\u3089\u30d3\u30eb\u30c9\u60c5\u5831\u3092\u7c21\u5358\u306b\u53d6\u5f97\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p data-start=\"231\" data-end=\"407\">Spring Boot \u3092\u4f7f\u3063\u3066\u958b\u767a\u3057\u3066\u3044\u308b\u3068\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u3084\u30d3\u30eb\u30c9\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u306a\u3069\u306e\u30d3\u30eb\u30c9\u60c5\u5831\u3092\u53d6\u5f97\u3057\u305f\u304f\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u60c5\u5831\u306f\u3001\u7279\u306b\u30c7\u30d0\u30c3\u30b0\u3084\u904b\u7528\u74b0\u5883\u3067\u306e\u7ba1\u7406\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001Spring Boot \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5185\u3067 Maven \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u3084\u30d3\u30eb\u30c9\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u7c21\u5358\u306b\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<h3 data-start=\"409\" data-end=\"434\"><strong data-start=\"413\" data-end=\"434\">1. \u306a\u305c\u30d3\u30eb\u30c9\u60c5\u5831\u304c\u91cd\u8981\u306a\u306e\u304b\uff1f<\/strong><\/h3>\n<p data-start=\"436\" data-end=\"472\">\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u904b\u7528\u3059\u308b\u969b\u3001\u4ee5\u4e0b\u306e\u60c5\u5831\u3092\u8ffd\u8de1\u3059\u308b\u3053\u3068\u304c\u975e\u5e38\u306b\u91cd\u8981\u3067\u3059\u3002<\/p>\n<ul data-start=\"474\" data-end=\"647\">\n<li data-start=\"474\" data-end=\"564\"><strong data-start=\"476\" data-end=\"487\">\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7<\/strong>: \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30ea\u30ea\u30fc\u30b9\u7ba1\u7406\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u767a\u751f\u3057\u305f\u30d0\u30b0\u3092\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u3092\u7c21\u5358\u306b\u78ba\u8a8d\u3067\u304d\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/li>\n<li data-start=\"565\" data-end=\"647\"><strong data-start=\"567\" data-end=\"581\">\u30d3\u30eb\u30c9\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7<\/strong>: \u958b\u767a\u306e\u9014\u4e2d\u3067\u30d3\u30eb\u30c9\u3092\u884c\u3063\u305f\u65e5\u6642\u304c\u8a18\u9332\u3055\u308c\u308b\u3053\u3068\u3067\u3001\u554f\u984c\u767a\u751f\u6642\u306b\u3069\u306e\u30d3\u30eb\u30c9\u304c\u554f\u984c\u3092\u5f15\u304d\u8d77\u3053\u3057\u3066\u3044\u308b\u306e\u304b\u3092\u8ffd\u8de1\u3059\u308b\u624b\u52a9\u3051\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<h3 data-start=\"649\" data-end=\"679\"><strong data-start=\"653\" data-end=\"679\">2. Maven\u3092\u4f7f\u3063\u3066\u30d3\u30eb\u30c9\u60c5\u5831\u3092\u7ba1\u7406\u3059\u308b<\/strong><\/h3>\n<p data-start=\"681\" data-end=\"804\">Maven \u3067\u306f\u3001\u30d3\u30eb\u30c9\u6642\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u3084\u30d3\u30eb\u30c9\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u81ea\u52d5\u7684\u306b\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u60c5\u5831\u306f <code>pom.xml<\/code> \u30d5\u30a1\u30a4\u30eb\u3092\u4ecb\u3057\u3066\u7ba1\u7406\u3055\u308c\u3001Spring Boot \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u7c21\u5358\u306b\u53c2\u7167\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h4 data-start=\"806\" data-end=\"832\"><strong data-start=\"811\" data-end=\"832\">2.1 <code>pom.xml<\/code> \u306e\u8a2d\u5b9a<\/strong><\/h4>\n<p data-start=\"834\" data-end=\"923\">\u307e\u305a\u3001Maven \u306e\u30d3\u30eb\u30c9\u60c5\u5831\u3092\u53c2\u7167\u3067\u304d\u308b\u3088\u3046\u306b <code>pom.xml<\/code> \u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u6b21\u306e\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3057\u3066\u3001\u30d3\u30eb\u30c9\u306e\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3068\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \">&lt;properties&gt;\n    &lt;build.timestamp&gt;${maven.build.timestamp}&lt;\/build.timestamp&gt;\n    &lt;maven.build.timestamp.format&gt;yyyyMMdd-HHmmss&lt;\/maven.build.timestamp.format&gt;\n&lt;\/properties&gt;\n<\/pre>\n<p>\u3053\u306e\u8a2d\u5b9a\u3067\u3001\u4f8b\u3048\u3070 <code>20250219-130529<\/code> \u306e\u3088\u3046\u306a\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3 data-start=\"1808\" data-end=\"1841\"><strong data-start=\"1812\" data-end=\"1841\">3. Spring Boot\u3067\u30d3\u30eb\u30c9\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b<\/strong><\/h3>\n<p data-start=\"1843\" data-end=\"1897\">Maven \u3067\u751f\u6210\u3057\u305f\u30d3\u30eb\u30c9\u60c5\u5831\u3092 Spring Boot \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5185\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3092\u898b\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h4 data-start=\"1899\" data-end=\"1946\"><strong data-start=\"1904\" data-end=\"1946\">3.1 <code>application.properties<\/code> \u306b\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u8ffd\u52a0<\/strong><\/h4>\n<p data-start=\"1948\" data-end=\"2056\"><code>application.properties<\/code> \u30d5\u30a1\u30a4\u30eb\u306b\u3001Maven \u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3063\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u30d3\u30eb\u30c9\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u6b21\u306e\u3088\u3046\u306b\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5185\u3067\u3053\u308c\u3089\u306e\u60c5\u5831\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">app.version = @project.version@\napp.build.time = @timestamp@<\/pre>\n<h4 data-start=\"1932\" data-end=\"1980\"><strong data-start=\"1937\" data-end=\"1980\">3.2 GlobalControllerAdvice \u30af\u30e9\u30b9\u3067\u30d3\u30eb\u30c9\u60c5\u5831\u3092\u8868\u793a<\/strong><\/h4>\n<p data-start=\"1982\" data-end=\"2134\">\u6b21\u306b\u3001Spring Boot \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u30d3\u30eb\u30c9\u60c5\u5831\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306b\u3001<code>@ControllerAdvice<\/code> \u3092\u4f7f\u3063\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5168\u4f53\u3067\u5171\u901a\u306e\u51e6\u7406\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002\u3053\u306e\u30af\u30e9\u30b9\u306f\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5bfe\u3057\u3066\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u3068\u30d3\u30eb\u30c9\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3057\u3066\u3001\u5168\u3066\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3067\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \">import org.springframework.beans.factory.annotation.Value;\nimport org.springframework.stereotype.Controller;\nimport org.springframework.ui.Model;\nimport org.springframework.web.bind.annotation.ModelAttribute;\nimport org.springframework.web.bind.annotation.ControllerAdvice;\n\nimport java.text.SimpleDateFormat;\nimport java.util.Date;\nimport java.util.TimeZone;\n\n@ControllerAdvice\npublic class GlobalControllerAdvice {\n\n    @Value(\"${app.version}\")\n    private String appVersion;\n\n    @Value(\"${app.build.time}\")\n    private String buildTimestamp;\n\n    @ModelAttribute\n    public void addAppVersionAndBuildDateToModel(Model model) {\n        try {\n            \/\/ Assuming buildTimestamp is in the format \"yyyyMMdd-HHmmss\" (UTC)\n            SimpleDateFormat sdf = new SimpleDateFormat(\"yyyyMMdd-HHmmss\");\n            sdf.setTimeZone(TimeZone.getTimeZone(\"UTC\"));\n            Date buildDate = sdf.parse(buildTimestamp);\n\n            \/\/ Format the build date in Tokyo time\n            SimpleDateFormat sdfTokyo = new SimpleDateFormat(\"yyyyMMddHHmmss\");\n            sdfTokyo.setTimeZone(TimeZone.getTimeZone(\"Asia\/Tokyo\"));\n            String buildDateInTokyoStr = sdfTokyo.format(buildDate);\n\n            \/\/ Combine version with build date in Tokyo time\n            String versionWithBuildDate = appVersion + \"-\" + buildDateInTokyoStr;\n\n            model.addAttribute(\"version\", versionWithBuildDate);\n        } catch (Exception e) {\n            e.printStackTrace();\n        }\n    }\n}\n<\/pre>\n<p>\u3053\u306e\u30af\u30e9\u30b9\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5168\u4f53\u306e\u30e2\u30c7\u30eb\u306b <code>version<\/code> \u5c5e\u6027\u3092\u8ffd\u52a0\u3057\u3001<code>version<\/code> \u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u3068\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u7d50\u5408\u3057\u305f\u5024\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u3053\u306e\u5024\u306f\u3001\u5168\u3066\u306e\u30d3\u30e5\u30fc\u3067\u5229\u7528\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3 data-start=\"3731\" data-end=\"3747\"><strong data-start=\"3735\" data-end=\"3747\">4. \u7d50\u679c\u306e\u8868\u793a<\/strong><\/h3>\n<p data-start=\"98\" data-end=\"193\"><code>@ControllerAdvice<\/code> \u3067\u8a2d\u5b9a\u3057\u305f\u30d3\u30eb\u30c9\u60c5\u5831\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5168\u4f53\u3067\u5229\u7528\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001Thymeleaf \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u3063\u3066\u3001\u6b21\u306e\u3088\u3046\u306b\u7c21\u5358\u306b\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \">&lt;!-- Thymeleaf\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8868\u793a\u3059\u308b\u4f8b --&gt;\n&lt;p&gt;\u73fe\u5728\u306e\u30d0\u30fc\u30b8\u30e7\u30f3: &lt;span th:text=\"${version}\"&gt;&lt;\/span&gt;&lt;\/p&gt;<\/pre>\n<p>\u3053\u306e\u3088\u3046\u306b\u3001\u5168\u3066\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5bfe\u3057\u3066 <code>version<\/code> \u306e\u5024\u304c\u81ea\u52d5\u7684\u306b\u57cb\u3081\u8fbc\u307e\u308c\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u3068\u30d3\u30eb\u30c9\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u304c\u7c21\u5358\u306b\u78ba\u8a8d\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u8868\u793a\u3055\u308c\u308b\u5185\u5bb9\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3059\uff1a<\/p>\n<pre class=\"lang:default decode:true \">\u73fe\u5728\u306e\u30d0\u30fc\u30b8\u30e7\u30f3: 1.0.0-20230219101500\n<\/pre>\n<p>\u3053\u308c\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30d3\u30eb\u30c9\u60c5\u5831\u3092\u7c21\u5358\u306b\u78ba\u8a8d\u3067\u304d\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3084\u30c7\u30d0\u30c3\u30b0\u4f5c\u696d\u304c\u3088\u308a\u30b9\u30e0\u30fc\u30ba\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3 data-start=\"4029\" data-end=\"4043\"><strong data-start=\"4033\" data-end=\"4043\">5. \u307e\u3068\u3081<\/strong><\/h3>\n<p data-start=\"4045\" data-end=\"4182\">\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Spring Boot \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067 Maven \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u3068\u30d3\u30eb\u30c9\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u53d6\u5f97\u3057\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5185\u3067\u6d3b\u7528\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30d3\u30eb\u30c9\u60c5\u5831\u3092\u52b9\u679c\u7684\u306b\u7ba1\u7406\u3057\u3001\u904b\u7528\u3084\u30c7\u30d0\u30c3\u30b0\u306e\u969b\u306b\u5f79\u7acb\u3066\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305c\u3072\u3001\u4eca\u56de\u306e\u65b9\u6cd5\u3092\u5b9f\u8df5\u3057\u3066\u3001\u958b\u767a\u3084\u904b\u7528\u306e\u52b9\u7387\u5316\u3092\u5b9f\u73fe\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p data-start=\"4045\" data-end=\"4182\">&nbsp;<\/p>\n<p data-start=\"34\" data-end=\"138\">\u30a8\u30b3\u30e2\u30c3\u30c8\u3067\u306f\u3001Spring Boot\u3092\u306f\u3058\u3081\u3068\u3059\u308b\u6700\u65b0\u6280\u8853\u3092\u99c6\u4f7f\u3057\u3066\u3001<\/p>\n<p data-start=\"34\" data-end=\"138\">IoT\u306b\u95a2\u9023\u3059\u308b\u591a\u5f69\u306a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002<\/p>\n<p data-start=\"34\" data-end=\"138\">\u79c1\u305f\u3061\u3068\u4e00\u7dd2\u306b\u3001\u9769\u65b0\u7684\u306a\u30e2\u30ce\u3065\u304f\u308a\u306b\u6311\u6226\u3057\u3001\u672a\u6765\u3092\u5275\u308b\u4ef2\u9593\u3092\u52df\u96c6\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<div style=\"margin-bottom: 32px;text-align: center\"><a style=\"border: solid 1px #1ABB9A;padding: 16px 72px\" href=\"https:\/\/www.ecomott.co.jp\/recruit\/?__hstc=42779642.76f9c1b6731348a1b4133ac7d2d6aa41.1714096199012.1722386207987.1722406485127.12&amp;__hssc=42779642.37.1722406485127&amp;__hsfp=1113258742\" target=\"_blank\" rel=\"noopener\">\u52df\u96c6\u8981\u9805<\/a><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spring Boot \u3092\u4f7f\u3063\u3066\u958b\u767a\u3057\u3066\u3044\u308b\u3068\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u3084\u30d3\u30eb\u30c9\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u306a\u3069\u306e\u30d3\u30eb\u30c9\u60c5\u5831\u3092\u53d6\u5f97\u3057\u305f\u304f\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u60c5\u5831\u306f\u3001\u7279\u306b\u30c7\u30d0\u30c3\u30b0\u3084\u904b\u7528\u74b0\u5883\u3067\u306e\u7ba1\u7406\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f [&hellip;]<\/p>\n","protected":false},"author":106,"featured_media":16058,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[264,263],"_links":{"self":[{"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts\/16049"}],"collection":[{"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/users\/106"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=16049"}],"version-history":[{"count":11,"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts\/16049\/revisions"}],"predecessor-version":[{"id":21061,"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/posts\/16049\/revisions\/21061"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=\/wp\/v2\/media\/16058"}],"wp:attachment":[{"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ecomottblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}