Known Hubuum server v0.0.22 OpenAPI gaps¶
The pinned client contract records these limitations in the server v0.0.22 specification explicitly:
GET /api/v1/search/streamdeclarestext/event-streambut does not describe the individual event payload schemas.- Import and export submission support
Idempotency-Keyin the server and client, but the header is not represented as an operation parameter. UpdateGroupomits the runtime-supporteddescriptionfield. The typedGroupPatchexposes it, with live integration coverage, so callers do not need to fall back toraw().TaskCancelRequest.reasondeclares a 512-character limit, but runtime admission enforces 512 UTF-8 bytes, rejects blank reasons, and forbids control characters.TaskCancellationReasonfollows the runtime rules.
The scheduled drift job remains strict about changes on the server's main
branch. These gaps can be removed when a targeted server specification corrects
them.
Model reconciliation exceptions¶
The machine-readable mappings in openapi/model-contract.json document the
small set of intentional property-level differences between OpenAPI schemas and
Rust wire models:
- Classes, groups, users, and service accounts use shared Rust models for point, list, compact, or expanded response projections. Projection-only fields remain optional and are recorded explicitly as Rust-only fields.
- The
identity_scopeandmanaged_bygroup fields and theprovider_manageduser field retain Serde defaults for compatibility with older server responses. RunningConfig.query_observationsdefaults to disabled collection for servers before v0.0.19.Object.dataremains optional for compatibility and serializes an explicit null when absent.TaskResponse.unattempted_itemsdefaults to zero for older responses that predate cancellation accounting.EventDelivery.purposedefaults toEventfor older responses. Import sink requests always serializeconfig, although the server can default it.UpdateUser.passwordis intentionally absent fromUserPatch; the async and blocking clients provide dedicatedset_passwordhelpers. Future unmapped properties can still be reached through the constrainedraw()extension point until a typed API is added.
Intentional client limitations¶
- Database diagnostics can return 404 for storage backends that do not provide
them, such as the experimental memory backend.
meta_db()andmeta_db_full()preserve that structured HTTP error. Required integration uses PostgreSQL. - Server traversal, export, and template batch resource limits may reject work that previously fit older limits. The client preserves the server error; callers must narrow queries or reduce traversal depth and template workloads. Server v0.0.21 fixes the class/collection-deletion deadlock with computed workers. When using the older v0.0.20 server, wait for every reindex task for a class to finish before deleting it, including superseded tasks.
Related-object filter coverage¶
Class object lists support typed related.<alias> groups through
RelatedObjectFilter and .related(...) in both client modes, including
class-name queries. See related-object filters
for group semantics and bounds. Additional raw query parameters remain
server-validated.
Credential approval coverage¶
The pinned v0.0.22 contract includes both approval endpoints and the approval
headers on all six protected operations. The existing typed approval API covers
them, and required integration checks assert enforcement. Ordinary mutation calls
retain their behavior and can return reauthentication_required; applications
must use the approval workflow.
v0.0.17 notifications¶
All seven operations have typed helpers in both modes:
system_event_subscriptions().list/get/create/update/delete,
preview_event_notification, and test_event_notification.
SystemEventSubscription models system scope without a collection ID.
EventNotificationRequest identifies a subscription and source event UUID;
EventNotificationPreview redacts rendered payloads in debug output. Test
responses use EventDelivery with purpose Test.
These administrator-only operations can bypass disabled flags and subscription
filters to test a real source event. Protect rendered payloads as potentially
sensitive data. Version 0.0.19 also supports authentication-event subject filters
and typed subject access through EventResponse::subject(); the server embeds
that object inside the otherwise extensible metadata property.
Existing typed sink CRUD and imports now preserve delivery_policy; a policy
with min_interval_ms limits admission pacing, and an empty policy clears it.
The server retains provider cooldowns when pacing changes. Webhook payload,
secret-backed URL, authentication, acknowledgement, and retry settings remain in
the existing JSON config model. EventSubscriptionFilter.task_kinds narrows
task lifecycle notifications. Delivery responses preserve purpose and
deferred_reason; debug output redacts the latter. System subscription health
uses collection_id: None.
The combined live suite covers all seven routes through typed async and blocking public clients, including typed pacing, filter serialization, nullable health, and test-delivery decoding.
Collection integrations¶
The pinned v0.0.22 snapshot includes all eight collection destination and
administrator grant operations. Both client modes provide typed helpers, and
CollectionEventSink preserves safe metadata while omitting configuration,
URLs, and credentials. The canonical live suite requires delegated collection
setup in both modes and exercises global sink use through an explicit collection
grant. These APIs require ManageEventSubscription and ReadAudit; grants do
not inherit to child collections.
v0.0.21 discovery and suggestions¶
All four new discovery and profiling endpoints have matching typed helpers in both client modes. Inventories preserve structured paths, sources, counts, and sample bounds. Profiling helpers validate options, wait only for full task success, retrieve retained reports, and provide a guarded explicit staging request. Reports do not activate policies; whole-class impact remains required. That release introduced a 261-operation contract; the current snapshot has 272 operations.
v0.0.20 coverage¶
The original 257-operation v0.0.20 contract introduced the versioned session API. Both
client modes provide login_session, session_providers, automatic refresh,
and session-aware logout. Legacy single-token login is only for older servers.
All eleven newer history routes have typed helpers in both modes: class/object
timelines and entry lookup, exact-name object history, historical class object
populations, direct relationship changes and as-of views, and historical computed
values. No pinned route requires raw() for lack of a dedicated helper. See
historical views for pagination and retention semantics.
openapi/model-contract.json records intentional field-level exceptions explicitly.
Backup format 10 is recognized without discarding the extensible backup payload.
Credential activity has typed token_activity(principal_id, token_id, options)
client methods and token_activity(token_id, options) user/service-account handle
methods in both modes. CredentialActivityPageOptions validates offset and limit;
CredentialActivityResponse::next_page_options() follows body-based pagination
without discarding creation or coverage metadata. Activity has no revision or ETag.
Public and administrator authentication configuration expose session settings;
administrator configuration also exposes credential-activity settings. These
additions use Option to distinguish unavailable fields on older servers from
actual configured values. See credential activity usage.
Search hydration has typed hydrate_search(SearchHydrationRequest) methods in both
client modes. Requests use typed root IDs and an exact class ID/name selector,
depth 1โ10, and a limit of 1โ50 visible paths. Results preserve unique objects,
relations, paths, and truncated; hydration does not paginate or change root
search results. Intermediate objects can belong to other classes. Server
authorization, traversal-bound errors, and concurrent-change errors are preserved.
Class-relation responses preserve forward_label and reverse_label as validated
RelationLabel values. Create labeled relations with a class handle's
create_relation_with_options and ClassRelationCreateOptions::with_forward_label
or with_reverse_label. Labels describe the supplied source/target direction;
the server sorts class IDs and swaps labels when necessary. Existing
ClassRelationPost literals remain compatible; use the handle options for labels.
Labels require 1โ128 Unicode characters, no controls, and no surrounding whitespace.
v0.0.22 runtime settings¶
The 272-operation server contract replaces the old query-observation control
routes with audited runtime settings. Both client modes expose
runtime_settings_schema(), runtime_settings_group(group),
patch_runtime_settings(group, patch), and
release_runtime_settings(group, expected_revision). Group keys, JSON Schema
fields, titles, descriptions, limits, and enum explanations remain open so clients
can present new server options without regenerating the library.
Use the revision read from the group for each edit. Partial updates preserve
omitted fields, and stale revisions return an error for user review. A successful
commit reports application by the responding replica, not cluster-wide agreement.
RunningConfig.runtime_settings retains redacted ownership and revision reports,
including unknown groups; older servers may omit it.
The generic API replaces the dedicated query-observation read/write helpers and
runtime_override field. Use the group's source, revision, effective, and
runtime values instead. The combined live suite exercises discovery, partial
edits, effective configuration, and restoration of deployment ownership in both
client modes. A 404 means the capability is unavailable and must not trigger an
unrevisioned fallback write.
The complete snapshot and audit history, full-replacement PUT routes, and
specialized authentication validation/preflight remain accessible through
raw(). Generic PATCH cannot replace authentication providers; applications must
implement that dedicated local-administrator workflow before offering those
changes. These limitations apply to v0.0.22's newly added operations.