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

Line 47: Line 47:


  /backup/uuid/available/''uuid''
  /backup/uuid/available/''uuid''
/backup/1/available/''serial''


As a result, service returns following HTTP codes:
As a result, service returns following HTTP codes:


* {{Code|200}}, if backup can be started;
* {{Code|200}}, if backup can be started;
* {{Code|403}}, registration was not processed;
* {{Code|503}}, if backup cannot be started right now and client needs to retry in some time later;
* {{Code|503}}, if backup cannot be started right now and client needs to retry in some time later;
* Various error codes on fails with error message as HTML content.
* Various error codes on fails with error message as HTML content.