Skip to content

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.

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))
}