Tunnel reference
0 pages, 6 routes, 4 connections and 0 CLI commands, generated from the declarations of Tunnel without reading storage or running anything.
Code · 0 files
No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.
Connections · 4
Tunnel.Get
Fetch one tunnel registration by (registrant_peer_id, edge_peer_id).
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| registrant_peer_id | required | |||
| edge_peer_id | required |
- Output keytunnel.result
- Classificationroute_handler
- GET /tunnel/detailHTTP route
Tunnel.List
List recent tunnel registrations, optionally filtered by peer_id (matches either the registrant or edge slot).
- Output keytunnel.result
- Classificationroute_handler
- GET /tunnelHTTP route
Tunnel.Register
Register a tunnel relationship between a behind-NAT peer (registrant) and an edge peer that exposes the public URL. Persists a `tunnel.registration_state` vertex + `tunnel.registration` hyperedge linking [v:peer:{registrant}, v:peer:{edge}, v:tunnel.registration:{...}] in hyperdb so the topology is queryable via the same primitives the DHT navigates (shortest_path, k_hop, cycle_detection). Idempotent on (registrant_peer_id, edge_peer_id) — re-register updates timestamps + state without creating duplicates.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| edge_peer_id | required |
- Output keytunnel.result
- Classificationreal
- POST /tunnel/registerHTTP route
Tunnel.Status
Tunnel subsystem health: total registrations, breakdown by status, breakdown by local role (registrant / edge).
- Output keytunnel.result
- Classificationroute_handler
- GET /tunnel/statusHTTP route
Other routes · 2
| Method | Path | Kind |
|---|---|---|
| GET | /peer/{peer_id}/{rest*} | raw handler |
| POST | /peer/{peer_id}/{rest*} | raw handler |
Schema and data model
Declared storage and kinds. Linked kinds open their app pages.
- Authorityhyper
- Preferred truthhyper
- App ownerTunnel
- SQL projectionnone · DDL declarations: 0
- tunnel.registration_state
- tunnel.registration_state
- None declared.
- None declared.
- None declared.
- No model warnings were reported.
Capabilities and dependencies
- Truth