Route over mesh
post
http://127.0.0.1:8787/api/v1/mesh/routeFinds the best path between two nodes over the deployment graph with Dijkstra. When a target rate is set, edges below it are excluded; if no path meets the target, a best-effort path is returned with meets_target: false.
Request
application/jsonThis endpoint expects an object.
src_node_idstring <uuid>Requireddst_node_idstring <uuid>RequiredmetricstringOptionalett expected transmission time, etx expected transmissions, bottleneck widest path, hops fewest hops.
Defaults to "ett"
Allowed
ettetxbottleneckhopstarget_data_rate_bpsintegerOptionalExclude edges below this rate.
Response
200 · application/jsonRoute. Returns an object.
meets_targetbooleanOptionalFalse when only a best-effort path exists.
Errors
400
Problem
Malformed request.
404
Problem
Resource not found.
