Logo
OCI NoSQL Playground API Documentation

Get table info by identifier.

GET {{baseUrl}}/tables/:tableNameOrId?compartmentId={{compartment_ocid}}

Get table info by identifier.

 

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.



HEADERS

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




RESPONSES

status OK

{ "id": "deserunt laborum aliqua aute", "compartmentId": "occaecat dolor", "ddlStatement": "Excepteur", "definedTags": { "anim_27": { "Lorem_903": {}, "aliqua_6": {} } }, "freeformTags": { "incididunt14": "nostrud", "Duisf54": "Excepteur cillum reprehenderit officia nulla" }, "lifecycleDetails": "ex nisi", "lifecycleState": "CREATING", "name": "labore mollit consequ", "schema": { "columns": [ { "defaultValue": "consectetu", "isNullable": true, "name": "magna et Duis", "type": "exercitation el" }, { "defaultValue": "ad", "isNullable": true, "name": "sit fugiat ut velit", "type": "in proident" } ], "primaryKey": [ "irure commodo tempor", "labore laborum" ], "shardKey": [ "in est cillum consectetur", "Ut Duis" ], "ttl": 79683297 }, "tableLimits": { "maxReadUnits": 12462960, "maxWriteUnits": -71026760, "maxStorageInGBs": 46747733 }, "timeCreated": "1969-05-10T20:10:39.279Z", "timeUpdated": "1957-07-04T06:57:32.607Z" }

Curl
curl -X GET 'https://nosql.region.oci.oraclecloud.com/20190828/tables/:tableNameOrId?compartmentId=compartment_ocid?compartmentId=compartment_ocid' -H 'opc-request-id: $randomUUID' -H 'Accept: application/json'

ENDPOINTS