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§
- Error
Response - Generic error response
- File
Info - File information in search results
- Hook
Filter - A filter condition on a hook’s config or output using
JSONPath - Search
Runs Request - Request body for POST /api/v1/runs/search
- Upload
Response - Response from the upload run endpoint
- Vault
Exists Response - Response from the vault exists endpoint
- Vault
Info - Information about a vault
- Vaults
Response - Response from the vaults list endpoint
Enums§
- Include
Field - Fields that can be included in search response
- Sort
Order - Sort order for search results