{"id":50869,"date":"2023-04-19T00:00:00","date_gmt":"2023-04-19T07:00:00","guid":{"rendered":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/"},"modified":"2025-11-14T07:56:21","modified_gmt":"2025-11-14T15:56:21","slug":"create-a-java-web-api-using-griddb-and-spring-boot","status":"publish","type":"post","link":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/","title":{"rendered":"GridDB\u3068Spring Boot\u3092\u4f7f\u3063\u3066Java Web API\u3092\u4f5c\u6210\u3059\u308b"},"content":{"rendered":"<p>GridDB\u306f\u69d8\u3005\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001Java\u306f\u552f\u4e00\u306e\u30cd\u30a4\u30c6\u30a3\u30d6\u30fb\u30b3\u30cd\u30af\u30bf\u3067\u3042\u308b\u305f\u3081\u3001GridDB\u3068\u3059\u3050\u306b\u9023\u643a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30cd\u30a4\u30c6\u30a3\u30d6\u30fb\u30b3\u30cd\u30af\u30bf\u306a\u306e\u3067\u3001Java\u306e<a href=\"https:\/\/spring.io\/\">Spring Boot<\/a>\u3092\u4f7f\u3063\u3066CRUD API\u3092\u66f8\u304f\u65b9\u6cd5\u3092\u8a18\u4e8b\u306b\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>Spring Boot\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3048\u3070\u3001<a href=\"https:\/\/restfulapi.net\/\">REST Interface<\/a>\u30b3\u30de\u30f3\u30c9\u3092\u53d7\u3051\u4ed8\u3051\u308b\u30b5\u30fc\u30d0\u3092\u7c21\u5358\u306b\u7acb\u3061\u4e0a\u3052\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u3053\u3067\u4eca\u56de\u306f\u3001\u30e6\u30fc\u30b6\u304cGridDB\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089Create\u3001Read\u3001Update\u3001Delete\u3067\u304d\u308bJava\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>RESTful\u30d0\u30c3\u30d5\u30a1\u3092\u901a\u3057\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u306b\u306f\u591a\u304f\u306e\u5229\u70b9\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u6700\u5927\u306e\u5229\u70b9\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3068\u3044\u3046\u5f62\u3067\u3082\u305f\u3089\u3055\u308c\u307e\u3059\u3002\u304a\u305d\u3089\u304f\u60f3\u50cf\u304c\u3064\u304f\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u672c\u756a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u76f4\u63a5\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u306f\u5e38\u306b\u30ea\u30b9\u30af\u304c\u4f34\u3044\u307e\u3059\u3002<\/p>\n<p>Spring Boot\u3067RESTful API\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u3001\u30e6\u30fc\u30b6\u30fc\u3078\u306e\u516c\u958b\u3092\u5236\u9650\u3057\u3001\u5fc5\u8981\u306a\u3082\u306e\u3060\u3051\u3092\u8aad\u307f\u53d6\u308a\u3001\u66f8\u304d\u8fbc\u307f\u3001\u66f4\u65b0\u3001\u524a\u9664\u3092\u8a31\u53ef\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u305d\u306e\u4ed5\u7d44\u307f\u306f\u3001Java\u3067\u95a2\u6570\u3092\u4f5c\u6210\u3057\u3001\u3042\u3089\u304b\u3058\u3081\u8a2d\u5b9a\u3055\u308c\u305f\u30af\u30a8\u30ea\u30fc\u30fb\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u6301\u3061\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u751f\u6210\u3057\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u30921\u3064\u304b2\u3064\u53d6\u308a\u8fbc\u3093\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u3084\u308a\u53d6\u308a\u3059\u308b\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002 \u30e6\u30fc\u30b6\u30fc\u306b1\u3064\u304b2\u3064\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3057\u304b\u5909\u66f4\u3055\u305b\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u6a5f\u5bc6\u60c5\u5831\u3092\u542b\u3080\u53ef\u80fd\u6027\u306e\u3042\u308bGridDB\u30b3\u30f3\u30c6\u30ca\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u76f4\u63a5\u30d6\u30ed\u30c3\u30af\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Web_API\">API\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8<\/a>\u3092\u4f7f\u3063\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u3084\u308a\u53d6\u308a\u3059\u308b\u5927\u524d\u63d0\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002 \u30e6\u30fc\u30b6\u30fc\u304c<a href=\"https:\/\/developer.mozilla.org\/ja\/docs\/Web\/HTTP\/Methods\">HTTP\u30ea\u30af\u30a8\u30b9\u30c8<\/a>\u3092\u884c\u3046\u3068\u3001\u4f7f\u7528\u3055\u308c\u308b\u30e1\u30bd\u30c3\u30c9\uff08GET\u3001POST\u3001PUT\u3001DELETE\u306a\u3069\uff09\u306b\u5fdc\u3058\u3066\u3001\u30bf\u30b9\u30af\u3092\u9054\u6210\u3059\u308b\u7570\u306a\u308bJava\u95a2\u6570\u304c\u547c\u3073\u51fa\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u542b\u307e\u308c\u308b\u30bd\u30fc\u30b9\u30fb\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\u3053\u306e\u30bd\u30fc\u30b9\u30fb\u30b3\u30fc\u30c9\u3067\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u5b89\u5168\u306a\u30d0\u30c3\u30d5\u30a1\u3092\u901a\u3058\u3066GridDB\u3068\u3084\u308a\u53d6\u308a\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308bAPI\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3067\u306f\u3001GridDB\u306e\u57fa\u672c\u7684\u306a\u30bf\u30b9\u30af\u3092\u52b9\u7387\u7684\u306a\u65b9\u6cd5\u3067\u9054\u6210\u3067\u304d\u308bJava\u30b3\u30fc\u30c9\u306e\u66f8\u304d\u65b9\u3082\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h2>\u524d\u63d0\u6761\u4ef6\u3068\u30d5\u30a9\u30ed\u30fc<\/h2>\n<p>\u3053\u306e\u30d6\u30ed\u30b0\u3092\u30d5\u30a9\u30ed\u30fc\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u3053\u3053\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308bGitHub\u306e\u30ec\u30dd\u3092\u30af\u30ed\u30fc\u30f3\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u3044\u304f\u3064\u304b\u306e\u4e88\u5099\u77e5\u8b58\u3082\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<ol>\n<li><a href=\"https:\/\/docs.griddb.net\/gettingstarted\/using-apt\/\">GridDB\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u5b9f\u884c<\/a><\/li>\n<li><a href=\"https:\/\/maven.apache.org\/install.html\">Maven<\/a><\/li>\n<\/ol>\n<p>\u305d\u3057\u3066\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9<code>$ mvn spring-boot:run<\/code>\u3092\u4f7f\u3063\u3066\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002\u3059\u3079\u3066\u304c\u4e0a\u624b\u304f\u3044\u3051\u3070\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u3067Spring Boot\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u30d5\u30a9\u30a2\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u5b9f\u884c\u3055\u308c\u3001\u30dd\u30fc\u30c88081\u3067\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070: http:\/\/localhost:8081.<\/p>\n<h2>\u30c7\u30d0\u30a4\u30b9\u30af\u30e9\u30b9<\/h2>\n<p>\u91cd\u8981\u306aGridDB\u30af\u30e9\u30b9\u306b\u5165\u308b\u524d\u306b\u3001\u307e\u305aDevice\u30af\u30e9\u30b9\u304b\u3089\u8aac\u660e\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3053\u306e\u30af\u30e9\u30b9\u306f\u3001\u3053\u306e\u8a18\u4e8b\u3067\u4f7f\u7528\u3059\u308b\u30c7\u30fc\u30bf\u306e\u30b9\u30ad\u30fc\u30de\u3092\u683c\u7d0d\u3059\u308b\u5f79\u5272\u3092\u62c5\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">class Device {\n\n    @RowKey String id;\n    Double lat;\n    Double lon;<\/code><\/pre>\n<\/div>\n<p>\u305d\u3057\u3066\u5b9f\u969b\u3001GridDB Java\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u66f8\u304f\u969b\u306b\u306f\u3001\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3057\u3066\u30b9\u30ad\u30fc\u30de\u3092\u30b3\u30f3\u30c6\u30ca\u5185\u306b\u914d\u7f6e\u3059\u308b\u3053\u3068\u3067\u3001\u30b3\u30f3\u30c6\u30ca\u7528\u306e\u30b9\u30ad\u30fc\u30de\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<h2>GridDB\u30af\u30e9\u30b9<\/h2>\n<p>\u5b9f\u969b\u306e\u30b5\u30fc\u30d0\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306e\u8aac\u660e\u306b\u5165\u308b\u524d\u306b\u3001GridDB\u30af\u30e9\u30b9\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u8aac\u660e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002GridDB \u30af\u30e9\u30b9\u306f\u3001\u57fa\u672c\u7684\u306a\u6a5f\u80fd\u3092\u3059\u3079\u3066\u62c5\u3063\u3066\u304a\u308a\u3001\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304c\u547c\u3073\u51fa\u3055\u308c\u308b\u3068\u3001\u5358\u7d14\u306b GridDB \u30af\u30e9\u30b9\u306e\u30e1\u30bd\u30c3\u30c9\u304c\u5b9f\u884c\u3055\u308c\u308b\u3088\u3046\u306b\u547c\u3073\u51fa\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>GridDB\u30af\u30e9\u30b9\u306f\u3001GridDB\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">public GridDB() {\n        try {\n        Properties props = new Properties();\n        props.setProperty(\"notificationMember\", \"127.0.0.1:10001\");\n        props.setProperty(\"clusterName\", \"myCluster\");\n        props.setProperty(\"user\", \"admin\"); \n        props.setProperty(\"password\", \"admin\");\n        store = GridStoreFactory.getInstance().getGridStore(props);\n        devCol = store.putCollection(\"sbDEVICES\", Device.class);\n        } catch (Exception e) {\n            System.out.println(\"Could not get Gridstore instance, exitting.\");\n            System.exit(-1);\n        }\n    }<\/code><\/pre>\n<\/div>\n<p>\u5148\u306b\u3082\u8aac\u660e\u3057\u305f\u3088\u3046\u306b\u3001\u3053\u306e\u30af\u30e9\u30b9\u306f <code>GridDB<\/code> \u3068\u3044\u3046\u540d\u524d\u3067\u3042\u308a\u3001\u3053\u306e\u5834\u5408\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306b\u306f\u30db\u30b9\u30c8\u30de\u30b7\u30f3\u306e GridDB \u30b5\u30fc\u30d0\u304c\u683c\u7d0d\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3064\u307e\u308a\u3001GridDB\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u751f\u6210\u3059\u308b\u3068\u304d\u306b\u306f\u3001\u3059\u3067\u306bGridDB\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3068\u901a\u4fe1\u3067\u304d\u308b\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001<code>sbDEVICES<\/code> \u3068\u3044\u3046\u65b0\u3057\u3044\u30b3\u30f3\u30c6\u30ca\u3082\u4f5c\u6210\u3057\u307e\u3059\uff08\u307e\u3060\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\uff09\u3002\u3053\u306e\u30b3\u30f3\u30c6\u30ca\u306b\u306f\u3001<code>Device.class<\/code> \u304c\u63d0\u4f9b\u3059\u308b\u30b9\u30ad\u30fc\u30de\u3092\u4f7f\u3063\u3066\u3001\u3053\u306e\u8a18\u4e8b\u306e\u30c7\u30fc\u30bf\u3092\u683c\u7d0d\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u306f\u3055\u3066\u304a\u304d\u3001\u6b21\u306f\u57fa\u672c\u7684\u306aCRUD\u30b3\u30de\u30f3\u30c9\u3092\u62c5\u5f53\u3059\u308b\u95a2\u6570\u3067\u3059\u3002<\/p>\n<h2>\u30c7\u30d0\u30a4\u30b9\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9<\/h2>\n<p>\u524d\u306e2\u3064\u306e\u30af\u30e9\u30b9\u306b\u52a0\u3048\u3066\u3001Spring Boot\u3067\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u4f7f\u7528\u3059\u308b\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u683c\u7d0d\u3059\u308bDevice Controller\u30af\u30e9\u30b9\u3082\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u306f\u3001\u7279\u5b9a\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3001\u30e1\u30bd\u30c3\u30c9\u3001\u305d\u3057\u3066\u6700\u5f8c\u306b\u30b3\u30fc\u30c9\u304c\u4f55\u3092\u3059\u3079\u304d\u304b\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u306f\u3001GridDB\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">@RestController\npublic class DeviceController {\n\n    GridDB gridDb;\n\n    public DeviceController() {\n        super();\n        gridDb = new GridDB();\n    }<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u6642\u70b9\u304b\u3089\u3001\u95a2\u6570\u3092\u4f5c\u6210\u3057\u3001\u7279\u5b9a\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3084HTTP\u30e1\u30bd\u30c3\u30c9\u306b\u95a2\u9023\u4ed8\u3051\u308b\u3060\u3051\u3067\u3001GridDB\u30af\u30e9\u30b9\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3057\u3066\u5fc5\u8981\u306a\u3053\u3068\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>API\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306e\u4f5c\u6210\u3068\u547c\u3073\u51fa\u3057<\/h2>\n<p>\u3053\u308c\u3089\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304c\u3069\u306e\u3088\u3046\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u306e\u304b\u304c\u3082\u3046\u5c11\u3057\u5206\u304b\u3063\u305f\u3068\u3053\u308d\u3067\u3001\u5b9f\u969b\u306b\u30b5\u30fc\u30d0\u30fc\u3092\u52d5\u304b\u3057\u3066\u3001\u3044\u304f\u3064\u304b\u306e\u884c\u3092\u4f5c\u6210\u3057\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u8aad\u307f\u8fbc\u307f\u3001\u6700\u5f8c\u306b\u3044\u304f\u3064\u304b\u306e\u884c\u3092\u524a\u9664\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001\u52d5\u4f5c\u3059\u308b\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3092\u6301\u3063\u3066\u3044\u306a\u3044\u306e\u3067\u3001<a href=\"https:\/\/www.postman.com\/\">Postman<\/a>\u3092\u4f7f\u3063\u3066\u3001\u3042\u308b\u3044\u306f\u5358\u306b<a href=\"https:\/\/en.wikipedia.org\/wiki\/Command-line_interface\">CLI<\/a>\u3068curl\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066API\u3092\u5f04\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>POST\u30e1\u30bd\u30c3\u30c9<\/h3>\n<p>\u307e\u305a\u59cb\u3081\u306b\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u3044\u304f\u3064\u304b\u306e\u30c7\u30fc\u30bf\u884c\u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3082\u3061\u308d\u3093\u3001POST\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u4f7f\u3063\u3066\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30c7\u30fc\u30bf\u3092\u30b5\u30fc\u30d0\u30fc\u306b\u9001\u4fe1\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001\u3053\u306e <code>putDevice<\/code> java \u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u5b9f\u969b\u306b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u30c7\u30fc\u30bf\u884c\u3092\u8ffd\u52a0\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">public void putDevice(Device dev) {\n\n        try {   \n            System.out.println(\"dev=\"+dev);\n            devCol.setAutoCommit(false);\n            devCol.put(dev);\n            devCol.commit();\n        } catch (Exception e) {\n            e.printStackTrace();\n        }\n\n    }<\/code><\/pre>\n<\/div>\n<p>\u3053\u3053\u3067\u306f\u3001\u5358\u306b Java API \u3092\u4f7f\u7528\u3057\u3066\u3001HTTP \u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30dc\u30c7\u30a3\u306b\u3042\u308b\u30e6\u30fc\u30b6\u30fc\u751f\u6210\u30c7\u30fc\u30bf\u3092\u76f4\u63a5 GridDB \u30b5\u30fc\u30d0\u30fc\u306b <code>.put<\/code> \u3057\u3066\u3044\u307e\u3059\u3002\u3064\u307e\u308a\u3001<code>POST<\/code>\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30dc\u30c7\u30a3\u306b\u306f\u30c7\u30d0\u30a4\u30b9\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08id, lat, lon\uff09\u304c\u542b\u307e\u308c\u3066\u3044\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n<h3>POST\u30ea\u30af\u30a8\u30b9\u30c8<\/h3>\n<p>Device Controller\u306e\u5b9f\u969b\u306eAPI Endpoint\u306e\u30b3\u30fc\u30c9\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">@PostMapping(\"\/device\")\n    @ResponseStatus(HttpStatus.CREATED)\n    public ResponseEntity&lt;?&gt; postDevice(@RequestBody Device dev) {\n        if (gridDb.getDevice(dev.getId()) == null) {\n            gridDb.putDevice(dev);\n            return new ResponseEntity&lt;Device&gt;(dev, HttpStatus.CREATED);\n        } else {\n            return new ResponseEntity&lt;string>(\"Device already existsn\", HttpStatus.BAD_REQUEST);\n        }\n    }&lt;\/string><\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u30b9\u30cb\u30da\u30c3\u30c8\u306e\u4e00\u756a\u4e0a\u306e\u884c\u306f\u3001\u3053\u306e\u95a2\u6570\u306b\u95a2\u9023\u4ed8\u3051\u308bHTTP\u30e1\u30bd\u30c3\u30c9\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u306b\u4f1d\u3048\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u30e6\u30fc\u30b6\u304c <code>http:\/\/localhost:8081\/device<\/code> \u3092 POST \u3067\u30b3\u30fc\u30eb\u3059\u308b\u3068\u3001\u3053\u306e\u884c\u306e\u30b3\u30fc\u30c9\u304c\u30b3\u30fc\u30eb\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u5834\u5408\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30dc\u30c7\u30a3\u3092\u53d6\u5f97\u3057\u3001\u305d\u306e\u60c5\u5831\u3092\u4f7f\u3063\u3066griddb\u30af\u30e9\u30b9\u306e\u30e1\u30bd\u30c3\u30c9 <code>.putDevice<\/code> \u3092\u5b9f\u884c\u3057\u3001\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30b3\u30f3\u30c6\u30ca <code>sbDEVICES<\/code> \u306b\u65b0\u3057\u3044\u884c\u3092\u4f5c\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306fcurl\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u305f\u30b3\u30fc\u30c9\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">curl --location 'localhost:8081\/device' \n--header 'Content-Type: application\/json' \n--data '{\n    \"id\": \"1\",\n    \"lat\": 0,\n    \"lon\": 0\n}'<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30b5\u30fc\u30d0\u30fc\u304b\u3089201\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u8fd4\u3063\u3066\u304d\u3066\u3001\u30c7\u30fc\u30bf\u884c\u304c\u5229\u7528\u53ef\u80fd\u306b\u306a\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<h3>GET\u30e1\u30bd\u30c3\u30c9<\/h3>\n<p>\u6b21\u306b\u3001HTTP\u30e1\u30bd\u30c3\u30c9\u306e<code>GET<\/code>\u3067\u547c\u3073\u51fa\u3055\u308c\u308b\u95a2\u6570\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002GET\u306f\u6700\u3082\u3088\u304f\u4f7f\u308f\u308c\u308b\u30b7\u30f3\u30d7\u30eb\u306a\u30e1\u30bd\u30c3\u30c9\u3067\u3059\uff08\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u3092\u958b\u304f\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u3057\u3066\u3001\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u304c\u8fd4\u3063\u3066\u304f\u308b\u3068\u8003\u3048\u3066\u304f\u3060\u3055\u3044\uff09\u3002<\/p>\n<p>GET\u3092\u4f7f\u3048\u3070\u3001\u884c\u304c\u5b9f\u969b\u306b\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4fdd\u5b58\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u6700\u521d\u306b\u3001GridDB\u30af\u30e9\u30b9\u306e\u30e1\u30bd\u30c3\u30c9 <code>getDevices<\/code> \u3068 <code>getDevice<\/code> \u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">public List&lt;Device&gt; getDevices() {\n        List&lt;Device&gt; retval= new ArrayList&lt;Device&gt;();\n        try {\n            Query&lt;Device&gt; query = devCol.query(\"select *\");\n            RowSet&lt;Device&gt; rs = query.fetch(false);\n            while(rs.hasNext()) {\n                Device dev = rs.next();\n                retval.add(dev);\n            }\n        } catch(Exception e) {\n            e.printStackTrace();\n        }\n        return retval;\n\n    }\n    public Device getDevice(String id) {\n        try {\n            Query&lt;Device&gt; query = devCol.query(\"select * where id='\"+id+\"'\");\n            RowSet&lt;Device&gt; rs = query.fetch(false);\n            if (rs.hasNext()) {\n                Device dev = rs.next();\n                return dev;\n            }\n        } catch(Exception e) {\n            e.printStackTrace();\n        }\n        return null;\n\n    }<\/code><\/pre>\n<\/div>\n<p>\u4e0a\u306e\u95a2\u6570\u306f\u3001\u9078\u629e\u3057\u305f\u30b3\u30f3\u30c6\u30ca\u5185\u306e\u3059\u3079\u3066\u306e\u884c\u3092\u53d6\u5f97\u3057\u30012\u756a\u76ee\u306e\u95a2\u6570\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u751f\u6210\u3057\u305f\u884c\u30ad\u30fc\u3067\u7279\u5b9a\u306e\u884c\u3092\u691c\u7d22\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u53d6\u5f97<\/h3>\n<p>\u30c7\u30fc\u30bf\u884c\u304c\u5229\u7528\u53ef\u80fd\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001GET\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u8aad\u307f\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001\u3059\u3079\u3066\u306e\u884c\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">@GetMapping(\"\/devices\")\n    public List&lt;Device&gt; getDevice() {\n        return gridDb.getDevices();\n    }<\/code><\/pre>\n<\/div>\n<p>\u305d\u3057\u3066\u3001\u7279\u5b9a\u306e\u884c\u3092\u53d6\u5f97\u3059\u308b\u3082\u306e\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">@GetMapping(\"\/device\/{id}\")\n    public ResponseEntity&lt;?&gt; getDevice(@PathVariable String id) {\n        Device dev = gridDb.getDevice(id);\n        if (dev == null)\n            return new ResponseEntity&lt;string>(\"Device not foundn\", HttpStatus.NOT_FOUND);\n        else\n            return new ResponseEntity&lt;Device&gt;(dev, HttpStatus.OK);\n    }&lt;\/string><\/code><\/pre>\n<\/div>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">$ curl --location 'localhost:8081\/devices'<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u7d50\u679c\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u3057\u305f\u30c7\u30fc\u30bf\u3068\u3068\u3082\u306b200 http\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u8fd4\u3063\u3066\u304f\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<pre><code>[{\"id\":\"1\",\"lat\":0,\"lon\":0}]\n<\/code><\/pre>\n<p>\u30c7\u30fc\u30bf\u884c\u306f1\u884c\u3060\u3051\u3067\u3059\u304c\u30012\u3064\u76ee\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">$ curl --location 'localhost:8081\/device\/1'<\/code><\/pre>\n<\/div>\n<pre><code>{\"id\":\"1\",\"lat\":0,\"lon\":0}\n<\/code><\/pre>\n<p>\u307e\u305f\u30012\u3064\u76ee\u306e\u30af\u30a8\u30ea\u306f\u6a2a\u306e\u89d2\u62ec\u5f27&#8221;[]&#8221;\u3067\u56f2\u307e\u308c\u3066\u3044\u306a\u3044\u3053\u3068\u306b\u304a\u6c17\u3065\u304d\u3067\u3057\u3087\u3046\u304b\u3002\u3053\u308c\u306f\u3001\u4e0a\u8a18\u306e\u95a2\u6570\u304c\u5229\u7528\u53ef\u80fd\u306a\u3059\u3079\u3066\u306e\u884c\u3092\u8fd4\u3059\u306e\u306b\u5bfe\u3057\u30012\u756a\u76ee\u306e\u30af\u30a8\u30ea\u306f\u5358\u4e00\u306e\u884c\u3092\u8fd4\u3059\u304b\u3089\u3067\u3059\u3002<\/p>\n<h3>PUT\u30e1\u30bd\u30c3\u30c9<\/h3>\n<p>\u3055\u3066\u3001\u3053\u3053\u3067\u884c\u306e\u7def\u5ea6\u3068\u7d4c\u5ea6\u3092\u66f4\u65b0\u3057\u305f\u3044\u3068\u3057\u307e\u3057\u3087\u3046\u3002POST\u30ea\u30af\u30a8\u30b9\u30c8\u306f\u30a8\u30e9\u30fc<code>400 -- Device already exists<\/code>\u3092\u5410\u304d\u51fa\u3057\u3066\u3057\u307e\u3046\u306e\u3067\u4f7f\u3048\u307e\u305b\u3093\u3002\u884c\u306e\u30c7\u30fc\u30bf\u3092\u66f4\u65b0\u3057\u305f\u3044\u5834\u5408\u306f\u3001PUT\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u4f7f\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u4fbf\u5229\u306a\u306e\u306f\u3001POST\u30e1\u30bd\u30c3\u30c9\u3068\u307e\u3063\u305f\u304f\u540c\u3058\u95a2\u6570\u3092PUT\u306b\u3082\u4f7f\u3048\u308b\u3053\u3068\u3067\u3059\u3002\u4e3b\u306a\u6ce8\u610f\u70b9\u306f\u3001\u4f7f\u7528\u3059\u308bHTTP\u30e1\u30bd\u30c3\u30c9\u3092\u5909\u66f4\u3059\u308b\u3088\u3046\u306b\u30c7\u30d0\u30a4\u30b9\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u306b\u6307\u793a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<h3>PUT\u30ea\u30af\u30a8\u30b9\u30c8<\/h3>\n<p>\u3053\u308c\u304c\u3001PUT \u30ea\u30af\u30a8\u30b9\u30c8\u3092\u51e6\u7406\u3059\u308b\u5b9f\u969b\u306e Device Controller API \u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">@PutMapping(\"\/device\")\n    public ResponseEntity&lt;?&gt; putDevice(@RequestBody Device dev) {\n        Device dbdev = gridDb.getDevice(dev.getId());\n\n        if (dbdev == null)\n            return new ResponseEntity&lt;string>(\"Device not foundn\", HttpStatus.NOT_FOUND);\n\n        if(dev.getLat() != null)\n            dbdev.setLat(dev.getLat());\n        if(dev.getLon() != null)\n            dbdev.setLon(dev.getLon());\n        \n        gridDb.putDevice(dev);\n        return new ResponseEntity&lt;Device&gt;(dbdev, HttpStatus.OK);\n    }&lt;\/string><\/code><\/pre>\n<\/div>\n<p>\u305d\u3057\u3066\u3001\u305d\u308c\u3092\u547c\u3073\u51fa\u3057\u3001\u3044\u304f\u3064\u304b\u306e\u5024\u3092\u8a2d\u5b9a\u3057\u3066\u307f\u3088\u3046\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">curl --location --request PUT 'localhost:8081\/device' \n--header 'Content-Type: application\/json' \n--data '{\n    \"id\": \"1\",\n    \"lat\": 33.8121,\n    \"lon\": 117.9190\n}'<\/code><\/pre>\n<\/div>\n<p>\u30b5\u30fc\u30d0\u30fc\u304c200\u30b3\u30fc\u30c9\u3067\u5fdc\u7b54\u3057\u305f\u5834\u5408\u3001\u884c\u306f\u65b0\u3057\u3044\u5024\u3067\u66f4\u65b0\u3055\u308c\u305f\u3068\u898b\u306a\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002GET`\u3092\u5b9f\u884c\u3057\u3066\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">$ curl --location 'localhost:8081\/device\/1'<\/code><\/pre>\n<\/div>\n<pre><code>{\"id\":\"1\",\"lat\":33.8121,\"lon\":117.919}\n<\/code><\/pre>\n<p>\u5217\u304c\u66f4\u65b0\u3055\u308c\u307e\u3057\u305f\uff01<\/p>\n<h3>DELETE\u30e1\u30bd\u30c3\u30c9<\/h3>\n<p>\u524d\u306e\u95a2\u6570\u3068\u540c\u69d8\u306b\u3001DELETE\u30e1\u30bd\u30c3\u30c9\u304c\u3042\u308a\u3001\u3053\u308c\u306f\u30e6\u30fc\u30b6\u30fc\u304c\u4f5c\u6210\u3057\u305f\u884c\u30ad\u30fc\u306b\u57fa\u3065\u3044\u3066\u884c\u3092\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">    public void deleteDevice(String id) {\n\n        try {   \n            System.out.println(\"deleting dev=\"+id);\n            devCol.setAutoCommit(false);\n            devCol.remove(id);\n            devCol.commit();\n        } catch (Exception e) {\n            e.printStackTrace();\n        }\n    }<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u95a2\u6570\u306b\u9069\u5207\u306a ID \u3092\u4e0e\u3048\u308b\u3053\u3068\u3067\u3001GridDB \u306f <code>sbDEVICES<\/code> \u30b3\u30f3\u30c6\u30ca\u5185\u306e\u30c7\u30fc\u30bf\u884c\u3092\u76f4\u63a5\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n<h3>DELETE\u30ea\u30af\u30a8\u30b9\u30c8<\/h3>\n<p>\u6700\u5f8c\u306b\u3001\u884c\u3092\u524a\u9664\u3057\u3066\u7d42\u308f\u308a\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u5fc5\u8981\u306a\u60c5\u5831\u306f\u540c\u3058\u3067\u3001\u884c\u306e\u30ad\u30fc\uff08ID\uff09\u304c\u5fc5\u8981\u306a\u3060\u3051\u3060\u304b\u3089\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-java\">@DeleteMapping(\"\/device\/{id}\")\n    public ResponseEntity&lt;?&gt; deleteDevice(@PathVariable String id) {\n        if (gridDb.getDevice(id) != null) {\n            gridDb.deleteDevice(id);\n            return new ResponseEntity&lt;string>(\"device deletedn\", HttpStatus.ACCEPTED);\n        } else {\n            return new ResponseEntity&lt;\/string>&lt;string>(\"Device does not yet exist. Nothing deleted.n\", HttpStatus.BAD_REQUEST);\n        }\n    }&lt;\/string><\/code><\/pre>\n<\/div>\n<p>\u9069\u5207\u306aID\u3067\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30b3\u30f3\u30c6\u30ca\u304b\u3089\u884c\u304c\u524a\u9664\u3055\u308c\u3001\u7a7a\u306e\u30b3\u30f3\u30c6\u30ca\u304c\u6b8b\u308a\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">curl --location --request DELETE 'localhost:8081\/device\/1' \n--data ''<\/code><\/pre>\n<\/div>\n<p>\u305d\u3057\u3066\u3082\u30461\u3064\u3001GET\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">$ curl --location 'localhost:8081\/devices'<\/code><\/pre>\n<\/div>\n<pre><code>[]\n<\/code><\/pre>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u4ee5\u4e0a\u3001GridDB\u30b5\u30fc\u30d0\u3068\u5b89\u5168\u306b\u3084\u308a\u3068\u308a\u3059\u308b\u305f\u3081\u306eSpring Boot CRUD API\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u30e1\u30ea\u30c3\u30c8\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GridDB\u306f\u69d8\u3005\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001Java\u306f\u552f\u4e00\u306e\u30cd\u30a4\u30c6\u30a3\u30d6\u30fb\u30b3\u30cd\u30af\u30bf\u3067\u3042\u308b\u305f\u3081\u3001GridDB\u3068\u3059\u3050\u306b\u9023\u643a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30cd\u30a4\u30c6\u30a3\u30d6\u30fb\u30b3\u30cd\u30af\u30bf\u306a\u306e\u3067\u3001Java\u306eSpring Boot\u3092 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":49520,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1005],"tags":[],"class_list":["post-50869","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1005"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>GridDB\u3068Spring Boot\u3092\u4f7f\u3063\u3066Java Web API\u3092\u4f5c\u6210\u3059\u308b | GridDB: Open Source Time Series Database for IoT<\/title>\n<meta name=\"description\" content=\"GridDB\u306f\u69d8\u3005\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001Java\u306f\u552f\u4e00\u306e\u30cd\u30a4\u30c6\u30a3\u30d6\u30fb\u30b3\u30cd\u30af\u30bf\u3067\u3042\u308b\u305f\u3081\u3001GridDB\u3068\u3059\u3050\u306b\u9023\u643a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30cd\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/create-a-java-web-api-using-griddb-and-spring-boot\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GridDB\u3068Spring Boot\u3092\u4f7f\u3063\u3066Java Web API\u3092\u4f5c\u6210\u3059\u308b | GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"og:description\" content=\"GridDB\u306f\u69d8\u3005\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001Java\u306f\u552f\u4e00\u306e\u30cd\u30a4\u30c6\u30a3\u30d6\u30fb\u30b3\u30cd\u30af\u30bf\u3067\u3042\u308b\u305f\u3081\u3001GridDB\u3068\u3059\u3050\u306b\u9023\u643a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30cd\" \/>\n<meta property=\"og:url\" content=\"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/create-a-java-web-api-using-griddb-and-spring-boot\/\" \/>\n<meta property=\"og:site_name\" content=\"GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/griddbcommunity\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-19T07:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-14T15:56:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/wp-content\/uploads\/2023\/04\/springboot.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1160\" \/>\n\t<meta property=\"og:image:height\" content=\"653\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Israel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:site\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Israel\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/\"},\"author\":{\"name\":\"Israel\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/c8a430e7156a9e10af73b1fbb46c2740\"},\"headline\":\"GridDB\u3068Spring Boot\u3092\u4f7f\u3063\u3066Java Web API\u3092\u4f5c\u6210\u3059\u308b\",\"datePublished\":\"2023-04-19T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:56:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/\"},\"wordCount\":127,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2023\/04\/springboot.png\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/\",\"url\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/\",\"name\":\"GridDB\u3068Spring Boot\u3092\u4f7f\u3063\u3066Java Web API\u3092\u4f5c\u6210\u3059\u308b | GridDB: Open Source Time Series Database for IoT\",\"isPartOf\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2023\/04\/springboot.png\",\"datePublished\":\"2023-04-19T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:56:21+00:00\",\"description\":\"GridDB\u306f\u69d8\u3005\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001Java\u306f\u552f\u4e00\u306e\u30cd\u30a4\u30c6\u30a3\u30d6\u30fb\u30b3\u30cd\u30af\u30bf\u3067\u3042\u308b\u305f\u3081\u3001GridDB\u3068\u3059\u3050\u306b\u9023\u643a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30cd\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/#primaryimage\",\"url\":\"\/wp-content\/uploads\/2023\/04\/springboot.png\",\"contentUrl\":\"\/wp-content\/uploads\/2023\/04\/springboot.png\",\"width\":1160,\"height\":653},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website\",\"url\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/\",\"name\":\"GridDB: Open Source Time Series Database for IoT\",\"description\":\"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL\",\"publisher\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization\",\"name\":\"Fixstars\",\"url\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"contentUrl\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"width\":200,\"height\":83,\"caption\":\"Fixstars\"},\"image\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/griddbcommunity\/\",\"https:\/\/x.com\/GridDBCommunity\",\"https:\/\/www.linkedin.com\/company\/griddb-by-toshiba\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/c8a430e7156a9e10af73b1fbb46c2740\",\"name\":\"Israel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4df8cfc155402a2928d11f80b0220037b8bd26c4f1b19c4598d826e0306e6307?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4df8cfc155402a2928d11f80b0220037b8bd26c4f1b19c4598d826e0306e6307?s=96&d=mm&r=g\",\"caption\":\"Israel\"},\"url\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/author\/israel\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"GridDB\u3068Spring Boot\u3092\u4f7f\u3063\u3066Java Web API\u3092\u4f5c\u6210\u3059\u308b | GridDB: Open Source Time Series Database for IoT","description":"GridDB\u306f\u69d8\u3005\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001Java\u306f\u552f\u4e00\u306e\u30cd\u30a4\u30c6\u30a3\u30d6\u30fb\u30b3\u30cd\u30af\u30bf\u3067\u3042\u308b\u305f\u3081\u3001GridDB\u3068\u3059\u3050\u306b\u9023\u643a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30cd","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/create-a-java-web-api-using-griddb-and-spring-boot\/","og_locale":"ja_JP","og_type":"article","og_title":"GridDB\u3068Spring Boot\u3092\u4f7f\u3063\u3066Java Web API\u3092\u4f5c\u6210\u3059\u308b | GridDB: Open Source Time Series Database for IoT","og_description":"GridDB\u306f\u69d8\u3005\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001Java\u306f\u552f\u4e00\u306e\u30cd\u30a4\u30c6\u30a3\u30d6\u30fb\u30b3\u30cd\u30af\u30bf\u3067\u3042\u308b\u305f\u3081\u3001GridDB\u3068\u3059\u3050\u306b\u9023\u643a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30cd","og_url":"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/create-a-java-web-api-using-griddb-and-spring-boot\/","og_site_name":"GridDB: Open Source Time Series Database for IoT","article_publisher":"https:\/\/www.facebook.com\/griddbcommunity\/","article_published_time":"2023-04-19T07:00:00+00:00","article_modified_time":"2025-11-14T15:56:21+00:00","og_image":[{"width":1160,"height":653,"url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/wp-content\/uploads\/2023\/04\/springboot.png","type":"image\/png"}],"author":"Israel","twitter_card":"summary_large_image","twitter_creator":"@GridDBCommunity","twitter_site":"@GridDBCommunity","twitter_misc":{"\u57f7\u7b46\u8005":"Israel","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/#article","isPartOf":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/"},"author":{"name":"Israel","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/c8a430e7156a9e10af73b1fbb46c2740"},"headline":"GridDB\u3068Spring Boot\u3092\u4f7f\u3063\u3066Java Web API\u3092\u4f5c\u6210\u3059\u308b","datePublished":"2023-04-19T07:00:00+00:00","dateModified":"2025-11-14T15:56:21+00:00","mainEntityOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/"},"wordCount":127,"commentCount":0,"publisher":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2023\/04\/springboot.png","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/","url":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/","name":"GridDB\u3068Spring Boot\u3092\u4f7f\u3063\u3066Java Web API\u3092\u4f5c\u6210\u3059\u308b | GridDB: Open Source Time Series Database for IoT","isPartOf":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/#primaryimage"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2023\/04\/springboot.png","datePublished":"2023-04-19T07:00:00+00:00","dateModified":"2025-11-14T15:56:21+00:00","description":"GridDB\u306f\u69d8\u3005\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001Java\u306f\u552f\u4e00\u306e\u30cd\u30a4\u30c6\u30a3\u30d6\u30fb\u30b3\u30cd\u30af\u30bf\u3067\u3042\u308b\u305f\u3081\u3001GridDB\u3068\u3059\u3050\u306b\u9023\u643a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30cd","inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/create-a-java-web-api-using-griddb-and-spring-boot\/#primaryimage","url":"\/wp-content\/uploads\/2023\/04\/springboot.png","contentUrl":"\/wp-content\/uploads\/2023\/04\/springboot.png","width":1160,"height":653},{"@type":"WebSite","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#website","url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/","name":"GridDB: Open Source Time Series Database for IoT","description":"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL","publisher":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization","name":"Fixstars","url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/","url":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","contentUrl":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","width":200,"height":83,"caption":"Fixstars"},"image":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/griddbcommunity\/","https:\/\/x.com\/GridDBCommunity","https:\/\/www.linkedin.com\/company\/griddb-by-toshiba"]},{"@type":"Person","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/c8a430e7156a9e10af73b1fbb46c2740","name":"Israel","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4df8cfc155402a2928d11f80b0220037b8bd26c4f1b19c4598d826e0306e6307?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4df8cfc155402a2928d11f80b0220037b8bd26c4f1b19c4598d826e0306e6307?s=96&d=mm&r=g","caption":"Israel"},"url":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/author\/israel\/"}]}},"_links":{"self":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts\/50869","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/comments?post=50869"}],"version-history":[{"count":1,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts\/50869\/revisions"}],"predecessor-version":[{"id":51695,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/posts\/50869\/revisions\/51695"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/media\/49520"}],"wp:attachment":[{"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/media?parent=50869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/categories?post=50869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/ja\/wp-json\/wp\/v2\/tags?post=50869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}