API: add capabilities and configuration schema discovery

This commit is contained in:
Alexey
2026-11-01 14:09:40 +03:00
parent 84e5b827a6
commit 108e14f628
11 changed files with 1985 additions and 0 deletions
+3
View File
@@ -38,6 +38,7 @@ use crate::web::trace::WebTraceStore;
mod config_edit;
pub(crate) mod config_store;
mod discovery;
mod events;
mod http_utils;
// Authenticated request admission and route dispatch.
@@ -264,6 +265,8 @@ fn allowed_methods_for_path(path: &str) -> Option<&'static str> {
}
match path {
"/v1/health"
| "/v1/capabilities"
| "/v1/config/schema"
| "/v1/health/ready"
| "/v1/system/info"
| "/v1/runtime/gates"