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

No edit summary
No edit summary
Line 81: Line 81:
Backward compatibility:
Backward compatibility:


  ''dict'' '''register'''(''str'' serial, ''str'' nickname, ''str'' uuid, ''str'' pubkey)
  ''dict'' '''register'''(''str'' machine-serial, ''str'' nickname, ''str'' machine-uuid, ''str'' pubkey)


To support OLPC's XS clients, RPC function to serve registration requests. The XML-RPM service will be listening {{Code|8080}} port on the {{Code|--host}} host.
To support OLPC's XS clients, RPC function to serve registration requests. The XML-RPM service will be listening {{Code|8080}} port on the {{Code|--host}} host.
Line 113: Line 113:
Interface:
Interface:


  GET '''/client/lease'''?serial=''SERIAL''
  GET '''/client/lease'''?serial=''MACHINE_SERIAL''


Get OLPC anti-thief lease for specified XO's serial number.
Get OLPC anti-thief lease for specified XO's serial number.