Get database list for GCP
Select
SaaS
Customer Managed
Get database list for GCP
Query Parameters
- cloudAccountId int64 required
the id of the node where the browse request is sent
- projectName string required
google cloud project the instance belongs to
- instanceName string required
the google spanner instance name
Responses
- 200
Success
- application/json
- Schema
- Example (from schema)
Schema
error object
databases object[]
{
"error": {
"errorMessage": "string",
"errorCode": 0
},
"databases": [
{
"name": "string"
}
]
}
GET /v4/gcpspanner/databases
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/GCPSpanner/databases' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/GCPSpanner/databases' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/GCPSpanner/databases' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/GCPSpanner/databases' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/GCPSpanner/databases' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/GCPSpanner/databases' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/GCPSpanner/databases' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'