|  Developer
Updated on May 6, 2022

hub.network.statistics.settings.set

  • Version: 1.0

Connection type: UI

  • Set network statistics settings.
Edit
Field Type Required Description
cloudDumpPeriod int How ofter a statistics dump for cloud happens (days)
storagePeriod int Amount of days a hub keeps network statistics (days)
Edit
  • Return empty result or error
Edit

Here is an example of usage:

Edit
				
					{
    "method": "hub.network.statistics.settings.set",
    "id": "_ID_",
    "params": {
        "cloudDumpPeriod": 2,
        "storagePeriod": 60
    }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "method": "hub.network.statistics.settings.set",
    "result": {}
}