Files
crank/apps/admin-api/src/routes/capabilities.rs
T
github-ops a023b8dc84
Deploy / deploy (push) Failing after 4s
CI / Rust Checks (push) Successful in 5m11s
CI / UI Checks (push) Failing after 6s
CI / Frontend E2E (push) Has been skipped
CI / Deployment Manifests (push) Has been skipped
chore: publish clean community baseline
2026-06-19 09:47:56 +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()))
}