Obtaining GeminiDB Cassandra Instance Table Information That Is Restored Using Tables
Function
This API is used to obtain GeminiDB Cassandra instance table information that is restored using tables.
Constraints
- This API supports only GeminiDB Cassandra API.
URI
GET https://{Endpoint}/v3/{project_id}/instances/{instance_id}/tables
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID of a tenant in a region. To obtain this value, see Obtaining a Project ID. |
instance_id |
Yes |
String |
Instance ID. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
database_name |
Yes |
String |
Database name. |
offset |
No |
Integer |
Index position.
|
limit |
No |
Integer |
Maximum of dedicated resources to be queried.
|
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
total_count |
Integer |
Total number of records. |
table_names |
Array of strings |
Table names. |
Example Requests
GET https://{endpoint}/v3/619d3e78f61b4be68bc5aa0b59edcf7b/instances/a6d3c8a9857b4c81b3c1fe4802dfa4d0in06/tables?offset=0&limit=10&database_name=db01
Example Responses
Status code: 200
Success
{ "total_count" : 1, "table_names" : [ "tb01" ] }
Status Codes
For details, see Status Codes.
Error Codes
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot