feagi-api 0.0.6

FEAGI REST API layer with HTTP and ZMQ transport adapters
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2025 Neuraville Inc.
// SPDX-License-Identifier: Apache-2.0

// Common types used across all transports

pub mod agent_registration;
pub mod error;
pub mod request;
pub mod response;
pub mod types;
pub use types::{ApiState, Json, Path, Query, State};

pub use error::{ApiError, ApiErrorCode};
pub use request::ApiRequest;
pub use response::{ApiResponse, EmptyResponse};

/// Result type for API operations
pub type ApiResult<T> = Result<T, ApiError>;