Skip to content

honua-admin › Models

The model surface is grouped by admin domain — service catalog and capabilities, the metadata manifest apply/diff flow, published-layer and style payloads, and secure-connection management. Each group mirrors a coherent slice of the admin REST surface, so you typically only touch one group per workflow.

Services and capabilities

These types describe what an Environment exposes — the catalog of services, the resolved capability set, the running server version, and the per-Environment compatibility feature flags that gate optional admin endpoints.

honua_admin.AdminServiceSummary dataclass

Admin-API view of a published service (name + protocol roll-up).

Distinct from :class:honua_sdk.models.ServiceSummary (which is the data-plane catalog summary). Renamed from the original ServiceSummary to remove the cross-package name collision; the old name is kept as a module-level alias below for back-compat.

honua_admin.AdminCapabilitiesResponse dataclass

honua_admin.AdminVersionResponse dataclass

honua_admin.AdminCompatibilityFeatureFlags dataclass

honua_admin.ServiceSettingsResponse dataclass

honua_admin.AccessPolicyResponse dataclass

Folders

Folder carries typed identity/display metadata and permanent previous path names. AdminServiceSummary includes optional folder_id, folder_name, public_name, title and folder_mutation_issues; root-only responses may omit these fields. Logical service identity stays in service_name.

honua_admin.Folder dataclass

One catalog Folder and its permanent previous path names.

honua_admin.FolderMetadata dataclass

Identity and display metadata for one catalog Folder.

File imports

upload_file returns ImportResult for a completed import (HTTP 200), or BackgroundImportResponse for a queued import job (HTTP 202). Inspect ImportResult.success: dataset validation can fail within a successful HTTP response. For discovery and publishing, use schema and physical_table_name, which can differ from the requested logical table_name. Queued jobs include the server's status and cancellation URLs.

honua_admin.ImportResult dataclass

Completed file import, including logical and physical table identities.

A successful HTTP response may still have success=False when dataset validation fails. Inspect error_code and validation_errors then. format retains the server's file-format value; duration is a serialized .NET TimeSpan.

honua_admin.BackgroundImportResponse dataclass

Accepted import job. Status and cancel URLs are returned by the server.

Metadata manifests

The manifest types power the declarative apply/diff workflow: MetadataManifest is the input bundle, ManifestApplyResult (with its per-resource ManifestApplyEntry rows and aggregate ManifestApplySummary) captures the server's reconciliation outcome. The MetadataResource / MetadataResourceIdentifier / ResourceMetadata triple is the canonical resource shape consumed and emitted by the apply API.

honua_admin.MetadataManifest dataclass

honua_admin.ManifestApplyResult dataclass

honua_admin.ManifestApplyEntry dataclass

honua_admin.ManifestApplySummary dataclass

honua_admin.MetadataResource dataclass

to_dict()

Serialise back to camelCase dict for API requests.

honua_admin.MetadataResourceIdentifier dataclass

honua_admin.ResourceMetadata dataclass

Published layers and styles

These types describe Layers exposed by the Environment and the Styles attached to them — useful when reconciling rendering metadata or auditing the published surface.

honua_admin.PublishedLayerSummary dataclass

honua_admin.LayerStyleResponse dataclass

Secure connections

The secure-connection types cover the lifecycle of upstream credentials: listing and inspecting connections, testing connectivity, validating encryption at rest, and rotating encryption keys.

honua_admin.SecureConnectionSummary dataclass

honua_admin.SecureConnectionDetail dataclass

honua_admin.ConnectionTestResult dataclass

honua_admin.EncryptionValidationResult dataclass

honua_admin.KeyRotationResult dataclass