List Tables in a DbTap

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

Use this API to get a list of all tables in a data store.

Resource URI db_taps/id/tables
Request Type GET
Supporting Versions v2.0
Return Value JSON Array of tables in a 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.

Sample Request

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}/tables

Sample Response

["CUSTOMER","LINEITEM","NATION","ORDERS","PART","PARTSUPP","REGION","SUPPLIER"]