Warehouses

GET/v1/warehouses
Authorization
Query parameters
Response
Body
paging*PagingInfo (object)
dataarray of WarehouseDto (object)
Request
const response = await fetch('/v1/warehouses', {
    method: 'GET',
    headers: {
      "Authorization": "Bearer JWT"
    },
});
const data = await response.json();
Response
{
  "paging": {
    "next": {
      "after": "text"
    }
  },
  "data": [
    {
      "id": "text",
      "name": "text",
      "is_managed": false,
      "is_bi_enabled": false,
      "is_data_loading_enabled": false,
      "is_persistence_engine_enabled": false,
      "warehouse_type": "BIGQUERY"
    }
  ]
}

GET/v1/warehouses/{warehouseId}
Authorization
Path parameters
warehouseId*string
Response
Body
id*string

Unique ID

name*string

Name of Warehouse

is_managed*boolean

If true, it means that this Warehouse is provided by Whaly, so access is limited.

is_bi_enabled*boolean

If true, it means that BI is enabled on this Warehouse.

is_data_loading_enabled*boolean

If true, it means that Connectors are enabled on this Warehouse.

is_persistence_engine_enabled*boolean

If true, it means that Persistence Engine is enabled on this Warehouse.

warehouse_type*enum

Type of the Warehouse

BIGQUERYSNOWFLAKEPOSTGRESREDSHIFTUNKNOWN
Request
const response = await fetch('/v1/warehouses/{warehouseId}', {
    method: 'GET',
    headers: {
      "Authorization": "Bearer JWT"
    },
});
const data = await response.json();
Response
{
  "id": "text",
  "name": "text",
  "is_managed": false,
  "is_bi_enabled": false,
  "is_data_loading_enabled": false,
  "is_persistence_engine_enabled": false,
  "warehouse_type": "BIGQUERY"
}

Last updated