Documented new I2PControl API features.
This commit is contained in:
@ -61,7 +61,35 @@ Response:
|
||||
<li>Result – [double] Returns the average value for the reuested rateStat and period.</li>
|
||||
</ul>
|
||||
</ul>
|
||||
<ul>NetworkInfo – Fetches or sets various network related information. Ports, addresses etc.
|
||||
<ul>RouterInfo – Fetches basic information about hte I2P router. Uptime, version etc.
|
||||
<ul>Request
|
||||
<li>*i2p.router.status – [n/a]</li>
|
||||
<li>*i2p.router.uptime – [n/a]</li>
|
||||
<li>*i2p.router.version – [n/a]</li>
|
||||
<li>*i2p.router.net.status – [n/a]</li>
|
||||
</ul>
|
||||
<ul>Response
|
||||
<li>**i2p.router.status – [String] What the status of the router is.</li>
|
||||
<li>**i2p.router.uptime – [String] What the uptime of the router is.</li>
|
||||
<li>**i2p.router.version – [String] What version of I2P the router is running.</li>
|
||||
<li>**i2p.router.net.status – [String] What the current netowrk status is.</li>
|
||||
</ul>
|
||||
</ul>
|
||||
<ul>RouterRunner – Manages I2P router restart/shutdown.
|
||||
<ul>Request
|
||||
<li>*Restart – [n/a] Restarts the router.</li>
|
||||
<li>*RestartGraceful – [n/a] Restarts the router gracefully (waits for participating tunnels to expire).</li>
|
||||
<li>*Shutdown – [n/a] Shuts down the router.</li>
|
||||
<li>*ShutdownGraceful – [n/a] Shuts down the router gracefully (waits for participating tunnels to expire).</li>
|
||||
</ul>
|
||||
<ul>Response
|
||||
<li>**Restart – [null] If requested, verifies that a restart has been initiated.</li>
|
||||
<li>**RestartGraceful – [null] If requested, verifies that a graceful restart has been initiated.</li>
|
||||
<li>**Shutdown – [null] If requested, verifies that a shutdown has been initiated</li>
|
||||
<li>**ShutdownGraceful – [null] If requested, verifies that a graceful shutdown has been initiated</li>
|
||||
</ul>
|
||||
</ul>
|
||||
<ul>NetworkSetting – Fetches or sets various network related settings. Ports, addresses etc.
|
||||
<ul>Request
|
||||
<li>*i2p.router.net.ntcp.port – [String] What port is used for the TCP transport. If null is submitted, current setting will be returned.</li>
|
||||
<li>*i2p.router.net.ntcp.hostname – [String] What hostname is used for the TCP transport. If null is submitted, current setting will be returned.</li>
|
||||
|
Reference in New Issue
Block a user