Changes

Jump to navigation Jump to search
630 bytes added ,  11:51, 22 October 2012
Line 13: Line 13:  
When:
 
When:
   −
* {{Code|SERVER}}, particular Sugar Network API server, e.g., http://api-devel.network.sugarlabs.org;
+
* {{Code|SERVER}}, [[#API_servers|particular]] Sugar Network API server;
 
* {{Code|RESOURCE}}, name one of the [[#Resources|existing]] resources;
 
* {{Code|RESOURCE}}, name one of the [[#Resources|existing]] resources;
 
* {{Code|GUID}}, the {{Code|RESOURCE}}'s particular object;
 
* {{Code|GUID}}, the {{Code|RESOURCE}}'s particular object;
Line 23: Line 23:     
In [[#Common_actions|most cases]], server replies with dictionary in JSON notation. If request was failed, the replied dictionary will contain {{Code|request}}, with original request, and {{Code|error}}, with error message, keys. In the rest of cases, response might be variable.
 
In [[#Common_actions|most cases]], server replies with dictionary in JSON notation. If request was failed, the replied dictionary will contain {{Code|request}}, with original request, and {{Code|error}}, with error message, keys. In the rest of cases, response might be variable.
 +
 +
== API servers ==
 +
 +
These are standard Sugar Network API servers publicly available.
 +
 +
* [http://api-devel.network.sugarlabs.org/ api-devel.network.sugarlabs.org]<br>Development server that is being updated to keep it synchronized with this document; it does not contain important data and free for any experiments;
 +
 +
* [http://api-testing.network.sugarlabs.org/ api-testing.network.sugarlabs.org]<br>Recent stable release with data that is being used in pilots; do not create temporal content here, use devel server instead;
 +
 +
* [http://localhost:5001/ localhost:5001]<br>default url to get access to [[#Local_access|local data]] served from local application.
    
== Sugar Network resources ==
 
== Sugar Network resources ==

Navigation menu