Skip to main content

Crate uptrakit_web_api_types

Crate uptrakit_web_api_types 

Source

Re-exports§

pub use masked_url::MaskedUrl;

Modules§

access_catalog
Response types for GET /api/v1/access/catalog (M1.6b): the authorization vocabulary as data — actions, role bundles, scope presets.
access_grants
Request/response types for /api/v1/access/grants (M1.6a).
agents
api_tokens
audit_logs
auth
autodiscovery
batch_actions
command_validation
Dangerous command pattern detection for plugin configuration validation.
device_auth
discovery_allowlist
enrollment_tokens
error
events
SSE event types for real-time admin event streaming.
host_tags
hosts
instance_config_state
Response types for the GET /api/v1/instance/config-state and POST /api/v1/instance/config-reload/clear-degraded endpoints.
instance_plugins
DTOs for /api/v1/instance-plugins.
masked_url
A URL safety wrapper that masks embedded credentials in all outputs.
mfa
notifications
oauth
OAuth 2.1 wire types shared between uptrakit-web-api (authorization server) and uptrakit-mcp (resource server).
oidc_auth
oidc_providers
pagination
plugin_config_test
Request and response types for plugin configuration testing (dry-run).
plugin_configs
plugin_type_settings
prelude
Convenience re-exports for API client developers.
profile
registration
roles
scheduler
server_cert
services
settings_access
settings_agent_certs
settings_ca
settings_combined
settings_nats
Request/response types for the NATS URL settings API.
settings_network
settings_oauth
Request/response types for the OAuth global-settings API.
settings_provider_github
Request/response types for global GitHub provider settings.
settings_reset
Types for the POST /api/v1/settings/reset-data endpoint.
settings_zeroconf
Request/response types for the zeroconf settings API.
software_items
surfaces
system_alerts
system_enrollment_tokens
system_services
update_batches
update_history
users
validation

Structs§

SecretString
Re-export SecretString so consumers (web-api, CLI, openapi-client) can use it without a direct uptrakit-shared-types dependency. A newtype wrapper for strings that contain sensitive data (secrets, tokens, passwords).

Enums§

PluginRole
Re-export PluginRole so consumers can construct and match on role values without a direct uptrakit-shared-types dependency. Roles that a plugin can fulfill in the version-check / update lifecycle.

Functions§

default_enabled
Default value for enabled fields in create-request types.
default_featured
Default value for the featured field in create-request types.