Expand description
Chain management HTTP handlers for MockForge
This module provides REST endpoints for managing and executing request chains through the HTTP API.
Structs§
- Chain
Create Request - Request body for creating a new chain
- Chain
Create Response - Response from chain creation
- Chain
Execution History Response - Response containing chain execution history
- Chain
Execution Record - Record of a single chain execution
- Chain
Execution Request - Request body for executing a request chain
- Chain
Execution Response - Response from chain execution
- Chain
List Response - Response listing all available chains
- Chain
State - Shared state for chain management
- Chain
Summary - Summary information for a request chain
- Chain
Validation Response - Response from chain validation
Functions§
- create_
chain - POST /chains - Create a new request chain from YAML definition
- create_
chain_ state - Create the chain state with registry and engine
- delete_
chain - DELETE /chains/:id - Delete a request chain
- execute_
chain - POST /chains/:id/execute - Execute a request chain with optional variables
- get_
chain - GET /chains/:id - Get details for a specific chain
- get_
chain_ history - GET /chains/:id/history - Get execution history for a chain
- list_
chains - GET /chains - List all available request chains
- update_
chain - PUT /chains/:id - Update an existing chain with new definition
- validate_
chain - POST /chains/:id/validate - Validate chain definition for correctness