MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / node

Function node

src/dashboard/lcm_api.rs:188–194  ·  view source on GitHub ↗

`GET /api/plugins/hermes-lcm/node/{node_id}` — a summary node plus the exact source items it covers (lossless expand).

(
    State(state): State<DashboardState>,
    JsonPath(node_id): JsonPath<String>,
)

Source from the content-addressed store, hash-verified

186/// `GET /api/plugins/hermes-lcm/node/{node_id}` — a summary node plus the
187/// exact source items it covers (lossless expand).
188pub(crate) async fn node(
189 State(state): State<DashboardState>,
190 JsonPath(node_id): JsonPath<String>,
191) -> LcmResult {
192 let payload = lcm_service::node_payload(&state, &node_id).await?;
193 Ok(ok(payload))
194}
195
196#[derive(Deserialize)]
197pub(crate) struct TimelineParams {

Callers

nothing calls this directly

Calls 2

node_payloadFunction · 0.70
okFunction · 0.70

Tested by

no test coverage detected