res = client.postgres_gateway.tables.retrieve("myUserName", 'myCustom')
res = client.postgres_gateway.tables.retrieve("myUserName", ["myCustom", "myCustom2"]){
"items": [
{
"columns": {},
"type": "raw_rows",
"tablename": "<string>",
"options": {
"space": "<string>",
"externalId": "<string>",
"version": "<string>"
}
}
]
}Required capabilities:
postgresGateway:READ
Retreive a list of postgres tables for a user by their table names, optionally ignoring unknown table names
res = client.postgres_gateway.tables.retrieve("myUserName", 'myCustom')
res = client.postgres_gateway.tables.retrieve("myUserName", ["myCustom", "myCustom2"]){
"items": [
{
"columns": {},
"type": "raw_rows",
"tablename": "<string>",
"options": {
"space": "<string>",
"externalId": "<string>",
"version": "<string>"
}
}
]
}Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
The name of the username (a.k.a. database) to be managed from the API Username to authenticate the user on the DB.
List postgres tables by table names
Show child attributes
Was this page helpful?