Skip to content

Get dynamic routes exported by a node

Request

Security
JWTAuthorizer
Path
nodeIDstringrequired

Node ID

networkNamestringrequired

Network name

curl -i -X GET \
  'https://apidocs.trustgrid.io/_mock/v2/node/{nodeID}/vpn/{networkName}/dynamic/export-route' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
Array [
descriptionstring
metricnumber
networkCidrstring
nodestring
pathstring
monitorsArray of objects(VirtualNetworkRouteMonitor)
networkNamestring

Name of the VPN network this route belongs to

nodeUidstring

UUID of the node that owns this route

uidstring

Unique identifier for this route

nodeFriendlyNamestring

Human-readable name of the node that owns this route

typestring

Record type discriminator, always "Route"

Value:"Route"
]
Response
[ { "description": "string", "metric": 0, "networkCidr": "string", "node": "string", "path": "string", "monitors": [], "networkName": "string", "nodeUid": "string", "uid": "string", "nodeFriendlyName": "string", "type": "Route" } ]