Skip to main content

Crate capsula_api_types

Crate capsula_api_types 

Source
Expand description

Shared API type definitions for Capsula client and server

This crate defines the common types used in the Capsula HTTP API to ensure compile-time compatibility between the client and server implementations.

Structs§

ErrorResponse
Generic error response
FileInfo
File information in search results
HookFilter
A filter condition on a hook’s config or output using JSONPath
SearchRunsRequest
Request body for POST /api/v1/runs/search
UploadResponse
Response from the upload run endpoint
VaultExistsResponse
Response from the vault exists endpoint
VaultInfo
Information about a vault
VaultsResponse
Response from the vaults list endpoint

Enums§

IncludeField
Fields that can be included in search response
SortOrder
Sort order for search results