{"id":277,"date":"2019-08-26T11:05:40","date_gmt":"2019-08-26T02:05:40","guid":{"rendered":"http:\/\/2019se3.satoshis.jp\/?p=277"},"modified":"2019-08-26T12:59:11","modified_gmt":"2019-08-26T03:59:11","slug":"8%e6%9c%8826%e6%97%a5","status":"publish","type":"post","link":"https:\/\/2019se3.satoshis.jp\/?p=277","title":{"rendered":"8\u670826\u65e5"},"content":{"rendered":"<h3>Bookshelf\u3068Book\u3092\u9023\u643a\u3059\u308b<\/h3>\n<p>src\/main\/java\/<br \/>\n\u2514jp.abc<br \/>\n\u3000\u2514Bookshelf.java<\/p>\n<pre class=\"brush: java; highlight: [26,27,45,46,47,48,49,50,51]; title: ; notranslate\" title=\"\">\r\npackage jp.abc;\r\n\r\nimport java.util.List;\r\n\r\nimport javax.persistence.Column;\r\nimport javax.persistence.Entity;\r\nimport javax.persistence.GeneratedValue;\r\nimport javax.persistence.GenerationType;\r\nimport javax.persistence.Id;\r\nimport javax.persistence.OneToMany;\r\nimport javax.validation.constraints.NotEmpty;\r\nimport javax.validation.constraints.NotNull;\r\n\r\n@Entity\r\npublic class Bookshelf {\r\n\t@Id\r\n\t@GeneratedValue(strategy = GenerationType.AUTO)\r\n\t@Column\r\n\t@NotNull\r\n\tprivate long id;\r\n\r\n\t@Column(length = 200, nullable = false)\r\n\t@NotEmpty\r\n\tprivate String name;\r\n\r\n\t@OneToMany\r\n\tprivate List&lt;Book&gt; books;\r\n\r\n\tpublic long getId() {\r\n\t\treturn id;\r\n\t}\r\n\r\n\tpublic void setId(long id) {\r\n\t\tthis.id = id;\r\n\t}\r\n\r\n\tpublic String getName() {\r\n\t\treturn name;\r\n\t}\r\n\r\n\tpublic void setName(String name) {\r\n\t\tthis.name = name;\r\n\t}\r\n\r\n\tpublic List&lt;Book&gt; getBooks() {\r\n\t\treturn books;\r\n\t}\r\n\r\n\tpublic void setBooks(List&lt;Book&gt; books) {\r\n\t\tthis.books = books;\r\n\t}\r\n}\r\n<\/pre>\n<p>src\/main\/java\/<br \/>\n\u2514jp.abc<br \/>\n\u3000\u2514Book.java<\/p>\n<pre class=\"brush: java; highlight: [28,29,55,56,57,58,59,60,61]; title: ; notranslate\" title=\"\">\r\npackage jp.abc;\r\n\r\nimport javax.persistence.Column;\r\nimport javax.persistence.Entity;\r\nimport javax.persistence.GeneratedValue;\r\nimport javax.persistence.GenerationType;\r\nimport javax.persistence.Id;\r\nimport javax.persistence.ManyToOne;\r\nimport javax.validation.constraints.NotEmpty;\r\nimport javax.validation.constraints.NotNull;\r\n\r\n@Entity\r\npublic class Book {\r\n\t@Id\r\n\t@GeneratedValue(strategy = GenerationType.AUTO)\r\n\t@Column\r\n\t@NotNull\r\n\tprivate long id;\r\n\r\n\t@Column(length = 200, nullable = false)\r\n\t@NotEmpty\r\n\tprivate String title;\r\n\r\n\t@Column(length = 200, nullable = false)\r\n\t@NotEmpty\r\n\tprivate String author;\r\n\r\n\t@ManyToOne\r\n\tprivate Bookshelf bookshelf;\r\n\r\n\tpublic long getId() {\r\n\t\treturn id;\r\n\t}\r\n\r\n\tpublic void setId(long id) {\r\n\t\tthis.id = id;\r\n\t}\r\n\r\n\tpublic String getTitle() {\r\n\t\treturn title;\r\n\t}\r\n\r\n\tpublic void setTitle(String title) {\r\n\t\tthis.title = title;\r\n\t}\r\n\r\n\tpublic String getAuthor() {\r\n\t\treturn author;\r\n\t}\r\n\r\n\tpublic void setAuthor(String author) {\r\n\t\tthis.author = author;\r\n\t}\r\n\r\n\tpublic Bookshelf getBookshelf() {\r\n\t\treturn bookshelf;\r\n\t}\r\n\r\n\tpublic void setBookshelf(Bookshelf bookshelf) {\r\n\t\tthis.bookshelf = bookshelf;\r\n\t}\r\n\r\n}\r\n<\/pre>\n<p>HTML\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4fee\u6b63\u3059\u308b\u3002<\/p>\n<p>src\/main\/resources\/<br \/>\n\u2514templates<br \/>\n\u3000\u2514book.html<\/p>\n<pre class=\"brush: xml; highlight: [58,59,60,61,62,63,64,65,66,83,84]; title: ; notranslate\" title=\"\">\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html xmlns:th=&quot;http:\/\/www.thymeleaf.org&quot;&gt;\r\n&lt;head&gt;\r\n&lt;meta charset=&quot;UTF-8&quot;&gt;\r\n&lt;title&gt;Book&lt;\/title&gt;\r\n&lt;style type=&quot;text\/css&quot;&gt;\r\nh1 {\r\n  font-size: 18pt;\r\n  font-weight: bold;\r\n  color: gray;\r\n}\r\nbody {\r\n  font-size: 13pt;\r\n  color: gray;\r\n  margin: 5px 25px;\r\n}\r\ntr {\r\n  margin: 5px;\r\n}\r\nth {\r\n  padding: 5px;\r\n  color: white;\r\n  background: darkgray;\r\n}\r\ntd {\r\n  padding: 5px;\r\n  color: black;\r\n  background: #f0f0f0;\r\n}\r\n.err {\r\n  color: red;\r\n}\r\n&lt;\/style&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;h1&gt;Book&lt;\/h1&gt;\r\n&lt;p th:text=&quot;${msg}&quot;&gt;&lt;\/p&gt;\r\n&lt;form method=&quot;post&quot; action=&quot;\/book&quot; th:object=&quot;${formModel}&quot;&gt;\r\n  &lt;table&gt;\r\n    &lt;tr&gt;\r\n      &lt;td&gt;&lt;label for=&quot;title&quot;&gt;\u30bf\u30a4\u30c8\u30eb&lt;\/label&gt;&lt;\/td&gt;\r\n      &lt;td&gt;\r\n        &lt;input type=&quot;text&quot; name=&quot;title&quot; th:value=&quot;*{title}&quot;\r\n      \t\t\tth:errorclass=&quot;err&quot; \/&gt;\r\n      \t&lt;div th:if=&quot;${#fields.hasErrors('title')}&quot; th:errors=&quot;*{title}&quot;\r\n      \t\tth:errorclass=&quot;err&quot;&gt;&lt;\/div&gt;\r\n      &lt;\/td&gt;\r\n    &lt;\/tr&gt;\r\n    &lt;tr&gt;\r\n      &lt;td&gt;&lt;label for=&quot;author&quot;&gt;\u8457\u8005&lt;\/label&gt;&lt;\/td&gt;\r\n      &lt;td&gt;\r\n        &lt;input type=&quot;text&quot; name=&quot;author&quot; th:value=&quot;*{author}&quot;\r\n      \t\t\tth:errorclass=&quot;err&quot; \/&gt;\r\n      \t&lt;div th:if=&quot;${#fields.hasErrors('author')}&quot; th:errors=&quot;*{author}&quot;\r\n      \t\tth:errorclass=&quot;err&quot;&gt;&lt;\/div&gt;\r\n      &lt;\/td&gt;\r\n    &lt;\/tr&gt;\r\n    &lt;tr&gt;\r\n      &lt;td&gt;&lt;label for=&quot;bookshelf&quot;&gt;\u672c\u68da&lt;\/label&gt;&lt;\/td&gt;\r\n      &lt;td&gt;\r\n        &lt;input type=&quot;text&quot; name=&quot;bookshelf&quot; th:value=&quot;*{bookshelf}&quot;\r\n                th:errorclass=&quot;err&quot;\/&gt;\r\n        &lt;div th:if=&quot;${#fields.hasErrors('bookshelf')}&quot; th:errors=&quot;*{bookshelf}&quot;\r\n            th:errorclass=&quot;err&quot;&gt;&lt;\/div&gt;\r\n      &lt;\/td&gt;\r\n    &lt;\/tr&gt;\r\n    &lt;tr&gt;\r\n      &lt;td&gt;&lt;\/td&gt;\r\n      &lt;td&gt;&lt;input type=&quot;submit&quot; \/&gt;&lt;\/td&gt;\r\n    &lt;\/tr&gt;\r\n  &lt;\/table&gt;\r\n&lt;\/form&gt;\r\n\r\n&lt;hr \/&gt;\r\n&lt;table&gt;\r\n  &lt;tr&gt;\r\n    &lt;th&gt;ID&lt;\/th&gt;&lt;th&gt;\u30bf\u30a4\u30c8\u30eb&lt;\/th&gt;&lt;th&gt;\u8457\u8005&lt;\/th&gt;&lt;th&gt;\u672c\u68da&lt;\/th&gt;\r\n  &lt;\/tr&gt;\r\n  &lt;tr th:each=&quot;obj : ${datalist}&quot;&gt;\r\n    &lt;td th:text=&quot;${obj.id}&quot;&gt;&lt;\/td&gt;\r\n    &lt;td th:text=&quot;${obj.title}&quot;&gt;&lt;\/td&gt;\r\n    &lt;td th:text=&quot;${obj.author}&quot;&gt;&lt;\/td&gt;\r\n    &lt;td th:if=&quot;${obj.bookshelf != null}&quot; th:text=&quot;${obj.bookshelf.name}&quot;&gt;&lt;\/td&gt;\r\n    &lt;td th:if=&quot;${obj.bookshelf == null}&quot; th:text=&quot;\u672c\u68da\u306a\u3057&quot;&gt;&lt;\/td&gt;\r\n  &lt;\/tr&gt;\r\n&lt;\/table&gt;\r\n\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<h3>\u672c\u3092\u7de8\u96c6\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b<\/h3>\n<p>HTML\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u7528\u610f\u3059\u308b\u3002<\/p>\n<p>src\/main\/resources\/<br \/>\n\u2514templates<br \/>\n\u3000\u2514edit.html<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html xmlns:th=&quot;http:\/\/www.thymeleaf.org&quot;&gt;\r\n&lt;head&gt;\r\n&lt;meta charset=&quot;UTF-8&quot;&gt;\r\n&lt;title&gt;\u672c\u306e\u7de8\u96c6&lt;\/title&gt;\r\n&lt;meta http-equiv=&quot;Content-type&quot; content=&quot;text\/html; charset=UTF-8&quot; \/&gt;\r\n&lt;style type=&quot;text\/css&quot;&gt;\r\nh1 {\r\n  font-size: 18pt;\r\n  font-weight: bold;\r\n  color: gray;\r\n}\r\nbody {\r\n  font-size: 13pt;\r\n  color: gray;\r\n  margin: 5px 25px;\r\n}\r\npre {\r\n  border: solid 3px #ddd;\r\n  padding: 10px;\r\n}\r\ntr {\r\n  margin: 5px;\r\n}\r\nth {\r\n  padding: 5px;\r\n  color: white;\r\n  background: darkgray;\r\n}\r\ntd {\r\n  padding: 5px;\r\n  color: black;\r\n  background: #f0f0f0;\r\n}\r\n&lt;\/style&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n\r\n&lt;h1&gt;\u672c\u306e\u7de8\u96c6&lt;\/h1&gt;\r\n\r\n&lt;form method=&quot;post&quot; action=&quot;\/edit&quot; th:object=&quot;${formModel}&quot;&gt;\r\n  &lt;input type=&quot;hidden&quot; name=&quot;id&quot; th:value=&quot;*{id}&quot; \/&gt;\r\n  &lt;table&gt;\r\n    &lt;tr&gt;\r\n      &lt;td&gt;&lt;label for=&quot;title&quot;&gt;\u30bf\u30a4\u30c8\u30eb&lt;\/label&gt;&lt;\/td&gt;\r\n      &lt;td&gt;&lt;input type=&quot;text&quot; name=&quot;title&quot; th:value=&quot;*{title}&quot; \/&gt;&lt;\/td&gt;\r\n    &lt;\/tr&gt;\r\n    &lt;tr&gt;\r\n      &lt;td&gt;&lt;label for=&quot;artist&quot;&gt;\u8457\u8005&lt;\/label&gt;&lt;\/td&gt;\r\n      &lt;td&gt;&lt;input type=&quot;text&quot; name=&quot;author&quot; th:value=&quot;*{author}&quot; \/&gt;&lt;\/td&gt;\r\n    &lt;\/tr&gt;\r\n    &lt;tr&gt;\r\n      &lt;td&gt;&lt;label for=&quot;bookshelf&quot;&gt;\u672c\u68da&lt;\/label&gt;&lt;\/td&gt;\r\n      &lt;td th:if=&quot;*{bookshelf != null}&quot;&gt;\r\n        &lt;input type=&quot;text&quot; name=&quot;bookshelf&quot; th:value=&quot;*{bookshelf.id}&quot; \/&gt;\r\n      &lt;\/td&gt;\r\n      &lt;td th:if=&quot;*{bookshelf == null}&quot;&gt;\r\n        &lt;input type=&quot;text&quot; name=&quot;bookshelf&quot; value=&quot;&quot; \/&gt;\r\n      &lt;\/td&gt;\r\n    &lt;\/tr&gt;\r\n    &lt;tr&gt;\r\n      &lt;td&gt;&lt;\/td&gt;\r\n      &lt;td&gt;&lt;input type=&quot;submit&quot; \/&gt;&lt;\/td&gt;\r\n    &lt;\/tr&gt;\r\n  &lt;\/table&gt;\r\n&lt;\/form&gt;\r\n\r\n\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<p>\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306b\u7de8\u96c6\u753b\u9762\u3078\u306e\u30de\u30c3\u30d4\u30f3\u30b0\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<p>src\/main\/java\/<br \/>\n\u2514jp.abc<br \/>\n\u3000\u2514BookController.java<\/p>\n<pre class=\"brush: java; first-line: 42; title: ; notranslate\" title=\"\">\r\n\t@RequestMapping(value = &quot;\/edit\/{id}&quot;, method = RequestMethod.GET)\r\n\tpublic ModelAndView edit(@ModelAttribute Book book,\r\n\t        @PathVariable long id,\r\n\t        ModelAndView mav) {\r\n\t    mav.setViewName(&quot;edit&quot;);\r\n\t    mav.addObject(&quot;title&quot;, &quot;edit music&quot;);\r\n\t    Optional&lt;Book&gt; data = repository.findById(id);\r\n\t    mav.addObject(&quot;formModel&quot;, data.get());\r\n\t    return mav;\r\n\t}\r\n<\/pre>\n<p>POST\u30e1\u30bd\u30c3\u30c9\u3092\u53d7\u3051\u53d6\u308c\u308b\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n<pre class=\"brush: java; first-line: 53; title: ; notranslate\" title=\"\">\r\n\t@RequestMapping(value = &quot;\/edit&quot;, method = RequestMethod.POST)\r\n\tpublic ModelAndView form(@ModelAttribute @Validated Book book,\r\n\t        Errors result,\r\n\t        ModelAndView mav) {\r\n\t    if (result.hasErrors()) {\r\n\t        return mav;\r\n\t    }\r\n\t    repository.saveAndFlush(book);\r\n\t    return new ModelAndView(&quot;redirect:\/book&quot;);\r\n\t}\r\n<\/pre>\n<p>book.html \u306b\u7de8\u96c6\u3068\u524a\u9664\u306e\u30ea\u30f3\u30af\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<p>src\/main\/resources\/<br \/>\n\u2514templates<br \/>\n\u3000\u2514book.html<\/p>\n<pre class=\"brush: xml; first-line: 74; highlight: [85,86]; title: ; notranslate\" title=\"\">\r\n&lt;hr \/&gt;\r\n&lt;table&gt;\r\n  &lt;tr&gt;\r\n    &lt;th&gt;ID&lt;\/th&gt;&lt;th&gt;\u30bf\u30a4\u30c8\u30eb&lt;\/th&gt;&lt;th&gt;\u8457\u8005&lt;\/th&gt;&lt;th&gt;\u672c\u68da&lt;\/th&gt;&lt;th&gt;\u7de8\u96c6&lt;\/th&gt;&lt;th&gt;\u524a\u9664&lt;\/th&gt;\r\n  &lt;\/tr&gt;\r\n  &lt;tr th:each=&quot;obj : ${datalist}&quot;&gt;\r\n    &lt;td th:text=&quot;${obj.id}&quot;&gt;&lt;\/td&gt;\r\n    &lt;td th:text=&quot;${obj.title}&quot;&gt;&lt;\/td&gt;\r\n    &lt;td th:text=&quot;${obj.author}&quot;&gt;&lt;\/td&gt;\r\n    &lt;td th:if=&quot;${obj.bookshelf != null}&quot; th:text=&quot;${obj.bookshelf.name}&quot;&gt;&lt;\/td&gt;\r\n    &lt;td th:if=&quot;${obj.bookshelf == null}&quot; th:text=&quot;\u672c\u68da\u306a\u3057&quot;&gt;&lt;\/td&gt;\r\n    &lt;td&gt;&lt;a th:href=&quot;@{'\/edit\/' + ${obj.id}}&quot;&gt;\u7de8\u96c6&lt;\/a&gt;&lt;\/td&gt;\r\n    &lt;td&gt;&lt;a th:href=&quot;@{'\/delete\/' + ${obj.id}}&quot;&gt;\u524a\u9664&lt;\/a&gt;&lt;\/td&gt;\r\n  &lt;\/tr&gt;\r\n&lt;\/table&gt;\r\n<\/pre>\n<h3>\u672c\u3092\u524a\u9664\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b<\/h3>\n<p>src\/main\/resources\/<br \/>\n\u2514templates<br \/>\n\u3000\u2514delete.html<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html xmlns:th=&quot;http:\/\/www.thymeleaf.org&quot;&gt;\r\n&lt;head&gt;\r\n&lt;meta charset=&quot;UTF-8&quot;&gt;\r\n&lt;title&gt;\u672c\u306e\u524a\u9664&lt;\/title&gt;\r\n&lt;meta http-equiv=&quot;Content-type&quot; content=&quot;text\/html; charset=UTF-8&quot; \/&gt;\r\n&lt;style type=&quot;text\/css&quot;&gt;\r\nh1 {\r\n  font-size: 18pt;\r\n  font-weight: bold;\r\n  color: gray;\r\n}\r\nbody {\r\n  font-size: 13pt;\r\n  color: gray;\r\n  margin: 5px 25px;\r\n}\r\npre {\r\n  border: solid 3px #ddd;\r\n  padding: 10px;\r\n}\r\ntr {\r\n  margin: 5px;\r\n}\r\nth {\r\n  padding: 5px;\r\n  color: white;\r\n  background: darkgray;\r\n}\r\ntd {\r\n  padding: 5px;\r\n  color: black;\r\n  background: #f0f0f0;\r\n}\r\n&lt;\/style&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n\r\n&lt;h1&gt;\u672c\u306e\u524a\u9664&lt;\/h1&gt;\r\n\r\n&lt;form method=&quot;post&quot; action=&quot;\/delete&quot; th:object=&quot;${formModel}&quot;&gt;\r\n  &lt;input type=&quot;hidden&quot; name=&quot;id&quot; th:value=&quot;*{id}&quot; \/&gt;\r\n  &lt;table&gt;\r\n    &lt;tr&gt;&lt;td&gt;&lt;p th:text=&quot;|\u30bf\u30a4\u30c8\u30eb : *{title}|&quot;&gt;&lt;\/p&gt;&lt;\/td&gt;&lt;\/tr&gt;\r\n    &lt;tr&gt;&lt;td&gt;&lt;p th:text=&quot;|\u8457\u8005 : *{author}|&quot;&gt;&lt;\/p&gt;&lt;\/td&gt;&lt;\/tr&gt;\r\n    &lt;tr&gt;&lt;td&gt;&lt;input type=&quot;submit&quot; value=&quot;\u524a\u9664&quot; \/&gt;&lt;\/td&gt;&lt;\/tr&gt;\r\n  &lt;\/table&gt;\r\n&lt;\/form&gt;\r\n\r\n\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<p>\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306b\u524a\u9664\u30da\u30fc\u30b8\u3078\u306e\u30de\u30c3\u30d4\u30f3\u30b0\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n<p>src\/main\/java\/<br \/>\n\u2514jp.abc<br \/>\n\u3000\u2514BookController.java<\/p>\n<pre class=\"brush: java; first-line: 65; title: ; notranslate\" title=\"\">\r\n\t@RequestMapping(value = &quot;\/delete\/{id}&quot;, method = RequestMethod.GET)\r\n\tpublic ModelAndView delete(@PathVariable int id,\r\n\t        ModelAndView mav) {\r\n\t    mav.setViewName(&quot;delete&quot;);\r\n\t    mav.addObject(&quot;title&quot;, &quot;\u672c\u306e\u524a\u9664&quot;);\r\n\t    Optional&lt;Book&gt; data = repository.findById((long)id);\r\n\t    mav.addObject(&quot;formModel&quot;, data.get());\r\n\t    return mav;\r\n\t}\r\n\r\n\t@RequestMapping(value = &quot;\/delete&quot;, method = RequestMethod.POST)\r\n\tpublic ModelAndView remove(@RequestParam long id,\r\n\t        ModelAndView mav) {\r\n\t    repository.deleteById(id);\r\n\t    return new ModelAndView(&quot;redirect:\/book&quot;);\r\n\t}\r\n<\/pre>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Bookshelf\u3068Book\u3092\u9023\u643a\u3059\u308b src\/main\/java\/ \u2514jp.abc \u3000\u2514Bookshelf.java src\/main\/java\/ \u2514jp.abc \u3000\u2514Book.java HTML\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4fee\u6b63\u3059\u308b &hellip; <a href=\"https:\/\/2019se3.satoshis.jp\/?p=277\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;8\u670826\u65e5&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,3],"tags":[],"_links":{"self":[{"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/277"}],"collection":[{"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=277"}],"version-history":[{"count":8,"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/277\/revisions"}],"predecessor-version":[{"id":285,"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=\/wp\/v2\/posts\/277\/revisions\/285"}],"wp:attachment":[{"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2019se3.satoshis.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}