Logo
OCI NoSQL Playground API Documentation

Check the syntax and return a brief summary of a SQL statement.

GET {{baseUrl}}/query/summarize?compartmentId={{compartment_ocid}}&statement=SELECT * FROM DUAL

Check the syntax and return a brief summary of a SQL statement.

 

Body PARAM

Key Datatype Required Description 
compartmentId
string (Required) The ID of a table's compartment.
statement
string (Required) A NoSQL SQL statement.



HEADERS

Key Datatype Required Description 
opc-request-id
string The client request ID for tracing.
Accept
string




RESPONSES

status OK

{ "indexName": "est aute", "isIfExists": true, "isIfNotExists": false, "operation": "CREATE_TABLE", "syntaxError": "laboris dolor minim", "tableName": "adipisicing ad" }



Curl
curl -X GET 'https://nosql.region.oci.oraclecloud.com/20190828/query/summarize?compartmentId=compartment_ocid&statement=SELECT * FROM DUAL?compartmentId=compartment_ocid&statement=SELECT * FROM DUAL' -H 'opc-request-id: $randomUUID' -H 'Accept: application/json'

ENDPOINTS