create schema
Number of APIs: 8
-
Create a keyspace with replica set to 1 (Stargate OSS only) POST {{base_rest_url}}{{rest_schema}}
-
Create a user-defined type (UDT) called address POST {{base_rest_url}}{{rest_schema}}/{{rkeyspace}}/types
-
Create a table users POST {{base_rest_url}}{{rest_schema}}/{{rkeyspace}}/tables
-
Create a column address (UDT) POST {{base_rest_url}}{{rest_schema}}/{{rkeyspace}}/tables/{{rtable}}/columns
-
Change the column firstname to first PUT {{base_rest_url}}{{rest_schema}}/{{rkeyspace}}/tables/{{rtable}}/columns/:colname
-
Change the column first back to firstname PUT {{base_rest_url}}{{rest_schema}}/{{rkeyspace}}/tables/{{rtable}}/columns/:newcolname
-
Create table index country_idx (TUPLE) POST {{base_rest_url}}{{rest_schema}}/{{rkeyspace}}/tables/{{rtable}}/indexes
-
Change the table definition back again PUT {{base_rest_url}}{{rest_schema}}/{{rkeyspace}}/tables/{{rtable}}