diff --git a/service/README.md b/service/README.md index 75c437dd9..8fe6a3af3 100644 --- a/service/README.md +++ b/service/README.md @@ -25,6 +25,8 @@ A *jsonp* URL argument may be supplied to request JSONP encapsulation. A JSONP r FieldTypeDescriptionWritable addressstring10-digit hexadecimal ZeroTier address of this nodeno publicIdentitystringFull public ZeroTier identity of this nodeno +worldIdintegerFixed value representing the virtual data center of Earth.no +worldTimestampintegerTimestamp of the last root server topology change.no onlinebooleanDoes this node appear to have upstream network access?no tcpFallbackActivebooleanIs TCP fallback mode active?no versionMajorintegerZeroTier major versionno @@ -77,11 +79,21 @@ Most network settings are not writable, as they are defined by the network contr broadcastEnabledbooleanIs Ethernet broadcast (ff:ff:ff:ff:ff:ff) allowed?no portErrorintegerError code (if any) returned by underlying OS "tap" driverno netconfRevisionintegerNetwork configuration revision IDno -multicastSubscriptions[string]Multicast memberships as array of MAC/ADI tuplesno assignedAddresses[string]ZeroTier-managed IP address assignments as array of IP/netmask bits tuplesno +routes[route]ZeroTier-managed route assignments for a network. See below for a description of the route object.no portDeviceNamestringOS-specific network device name (if available)no +`route` objects + + + + + + + +
FieldTypeDescriptionWritable
targetstringTarget network / netmask bits, NULL, or 0.0.0.0/0 for default routeno
viastringGateway IP addressno
flagsintegerRoute flagsno
metricintegerRoute metric (not currently used)no
+ #### /peer * Purpose: Get all peers