Changes

Line 19: Line 19:  
* {{Code|success: ERR}};
 
* {{Code|success: ERR}};
 
* {{Code|error}}, error message.
 
* {{Code|error}}, error message.
 +
 +
Service interfaces will operate with the following parameters:
 +
 +
* {{Code|uuid}}, unique identity of the particular Sugar user, i.e., this id should be created for every Sugar profile; it can't be the same as UUID of a XO laptop;
 +
* {{Code|serial}}, serial number of hardware Sugar user is running on, e.g., serial number of a XO laptop;
 +
* {{Code|pubkey}}, SSH public key, this is the exact line that needs to be placed as-is to {{Code|~/.ssh/authorized_keys}} file; note that OLPC XS operates with striped version of public keys.
    
=== id ===
 
=== id ===
Line 40: Line 46:  
The input dictionary, contains:
 
The input dictionary, contains:
   −
* {{Code|uuid}}, required user UUID;
+
* {{Code|uuid}}
* {{Code|nickname}}, optional client nick name;
+
* {{Code|nickname}}
* {{Code|serial}}, optional serial number of user's hardware;
+
* {{Code|serial}}
* {{Code|pubkey}}, a SSH public key, required only if user wants to process Journal backup.
+
* {{Code|pubkey}}
    
The resulting dictionary, contains:
 
The resulting dictionary, contains: