{"id":52018,"date":"1970-01-01T00:00:00","date_gmt":"1970-01-01T08:00:00","guid":{"rendered":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/blog\/getting-started-with-the-griddb-webapi\/"},"modified":"1970-01-01T00:00:00","modified_gmt":"1970-01-01T08:00:00","slug":"getting-started-with-the-griddb-webapi","status":"publish","type":"post","link":"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/","title":{"rendered":"Getting Started With The GridDB WebAPI"},"content":{"rendered":"<p>The GridDB WebAPI is a Java service that allows developers to query and write to GridDB with a simple HTTP REST API. It is the lightest weight, easiest method to write to or access data from GridDB across the internet without using a VPN.  <\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/griddb.net\/wp-content\/uploads\/2020\/11\/Screen-Shot-2020-11-09-at-3.02.19-PM.png\" alt=\"\" width=\"922\" height=\"198\" class=\"alignnone size-full wp-image-27020\" srcset=\"\/wp-content\/uploads\/2020\/11\/Screen-Shot-2020-11-09-at-3.02.19-PM.png 922w, \/wp-content\/uploads\/2020\/11\/Screen-Shot-2020-11-09-at-3.02.19-PM-300x64.png 300w, \/wp-content\/uploads\/2020\/11\/Screen-Shot-2020-11-09-at-3.02.19-PM-768x165.png 768w, \/wp-content\/uploads\/2020\/11\/Screen-Shot-2020-11-09-at-3.02.19-PM-600x129.png 600w\" sizes=\"(max-width: 922px) 100vw, 922px\" \/><\/p>\n<p>In this blog post, we&#8217;re going to use the CASAS dataset as we&#8217;ve used in previous tutorials <a href=\"\">here<\/a>, <a href=\"\">here<\/a> and <a href=\"\">here<\/a>. We&#8217;ll demonstrate all samples with CURL as its input arguments are widely known and it is available on nearly every imaginable platform. <\/p>\n<h2>Installation<\/h2>\n<p>We&#8217;ll assume you followed the <a href=\"\">quick start<\/a> and already have GridDB 4.5 running. <\/p>\n<p>After downloading the tarball from <a href=\"https:\/\/github.com\/griddb\/webapi\/releases\/download\/2.2.0\/griddb_webapi-2.2.0-bin.tar.gz\">Github<\/a> you untar it in $GS_HOME (usually \/var\/lib\/gridstore) before setting a few configuration parameters.<\/p>\n<pre><code class=\"language-bash\">$ sudo su - gsadm\n$ cd $GS_HOME\n$ curl -o https:\/\/github.com\/griddb\/webapi\/releases\/download\/2.2.0\/griddb_webapi-2.2.0-bin.tar.gz\n$ tar zxvf griddb_webapi-2.2.0-bin.tar.gz\n<\/code><\/pre>\n<p>Now to start the WebAPI:<\/p>\n<pre><code class=\"language-bash\">$ cd webapi\n$ nohup java -jar lib\/griddb-webapi-ce-2.2.0.jar &\n<\/code><\/pre>\n<p>Using nohup allows the terminal to exit and not kill the server. <\/p>\n<h2>Inserting Data<\/h2>\n<p>Before you insert data, you need to create a container:<\/p>\n<pre><code class=\"language-bash\">curl -X POST --basic -u admin:admin -H \"Content-type:application\/json\" -d  \n    '{\"container_name\":\"casastest\", \"container_type\":\"TIME_SERIES\", \"rowkey\":true, \n        \"columns\": [{\"name\": \"dt\", \"type\": \"TIMESTAMP\"}, \n        {\"name\": \"sensor\", \"type\": \"STRING\"} ,\n        {\"name\": \"translate01\", \"type\": \"STRING\"} ,\n        {\"name\": \"translate02\", \"type\": \"STRING\"} ,\n        {\"name\": \"message\", \"type\": \"STRING\"} ,\n        {\"name\": \"sensoractivity\", \"type\": \"STRING\"} ]}' \n    http:\/\/127.0.0.1:8080\/griddb\/v2\/defaultCluster\/dbs\/public\/containers<\/code><\/pre>\n<p>As the CASAS data is stored in TSV files we&#8217;ll use <code>GAWK<\/code> to convert into JSON line by line:<\/p>\n<pre><code class=\"language-bash\">$ cat csh102.rawdata.txt | gawk  '{ printf \"[[\"%sT%sZ\",   \"%s\", \"%s\",  \"%s\",  \"%s\",  \"%s\" ]]n\", $1, $2, $3, $4, $5, $6, $7 }'  |  while read -r line ; do\n    curl -X PUT --basic -u admin:admin -H \"Content-type:application\/json\" -d  \"$line\" \n        http:\/\/127.0.0.1:8080\/griddb\/v2\/defaultCluster\/dbs\/public\/containers\/casastest\/rows\ndone\n{\"count\":1}{\"count\":1}{\"count\":1}{\"count\":1}{\"count\":1}{\"count\":1}{\"count\":1}{\"count\":1}{\"count\":1}{\"count\":1}<\/code><\/pre>\n<p>It also very easy todo bulk loads with the WebAPI with slightly more complicated AWK to insert commas between records:<\/p>\n<pre><code class=\"language-bash\">$ cat rawdata.txt | gawk  'BEGIN { printf \"[\" }  { printf \"%s[\"%sT%sZ\",   \"%s\", \"%s\",  \"%s\",  \"%s\",  \"%s\" ]n\", comma, $1, $2, $3, $4, $5, $6, $7 }  { comma = \",\" } END { printf \"]\" } ' | curl -X PUT --basic -u admin:admin -H \"Content-type:application\/json\" --data-binary @- \n        http:\/\/127.0.0.1:8080\/griddb\/v2\/defaultCluster\/dbs\/public\/containers\/casastest\/rows \n{\"count\":10}<\/code><\/pre>\n<h2>Retrieving Data<\/h2>\n<h3>SQL<\/h3>\n<p>One of the features added in version 2.2 of the WebAPI was SQL support. Taking one of the more complex queries from the CASAS tutorial series shows how the WebAPI can deliver powerful analysis within a simple framework:<\/p>\n<pre><code class=\"language-bash\">\nSTATEMENT=\"\"\n\n$ curl -X POST --basic -u admin:admin -H \"Content-type:application\/json\" -d  \n        \" [{ \"type\": \"sql-select\", \"stmt\": \"select TO_EPOCH_MS(dt)\/1000 as start, TO_EPOCH_MS((select min(dt) from csh102_M001 where dt > a.dt   and message = 'OFF'  ))\/1000, TIMESTAMPDIFF(SECOND, (select min(dt) from csh102_M001 where dt > a.dt  and message = 'OFF' ), a.dt ) from csh102_M001 as a where a.message = 'ON' order by a.dt asc\" } ] \" \n http:\/\/127.0.0.1:8080\/griddb\/v2\/defaultCluster\/dbs\/public\/sql\n[{\"columns\":[{\"name\":\"start\",\"type\":\"LONG\"},{\"name\":\"aggregationResult\",\"type\":\"LONG\"},{\"name\":\"aggregationResult\",\"type\":\"LONG\"}],\"results\":[[1309416476,1309416501,24],[1309416486,1309416501,14],[1309416523,1309416563,39],[1309416914,1309416979,65],[1309417234,1309417337,102],[1309417234,1309417337,102],[1309417277,1309417337,59],[1309423242,1309423637,394],[1309441618,1309441659,40],[1309441648,1309441659,10],[1309441978,null,null]]}][owen@hpelnxdev webapi_blog]$ <\/code><\/pre>\n<h2>Running over SSL<\/h2>\n<p>The Community Edition version of the GridDB WebAPI doesn&#8217;t support SSL connections, but a reverse proxy with NGINX quickly solves that. <\/p>\n<pre><code class=\"language-bash\">$ sudo yum -y install nginx openssl<\/code><\/pre>\n<p>If you do not already have a signed certificate\/key pair, we can generate a key and a self signed certificate,<\/p>\n<pre><code class=\"language-bash\">$ sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout tls.key -out tls.crt<\/code><\/pre>\n<p>Then create the NGINX configuration, sslproxy.conf:<\/p>\n<pre><code class=\"language-bash\">user nginx;\nworker_processes auto;\npid \/run\/nginx.pid;\n\nevents {\n    worker_connections 1024;\n}\n\nhttp {\n    server {\n        listen              10443 ssl;\n        ssl_certificate     tls.crt;\n        ssl_certificate_key tls.key;\n        location \/ {\n            proxy_pass http:\/\/127.0.0.1:8080\/;\n         }\n    }\n}<\/code><\/pre>\n<p>And finally start NGINX:<\/p>\n<pre><code class=\"language-bash\">$ sudo nginx -c \/path\/to\/sslproxy.conf<\/code><\/pre>\n<p>Now you can fetch test the SSL proxy by fetching records with curl over SSL. The -k flag is required if the certificate is self signed.<\/p>\n<pre><code class=\"language-bash\">$ curl -X POST --basic -u admin:admin -H \"Content-type:application\/json\" -d  \n        ' [{ \"name\": \"casastest\", \"stmt\": \"select * limit 100\", \"columns\": null} ] ' \n -k https:\/\/127.0.0.1:10443\/griddb\/v2\/defaultCluster\/dbs\/public\/tql\n[{\"columns\":[{\"name\":\"dt\",\"type\":\"TIMESTAMP\"},{\"name\":\"sensor\",\"type\":\"STRING\"},{\"name\":\"translate01\",\"type\":\"STRING\"},{\"name\":\"translate02\",\"type\":\"STRING\"},{\"name\":\"message\",\"type\":\"STRING\"},{\"name\":\"sensoractivity\",\"type\":\"STRING\"}],\"results\":[[\"2012-07-18T12:56:51.257Z\",\"D001\",\"Ignore\",\"Ignore\",\"CLOSE\",\"Control4-Door\"],[\"2012-07-18T12:58:01.564Z\",\"D002\",\"OutsideDoor\",\"FrontDoor\",\"OPEN\",\"Control4-Door\"],[\"2012-07-18T12:58:52.825Z\",\"T102\",\"Ignore\",\"FrontDoorTemp\",\"78\",\"Control4-Temperature\"],[\"2012-07-18T12:59:47.398Z\",\"BATP102\",\"Ignore\",\"Ignore\",\"85\",\"Control4-BatteryPercent\"],[\"2012-07-18T13:01:24.416Z\",\"T103\",\"Ignore\",\"BathroomTemp\",\"25\",\"Control4-Temperature\"],[\"2012-07-18T13:02:37.391Z\",\"BATP103\",\"Ignore\",\"Ignore\",\"82\",\"Control4-BatteryPercent\"],[\"2012-07-18T13:04:51.580Z\",\"T101\",\"Ignore\",\"Ignore\",\"31\",\"Control4-Temperature\"],[\"2012-07-18T13:06:07.577Z\",\"MA016\",\"Kitchen\",\"Kitchen\",\"OFF\",\"Control4-MotionArea\"],[\"2012-07-18T13:06:48.461Z\",\"D003\",\"Bathroom\",\"BathroomDoor\",\"OPEN\",\"Control4-Door\"],[\"2012-07-18T13:07:32.498Z\",\"M009\",\"Bedroom\",\"Bedroom\",\"ON\",\"Control4-Motion\"]],\"offset\":0,\"limit\":100,\"total\":10}]<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The GridDB WebAPI is a Java service that allows developers to query and write to GridDB with a simple HTTP REST API. It is the lightest weight, easiest method to write to or access data from GridDB across the internet without using a VPN. In this blog post, we&#8217;re going to use the CASAS dataset [&hellip;]<\/p>\n","protected":false},"author":71,"featured_media":52019,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[121],"tags":[],"class_list":["post-52018","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Getting Started With The GridDB WebAPI | GridDB: Open Source Time Series Database for IoT<\/title>\n<meta name=\"description\" content=\"The GridDB WebAPI is a Java service that allows developers to query and write to GridDB with a simple HTTP REST API. It is the lightest weight, easiest\" \/>\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\/en\/blog\/getting-started-with-the-griddb-webapi\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Getting Started With The GridDB WebAPI | GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"og:description\" content=\"The GridDB WebAPI is a Java service that allows developers to query and write to GridDB with a simple HTTP REST API. It is the lightest weight, easiest\" \/>\n<meta property=\"og:url\" content=\"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/\" \/>\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=\"1970-01-01T08:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/griddb.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2020-11-09-at-3.02.19-PM.png\" \/>\n\t<meta property=\"og:image:width\" content=\"922\" \/>\n\t<meta property=\"og:image:height\" content=\"198\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Owen\" \/>\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=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Owen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/\"},\"author\":{\"name\":\"Owen\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/0f2f6d4b593adde8c43cf3ea5c794c66\"},\"headline\":\"Getting Started With The GridDB WebAPI\",\"datePublished\":\"1970-01-01T08:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/\"},\"wordCount\":323,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2025\/12\/Screen-Shot-2020-11-09-at-3.02.19-PM.png\",\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/\",\"url\":\"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/\",\"name\":\"Getting Started With The GridDB WebAPI | 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\/en\/blog\/getting-started-with-the-griddb-webapi\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2025\/12\/Screen-Shot-2020-11-09-at-3.02.19-PM.png\",\"datePublished\":\"1970-01-01T08:00:00+00:00\",\"description\":\"The GridDB WebAPI is a Java service that allows developers to query and write to GridDB with a simple HTTP REST API. It is the lightest weight, easiest\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/#primaryimage\",\"url\":\"\/wp-content\/uploads\/2025\/12\/Screen-Shot-2020-11-09-at-3.02.19-PM.png\",\"contentUrl\":\"\/wp-content\/uploads\/2025\/12\/Screen-Shot-2020-11-09-at-3.02.19-PM.png\",\"width\":922,\"height\":198},{\"@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\":\"en-US\"},{\"@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\":\"en-US\",\"@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\/0f2f6d4b593adde8c43cf3ea5c794c66\",\"name\":\"Owen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/47438a5c81215c7a9043be1b427e0bbd8dc0f77bd536f147f8495575149e4325?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/47438a5c81215c7a9043be1b427e0bbd8dc0f77bd536f147f8495575149e4325?s=96&d=mm&r=g\",\"caption\":\"Owen\"},\"url\":\"https:\/\/griddb.net\/en\/author\/owen\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Getting Started With The GridDB WebAPI | GridDB: Open Source Time Series Database for IoT","description":"The GridDB WebAPI is a Java service that allows developers to query and write to GridDB with a simple HTTP REST API. It is the lightest weight, easiest","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\/en\/blog\/getting-started-with-the-griddb-webapi\/","og_locale":"en_US","og_type":"article","og_title":"Getting Started With The GridDB WebAPI | GridDB: Open Source Time Series Database for IoT","og_description":"The GridDB WebAPI is a Java service that allows developers to query and write to GridDB with a simple HTTP REST API. It is the lightest weight, easiest","og_url":"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/","og_site_name":"GridDB: Open Source Time Series Database for IoT","article_publisher":"https:\/\/www.facebook.com\/griddbcommunity\/","article_published_time":"1970-01-01T08:00:00+00:00","og_image":[{"width":922,"height":198,"url":"https:\/\/griddb.net\/wp-content\/uploads\/2025\/12\/Screen-Shot-2020-11-09-at-3.02.19-PM.png","type":"image\/png"}],"author":"Owen","twitter_card":"summary_large_image","twitter_creator":"@GridDBCommunity","twitter_site":"@GridDBCommunity","twitter_misc":{"Written by":"Owen","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/#article","isPartOf":{"@id":"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/"},"author":{"name":"Owen","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/0f2f6d4b593adde8c43cf3ea5c794c66"},"headline":"Getting Started With The GridDB WebAPI","datePublished":"1970-01-01T08:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/"},"wordCount":323,"commentCount":0,"publisher":{"@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#organization"},"image":{"@id":"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2025\/12\/Screen-Shot-2020-11-09-at-3.02.19-PM.png","articleSection":["Blog"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/","url":"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/","name":"Getting Started With The GridDB WebAPI | 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\/en\/blog\/getting-started-with-the-griddb-webapi\/#primaryimage"},"image":{"@id":"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2025\/12\/Screen-Shot-2020-11-09-at-3.02.19-PM.png","datePublished":"1970-01-01T08:00:00+00:00","description":"The GridDB WebAPI is a Java service that allows developers to query and write to GridDB with a simple HTTP REST API. It is the lightest weight, easiest","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/griddb.net\/en\/blog\/getting-started-with-the-griddb-webapi\/#primaryimage","url":"\/wp-content\/uploads\/2025\/12\/Screen-Shot-2020-11-09-at-3.02.19-PM.png","contentUrl":"\/wp-content\/uploads\/2025\/12\/Screen-Shot-2020-11-09-at-3.02.19-PM.png","width":922,"height":198},{"@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":"en-US"},{"@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":"en-US","@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\/0f2f6d4b593adde8c43cf3ea5c794c66","name":"Owen","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/47438a5c81215c7a9043be1b427e0bbd8dc0f77bd536f147f8495575149e4325?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/47438a5c81215c7a9043be1b427e0bbd8dc0f77bd536f147f8495575149e4325?s=96&d=mm&r=g","caption":"Owen"},"url":"https:\/\/griddb.net\/en\/author\/owen\/"}]}},"_links":{"self":[{"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/posts\/52018","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/users\/71"}],"replies":[{"embeddable":true,"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/comments?post=52018"}],"version-history":[{"count":0,"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/posts\/52018\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/media\/52019"}],"wp:attachment":[{"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/media?parent=52018"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/categories?post=52018"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/griddb.net\/en\/wp-json\/wp\/v2\/tags?post=52018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}