{"service":"HALOWERK iotwerk","endpoint":"/v1/mesh-route","method":"POST","content_type":"application/json","inputSchema":{"type":"object","required":["nodes","links","start","goal"],"additionalProperties":false,"properties":{"nodes":{"type":"array","minItems":2,"maxItems":500,"uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":64}},"links":{"type":"array","minItems":1,"maxItems":10000,"items":{"type":"object","required":["from","to","cost"],"additionalProperties":false,"properties":{"from":{"type":"string","minLength":1,"maxLength":64},"to":{"type":"string","minLength":1,"maxLength":64},"cost":{"type":"number","minimum":0,"maximum":1000000000},"bidirectional":{"type":"boolean","default":true}}}},"start":{"type":"string","minLength":1,"maxLength":64},"goal":{"type":"string","minLength":1,"maxLength":64}}},"requestExample":{"nodes":["gateway","relay-a","relay-b","sensor"],"links":[{"from":"gateway","to":"relay-a","cost":1},{"from":"relay-a","to":"sensor","cost":2},{"from":"gateway","to":"relay-b","cost":2},{"from":"relay-b","to":"sensor","cost":4}],"start":"gateway","goal":"sensor"},"operations":[{"method":"POST","inputSchema":{"type":"object","required":["nodes","links","start","goal"],"additionalProperties":false,"properties":{"nodes":{"type":"array","minItems":2,"maxItems":500,"uniqueItems":true,"items":{"type":"string","minLength":1,"maxLength":64}},"links":{"type":"array","minItems":1,"maxItems":10000,"items":{"type":"object","required":["from","to","cost"],"additionalProperties":false,"properties":{"from":{"type":"string","minLength":1,"maxLength":64},"to":{"type":"string","minLength":1,"maxLength":64},"cost":{"type":"number","minimum":0,"maximum":1000000000},"bidirectional":{"type":"boolean","default":true}}}},"start":{"type":"string","minLength":1,"maxLength":64},"goal":{"type":"string","minLength":1,"maxLength":64}}},"requestExample":{"nodes":["gateway","relay-a","relay-b","sensor"],"links":[{"from":"gateway","to":"relay-a","cost":1},{"from":"relay-a","to":"sensor","cost":2},{"from":"gateway","to":"relay-b","cost":2},{"from":"relay-b","to":"sensor","cost":4}],"start":"gateway","goal":"sensor"}}],"example_request":{"nodes":["gateway","relay-a","relay-b","sensor"],"links":[{"from":"gateway","to":"relay-a","cost":1},{"from":"relay-a","to":"sensor","cost":2},{"from":"gateway","to":"relay-b","cost":2},{"from":"relay-b","to":"sensor","cost":4}],"start":"gateway","goal":"sensor"},"serviceName":"iotwerk_mesh_route","tags":["iot","mesh","routing"],"outputSchema":{"type":"object","required":["method"],"properties":{"method":{"type":"string"}},"additionalProperties":true},"outputExample":{"path":["gateway","relay-a","sensor"],"total_cost":3,"hop_count":2,"evaluated_nodes":4,"evaluated_links":4,"method":"Dijkstra shortest path over caller-supplied non-negative link costs"}}