@@ -7,8 +7,8 @@ GridDB WebAPI is developed using GridDB Java Client and [Spring Boot](https://sp
77## Operating environment
88
99Building of the library and execution of the sample programs have been checked in the following environment.
10- - OS: CentOS 7.9 (x64)
11- - [ GridDB Server] ( https://github.com/griddb/griddb ) : 5.6
10+ - OS: Ubuntu 22.04 (x64)
11+ - [ GridDB Server] ( https://github.com/griddb/griddb ) : 5.7
1212
1313## QuickStart
1414
@@ -85,19 +85,23 @@ GridDB Server need to be started in advance.
8585 #Request http://[host]:[port]/griddb/v2/[clusterName]/dbs/public/sql/select
8686 $ curl -X POST -u admin:admin -H "Content-type:application/json; charset=UTF-8"
8787 -d '[{"stmt":"select * from test"}]'
88- http://127.0.0.1:8081/griddb/v2/mycluster/dbs/public/sql/select
88+ http://127.0.0.1:8081/griddb/v2/mycluster/dbs/public/sql/dml/query
8989 --> [{"columns":[{"name":"col1","type":"STRING"},{"name":"col2","type":"INTEGER"},
9090 {"name":"col3","type":"BOOL"}],"results":[["value",1,true]]}]
9191
92+ Note: "/:cluster/dbs/:database/sql/select" style is not recommended.
93+
92946 . Update with SQL
9395
9496 #Request http://[host]:[port]/griddb/v2/[clusterName]/dbs/public/sql/update
9597 $ curl -X POST -u admin:admin -H "Content-type:application/json; charset=UTF-8"
9698 -d '[{"stmt":"update test set col3 = false where col2 = 1"}]'
97- http://127.0.0.1:8081/griddb/v2/mycluster/dbs/public/sql/update
99+ http://127.0.0.1:8081/griddb/v2/mycluster/dbs/public/sql/dml/ update
98100 --> [{"status":1, "updatedRows":1,
99101 "stmt":"update test set col3 = false where col2 = 1", "message":null}]
100102
103+ Note: "/:cluster/dbs/:database/sql/update" style is not recommended.
104+
101105Please refer to the file below for more detailed information.
102106 - [ WebAPI Reference (en)] ( GridDB_Web_API_Reference.md )
103107 - [ WebAPI Reference (ja)] ( GridDB_Web_API_Reference_ja.md )
0 commit comments