1 Title: WATO API: Introduced new functions set_all_sites/get_all_sites
10 The new request <tt>get_all_sites</tt> allows you to fetch all site configurations with a single call.
11 This call returns a python dictionary with the following content
14 {'configuration_hash': 'bba0d7cd362dc42af2f36f3d7dfed193',
15 'sites': {'heute': {'alias': u'Local site heute',
21 'replicate_ec': False,
23 'socket': 'tcp:1.2.3.4:6557',
28 The response from the previous call can be modified, e.g. add a new site and written back with the request <tt>set_all_sites</tt>.
30 {'configuration_hash': '3a11df6985ff799eca7310f35a8f575d',
31 'sites': {'heute': {'alias': u'Local site heute',
37 'replicate_ec': False,
39 'socket': 'tcp:1.2.3.4:6557',
42 'new_site': {'alias': u'Local site heute',
48 'replicate_ec': False,
50 'socket': 'tcp:1.2.3.4:6557',