cURL
curl --request GET \
--url https://localhost/api/v2/databases/%7Bdatabase%7D/tables/%7Btable%7D/{
"columns": [
{
"default_value": "<string>",
"generation_expression": "<string>",
"hidden": true,
"name": "<string>",
"nullable": true,
"type": "<string>"
}
],
"configure_zone_statement": "<string>",
"create_table_statement": "<string>",
"descriptor_id": 123,
"grants": [
{
"privileges": [
"<string>"
],
"user": "<string>"
}
],
"indexes": [
{
"column": "<string>",
"direction": "<string>",
"implicit": true,
"name": "<string>",
"seq": 123,
"storing": true,
"unique": true
}
],
"range_count": 123,
"zone_config": {
"constraints": [
{
"constraints": [
{
"key": "<string>",
"type": 123,
"value": "<string>"
}
],
"num_replicas": 123
}
],
"gc": {
"ttl_seconds": 123
},
"global_reads": true,
"inherited_constraints": true,
"inherited_lease_preferences": true,
"lease_preferences": [
{
"constraints": [
{
"key": "<string>",
"type": 123,
"value": "<string>"
}
]
}
],
"null_voter_constraints_is_empty": true,
"num_replicas": 123,
"num_voters": 123,
"range_max_bytes": 123,
"range_min_bytes": 123,
"subzone_spans": [
{
"end_key": [
123
],
"key": [
123
],
"subzone_index": 123
}
],
"subzones": [
{
"config": "<unknown>",
"index_id": 123,
"partition_name": "<string>"
}
],
"voter_constraints": [
{
"constraints": [
{
"key": "<string>",
"type": 123,
"value": "<string>"
}
],
"num_replicas": 123
}
]
},
"zone_config_level": 123
}Get table details
Retrieve details about a table.
GET
/
databases
/
{database}
/
tables
/
{table}
/
cURL
curl --request GET \
--url https://localhost/api/v2/databases/%7Bdatabase%7D/tables/%7Btable%7D/{
"columns": [
{
"default_value": "<string>",
"generation_expression": "<string>",
"hidden": true,
"name": "<string>",
"nullable": true,
"type": "<string>"
}
],
"configure_zone_statement": "<string>",
"create_table_statement": "<string>",
"descriptor_id": 123,
"grants": [
{
"privileges": [
"<string>"
],
"user": "<string>"
}
],
"indexes": [
{
"column": "<string>",
"direction": "<string>",
"implicit": true,
"name": "<string>",
"seq": 123,
"storing": true,
"unique": true
}
],
"range_count": 123,
"zone_config": {
"constraints": [
{
"constraints": [
{
"key": "<string>",
"type": 123,
"value": "<string>"
}
],
"num_replicas": 123
}
],
"gc": {
"ttl_seconds": 123
},
"global_reads": true,
"inherited_constraints": true,
"inherited_lease_preferences": true,
"lease_preferences": [
{
"constraints": [
{
"key": "<string>",
"type": 123,
"value": "<string>"
}
]
}
],
"null_voter_constraints_is_empty": true,
"num_replicas": 123,
"num_voters": 123,
"range_max_bytes": 123,
"range_min_bytes": 123,
"subzone_spans": [
{
"end_key": [
123
],
"key": [
123
],
"subzone_index": 123
}
],
"subzones": [
{
"config": "<unknown>",
"index_id": 123,
"partition_name": "<string>"
}
],
"voter_constraints": [
{
"constraints": [
{
"key": "<string>",
"type": 123,
"value": "<string>"
}
],
"num_replicas": 123
}
]
},
"zone_config_level": 123
}Path Parameters
Response
Database details response
Grants, column names, and indexes for a table.

