New: build custom CDF applications with Cognite Flows. Documentation · What's new.
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>"
}
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
Use this file to discover all available pages before exploring further.
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?