You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**alias** | **str** | Optional alias under which this catalog is reachable inside the database. When omitted, it is reachable by the connection's name. | [optional]
10
+
**connection_id** | **str** | |
11
+
12
+
## Example
13
+
14
+
```python
15
+
from hotdata.models.attach_database_catalog_request import AttachDatabaseCatalogRequest
16
+
17
+
#TODO update the JSON string below
18
+
json ="{}"
19
+
# create an instance of AttachDatabaseCatalogRequest from a JSON string
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: docs/ConnectionsApi.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -270,6 +270,7 @@ void (empty response body)
270
270
|-------------|-------------|------------------|
271
271
**204** | Connection deleted | - |
272
272
**404** | Connection not found | - |
273
+
**409** | Connection backs a database's default catalog and cannot be deleted directly | - |
273
274
274
275
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
275
276
@@ -792,7 +793,9 @@ void (empty response body)
792
793
| Status code | Description | Response headers |
793
794
|-------------|-------------|------------------|
794
795
**204** | Cache purged | - |
796
+
**400** | Managed catalogs own their parquet generations and cannot be purged | - |
795
797
**404** | Connection not found | - |
798
+
**409** | Connection backs a database's default catalog and cannot be purged directly | - |
796
799
797
800
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
**description** | **str** | Optional free-form display label (for UIs/CLIs). Not unique. Not an identifier — databases are always addressed by `id`. | [optional]
10
+
**schemas** | [**List[DatabaseDefaultSchemaDecl]**](DatabaseDefaultSchemaDecl.md) | Optional schemas/tables to declare on the database's auto-created `default` catalog. Mirrors the `config.schemas` field of a managed `POST /v1/connections`. Tables declared here can be loaded via the standard managed-table load endpoint targeting `default_connection_id`. Omitted or empty means the default catalog starts empty. | [optional]
11
+
12
+
## Example
13
+
14
+
```python
15
+
from hotdata.models.create_database_request import CreateDatabaseRequest
16
+
17
+
#TODO update the JSON string below
18
+
json ="{}"
19
+
# create an instance of CreateDatabaseRequest from a JSON string
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**default_connection_id** | **str** | Internal id of the connection that backs this database's `default` catalog. Workspace-level connection endpoints (list, get, health, delete, cache purge) refuse to act on this id — it is exposed only for the managed-tables load endpoint (`POST /v1/connections/{id}/schemas/{s}/tables/{t}/loads`) so callers can publish parquet into tables declared at database-create time. Addressing it directly in SQL is not the recommended path — use `default` inside an `X-Database-Id` scope instead. |
10
+
**description** | **str** | | [optional]
11
+
**id** | **str** | |
12
+
13
+
## Example
14
+
15
+
```python
16
+
from hotdata.models.create_database_response import CreateDatabaseResponse
17
+
18
+
#TODO update the JSON string below
19
+
json ="{}"
20
+
# create an instance of CreateDatabaseResponse from a JSON string
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**alias** | **str** | Alias under which this catalog is reachable inside the database. When `None`, the catalog is reachable by its original connection name. | [optional]
10
+
**connection_id** | **str** | |
11
+
12
+
## Example
13
+
14
+
```python
15
+
from hotdata.models.database_attachment_info import DatabaseAttachmentInfo
16
+
17
+
#TODO update the JSON string below
18
+
json ="{}"
19
+
# create an instance of DatabaseAttachmentInfo from a JSON string
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
One schema declaration inside the database's default catalog at create time. Mirrors `crate::source::ManagedSchemaDecl`. Tables default to empty so callers can declare just a schema name and add tables later via the managed-tables API on the default connection.
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
One table declaration inside a default-catalog schema at database-create time. Mirrors `crate::source::ManagedTableDecl` shape so the controller can convert with a simple `.map`.
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments