Skip to main content

Get database list for GCP

Select

SaaS
Customer Managed

Get database list for GCP

Query Parameters
  • cloudAccountId integer 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

Success


Schema
  • error object
  • errorMessage string
  • errorCode int32
  • databases object[]
  • name string

    the google spanner database name

GET /v4/gcpspanner/databases    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
cloudAccountId — query required
projectName — query required
instanceName — query required
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/GCPSpanner/databases' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'