create schema

Number of APIs: 8

  1. Create a keyspace with replica set to 1 (Stargate OSS only) POST {{base_rest_url}}{{rest_schema}}

  2. Create a user-defined type (UDT) called address POST {{base_rest_url}}{{rest_schema}}/{{rkeyspace}}/types

  3. Create a table users POST {{base_rest_url}}{{rest_schema}}/{{rkeyspace}}/tables

  4. Create a column address (UDT) POST {{base_rest_url}}{{rest_schema}}/{{rkeyspace}}/tables/{{rtable}}/columns

  5. Change the column firstname to first PUT {{base_rest_url}}{{rest_schema}}/{{rkeyspace}}/tables/{{rtable}}/columns/:colname

  6. Change the column first back to firstname PUT {{base_rest_url}}{{rest_schema}}/{{rkeyspace}}/tables/{{rtable}}/columns/:newcolname

  7. Create table index country_idx (TUPLE) POST {{base_rest_url}}{{rest_schema}}/{{rkeyspace}}/tables/{{rtable}}/indexes

  8. Change the table definition back again PUT {{base_rest_url}}{{rest_schema}}/{{rkeyspace}}/tables/{{rtable}}