Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.66 KB

File metadata and controls

33 lines (24 loc) · 1.66 KB

CreateDatabaseResponse

Response body for POST /databases

Properties

Name Type Description Notes
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.
expires_at datetime When this database expires. [optional]
id str
name str [optional]

Example

from hotdata.models.create_database_response import CreateDatabaseResponse

# TODO update the JSON string below
json = "{}"
# create an instance of CreateDatabaseResponse from a JSON string
create_database_response_instance = CreateDatabaseResponse.from_json(json)
# print the JSON string representation of the object
print(CreateDatabaseResponse.to_json())

# convert the object into a dict
create_database_response_dict = create_database_response_instance.to_dict()
# create an instance of CreateDatabaseResponse from a dict
create_database_response_from_dict = CreateDatabaseResponse.from_dict(create_database_response_dict)

[Back to Model list] [Back to API list] [Back to README]