brokkr-broker::api::v1::deployment_objects
Rust
Deployment Objects API module for Brokkr.
This module provides routes and handlers for managing deployment objects, including retrieval based on user authentication and authorization.
Functions
Section titled “Functions”fn routes
Section titled “fn routes”pub
fn routes() -> Router<DAL>Creates and returns the router for deployment object endpoints.
Source
pub fn routes() -> Router<DAL> { info!("Setting up deployment object routes"); Router::new().route("/deployment-objects/:id", get(get_deployment_object))}