Warehouses mAPI reference
Complete reference documentation for the Warehouses resource.
Warehouses
#A warehouse is one database in your data warehouse that Knock reads from. Warehouses are shared by every environment.
You can list warehouses and retrieve one by its key. Add a warehouse and change its connection from the dashboard. Passwords and keys are never returned.
Get a warehouse
#Retrieve a warehouse by its key.
Endpoint
Path parameters
The key of the warehouse to retrieve.
Query parameters
The environment slug. When omitted, the account's default environment is used.
Returns
A warehouse is one database in your data warehouse that Knock reads from. Warehouses belong to the project and are shared by every environment.
The error from the last connection test, with a code and a message. Null when the last test passed.
How Knock connects to the warehouse. The fields depend on the warehouse type, such as host, port, database, and username, or project_id, region, and service_account_email for BigQuery. Credentials such as passwords are never returned.
The status of the warehouse's connection.
When the warehouse was created.
The unique key of the warehouse.
When the connection was last tested.
The name of the warehouse.
The type of data warehouse.
When the warehouse was last updated.
List warehouses
#Returns a paginated list of the project's warehouses. Warehouses are shared by every environment.
Endpoint
Query parameters
The environment slug. When omitted, the account's default environment is used.
The cursor to fetch entries after.
The cursor to fetch entries before.
The number of entries to fetch per-page.
Returns
A paginated list of Warehouse. Contains a list of entries and page information.
A list of entries.
The error from the last connection test, with a code and a message. Null when the last test passed.
How Knock connects to the warehouse. The fields depend on the warehouse type, such as host, port, database, and username, or project_id, region, and service_account_email for BigQuery. Credentials such as passwords are never returned.
The status of the warehouse's connection.
When the warehouse was created.
The unique key of the warehouse.
When the connection was last tested.
The name of the warehouse.
The type of data warehouse.
When the warehouse was last updated.
The information about a paginated result.
The cursor to fetch entries after. Will only be present if there are more entries to fetch.
The cursor to fetch entries before. Will only be present if there are more entries to fetch before the current page.
The number of entries to fetch per-page.
Warehouse
#A warehouse is one database in your data warehouse that Knock reads from. Warehouses belong to the project and are shared by every environment.
Attributes
The error from the last connection test, with a code and a message. Null when the last test passed.
How Knock connects to the warehouse. The fields depend on the warehouse type, such as host, port, database, and username, or project_id, region, and service_account_email for BigQuery. Credentials such as passwords are never returned.
The status of the warehouse's connection.
When the warehouse was created.
The unique key of the warehouse.
When the connection was last tested.
The name of the warehouse.
The type of data warehouse.
When the warehouse was last updated.