Files
crank/apps/admin-api/src/routes/capabilities.rs
T
github-ops 73b44eb93b
Deploy / deploy (push) Failing after 9s
CI / Rust Checks (push) Successful in 5m4s
CI / UI Checks (push) Failing after 5s
CI / Frontend E2E (push) Has been skipped
CI / Deployment Manifests (push) Has been skipped
chore: publish clean community baseline
2026-06-18 08:58:45 +00:00

9 lines
245 B
Rust

use axum::{Json, extract::State};
use serde_json::json;
use crate::state::AppState;
pub async fn get_capabilities(State(state): State<AppState>) -> Json<serde_json::Value> {
Json(json!(state.service.capability_profile().capabilities()))
}