Changes

Jump to navigation Jump to search
no edit summary
Line 18: Line 18:  
Registry items might contains the following keys:
 
Registry items might contains the following keys:
   −
* {{Code|uuid}}, user's identity got after registration on a server;
+
* {{Code|uid}}, user's identity got after registration on a server;
 
* {{Code|machine-serial}}, serial number of hardware Sugar user is running on, e.g., serial number of a XO laptop;
 
* {{Code|machine-serial}}, serial number of hardware Sugar user is running on, e.g., serial number of a XO laptop;
 
* {{Code|machine-uuid}}, UUID value of hardware Sugar user is running on, e.g., UUID of a XO laptop;
 
* {{Code|machine-uuid}}, UUID value of hardware Sugar user is running on, e.g., UUID of a XO laptop;
Line 38: Line 38:  
* {{Code|error}}, error message.
 
* {{Code|error}}, error message.
   −
=== id ===
+
=== registry ===
    
Provide Sugar users registration on a school server. After being registered, Sugar on users side will setup interaction with a school server. See [[Sugar_Server_Kit/sugar-client|sugar-client]] project for details from client point of view.
 
Provide Sugar users registration on a school server. After being registered, Sugar on users side will setup interaction with a school server. See [[Sugar_Server_Kit/sugar-client|sugar-client]] project for details from client point of view.
Line 57: Line 57:  
The resulting dictionary, contains:
 
The resulting dictionary, contains:
   −
* {{Code|uuid}}, unique identity that needs to be used for further interaction with the server.
+
* {{Code|uid}}, unique identity that needs to be used for further interaction with the server.
   −
  GET '''/client/status'''?uuid=''UUID''
+
  GET '''/client/status'''?uid=''UID''
    
Get information about client's status on a server.
 
Get information about client's status on a server.
Line 69: Line 69:  
* {{Code|backup-url}}, if {{Code|registered}} is {{Code|True}}, Rsync url to backup Journal to, needs to be used as-is.
 
* {{Code|backup-url}}, if {{Code|registered}} is {{Code|True}}, Rsync url to backup Journal to, needs to be used as-is.
   −
Requested UUID might be not registered in cases like:
+
Requested uid might be not registered in cases like:
    
* registration was removed from the server,
 
* registration was removed from the server,
* request was sent to the server not the same where UUID was created,
+
* request was sent to the server not the same where uid was created,
 
* someone [[#Vulnerabilities|registered]] the same serial number.
 
* someone [[#Vulnerabilities|registered]] the same serial number.
   Line 91: Line 91:  
Interface:
 
Interface:
   −
  GET '''/client/backup'''?uuid=''UUID''
+
  GET '''/client/backup'''?uid=''UID''
    
Check if client can start transfering Journal files using.
 
Check if client can start transfering Journal files using.

Navigation menu