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
Request body for adding a schema to an existing managed catalog: `POST /v1/connections/{id}/schemas` and `POST /v1/databases/{id}/schemas`. `tables` is optional — omit it to declare an empty schema and add tables later.
[[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)
Request body for adding a table to an existing schema: `POST /v1/connections/{id}/schemas/{schema}/tables` and `POST /v1/databases/{id}/schemas/{schema}/tables`.
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Declare a new schema (and optionally its tables) on an existing managed catalog after creation. The schema is added to the connection's declaration; declared tables can then be populated via the managed-table load endpoint. Only valid against connections whose source type is `managed`. Identifiers are normalised to lowercase.
27
+
28
+
### Example
29
+
30
+
* Api Key Authentication (WorkspaceId):
31
+
* Bearer Authentication (BearerAuth):
32
+
33
+
```python
34
+
import hotdata
35
+
from hotdata.models.add_managed_schema_request import AddManagedSchemaRequest
36
+
from hotdata.models.managed_schema_response import ManagedSchemaResponse
37
+
from hotdata.rest import ApiException
38
+
from pprint import pprint
39
+
40
+
# Defining the host is optional and defaults to https://api.hotdata.dev
41
+
# See configuration.py for a list of all supported configuration parameters.
42
+
configuration = hotdata.Configuration(
43
+
host="https://api.hotdata.dev"
44
+
)
45
+
46
+
# The client must configure the authentication and authorization parameters
47
+
# in accordance with the API server security policy.
48
+
# Examples for each auth method are provided below, use the example that
**400** | Connection is not a managed catalog or identifier is invalid | - |
107
+
**404** | Connection not found | - |
108
+
**409** | Schema already exists | - |
109
+
110
+
[[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)
Declare a new table on an existing schema of a managed catalog after creation. The table is added empty (declared-but-unloaded) and can be populated via the managed-table load endpoint. Only valid against connections whose source type is `managed`. Identifiers are normalised to lowercase.
118
+
119
+
### Example
120
+
121
+
* Api Key Authentication (WorkspaceId):
122
+
* Bearer Authentication (BearerAuth):
123
+
124
+
```python
125
+
import hotdata
126
+
from hotdata.models.add_managed_table_request import AddManagedTableRequest
127
+
from hotdata.models.managed_table_response import ManagedTableResponse
128
+
from hotdata.rest import ApiException
129
+
from pprint import pprint
130
+
131
+
# Defining the host is optional and defaults to https://api.hotdata.dev
132
+
# See configuration.py for a list of all supported configuration parameters.
133
+
configuration = hotdata.Configuration(
134
+
host="https://api.hotdata.dev"
135
+
)
136
+
137
+
# The client must configure the authentication and authorization parameters
138
+
# in accordance with the API server security policy.
139
+
# Examples for each auth method are provided below, use the example that
**400** | Connection is not a managed catalog or identifier is invalid | - |
200
+
**404** | Connection or schema not found | - |
201
+
**409** | Table already exists | - |
202
+
203
+
[[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)
0 commit comments