View a DbTap

GET /api/v1.2/db_taps/<db-tap-id>

Use this API to view a data store.

Resource URI db_taps/id
Request Type GET
Supporting Versions v2.0
Return Value Json object representing the DbTap.

Required Role

The following users can make this API call:

  • Users who belong to the system-admin or system-user group.
  • Users who belong to a group associated with a role that allows viewing a specific DbTap’s details. See Managing Groups and Managing Roles for more information.

Example

curl -i -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "X-AUTH-TOKEN: $AUTH_TOKEN" \
https://gcp.qubole.com/api/v1.2/db_taps/${DBTAPID}

Sample Response

{
  "account_id": 00000,
  "active": true,
  "db_user": "doc_writer",
  "user_id": 1,
  "db_location":"us-east-1",
  "db_type":"mysql",
  "db_passwd": "",
  "db_name": "doc_example",
  "created_at": "2013-03-15T10:02:42Z",
  "db_host": "localhost",
  "id": 3,
  "port": null
}