Platform Team/Server Kit/sugar-server: Difference between revisions

Line 49: Line 49:
The resulting dictionary, contains:
The resulting dictionary, contains:


* {{Code|registered}}, if {{Code|False}}, client needs to process [re]registration.
* {{Code|registered}}, if {{Code|False}}, client needs to process registration;
* {{Code|jabber-url}}, Jabber server url;
* {{Code|backup-url}}, Rsync url to backup Journal to, needs to be used as-is.


  POST '''/client/register'''
  POST '''/client/register'''
Line 63: Line 65:
The resulting dictionary, contains:
The resulting dictionary, contains:


* {{Code|config}} a dictionary of values that are mapped 1:1 as configuration options of the [[Sugar_Server_Kit/sugar-client|sugar-client]] utility. See sugar-client's [[Sugar_Server_Kit/sugar-client#Configuration|configuration]] for details;
* {{Code|uuid}}, unique identity that needs to be used for further interaction with the server;
* [http://wiki.laptop.org/go/School_server OLPC XS] backwards compatibility keys that are not being processed by sugar-client: {{Code|backupurl}}, {{Code|jabberserver}}, {{Code|backuppath}}.
* [http://wiki.laptop.org/go/School_server OLPC XS] backwards compatibility keys that are not being processed by sugar-client: {{Code|backupurl}}, {{Code|jabberserver}}, {{Code|backuppath}}.