Logo
OCI NoSQL Playground API Documentation

Write a single row into the table.

PUT {{baseUrl}}/tables/:tableNameOrId/rows

Write a single row into the table.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
if-match
boolean For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
opc-request-id
string The client request ID for tracing.
Content-Type
string
Accept
string




RESPONSES

status OK

{ "existingValue": { "in4": {} }, "existingVersion": "anim aliqua adipisicing", "generatedValue": "in ", "usage": { "readUnitsConsumed": 38718233, "writeUnitsConsumed": -13406289 }, "version": "id quis ut eiusmod" }

Curl
curl -X PUT 'https://nosql.region.oci.oraclecloud.com/20190828/tables/:tableNameOrId/rows' -H 'if-match: false' -H 'opc-request-id: $randomUUID' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"compartmentId":"compartment_ocid","identityCacheSize":82616397,"isExactMatch":false,"isGetReturnRow":false,"isTtlUseTableDefault":true,"option":"IF_PRESENT","timeoutInMs":5000,"ttl":96696908}'

ENDPOINTS