Logo
OCI NoSQL Playground API Documentation

Get a single row from the table by primary key.

GET {{baseUrl}}/tables/:tableNameOrId/rows?compartmentId={{compartment_ocid}}&key=veniam velit elit pariatur&key=sint in&consistency=EVENTUAL&timeoutInMs=5000

Get a single row from the table by primary key.

 

Body PARAM

Key Datatype Required Description 
compartmentId
string The ID of a table's compartment. When a table is identified by name, the compartmentId is often needed to provide context for interpreting the name.
key
string (Required) An array of strings, each of the format "column-name:value", representing the primary key of the row.
key
string (Required) An array of strings, each of the format "column-name:value", representing the primary key of the row.
consistency
string Consistency requirement for a read operation.
timeoutInMs
number Timeout setting for this operation.



HEADERS

Key Datatype Required Description 
opc-request-id
string The client request ID for tracing.
Accept
Curl
curl -X GET 'https://nosql.region.oci.oraclecloud.com/20190828/tables/:tableNameOrId/rows?compartmentId=compartment_ocid&key=veniam velit elit pariatur&key=sint in&consistency=EVENTUAL&timeoutInMs=5000?compartmentId=compartment_ocid&key=veniam velit elit pariatur&key=sint in&consistency=EVENTUAL&timeoutInMs=5000' -H 'opc-request-id: $randomUUID' -H 'Accept: application/json'

ENDPOINTS