Logo
OCI NoSQL Playground API Documentation

1.1. Create a new table.

POST {{baseUrl}}/tables

Create a new table.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
opc-retry-token
string A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
opc-request-id
Curl
curl -X POST 'https://nosql.region.oci.oraclecloud.com/20190828/tables' -H 'opc-retry-token: minim dolore' -H 'opc-request-id: $randomUUID' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"name":"postman_colls","compartmentId":"compartment_ocid","ddlStatement":"CREATE TABLE postman_colls ( id INTEGER, body JSON, PRIMARY KEY ( id )) USING TTL 1 DAYS","tableLimits":{"maxReadUnits":25,"maxWriteUnits":25,"maxStorageInGBs":5},"freeformTags":{"created_using":"postman","postman":"End-to-End Example"}}'

ENDPOINTS