Changes

Line 63: Line 63:     
While working, packagekit-presolve-backend will use public [[Platform_Team/Sugar_Network/API|Sugar Network API]]. The regular operations called from the API server are the following:
 
While working, packagekit-presolve-backend will use public [[Platform_Team/Sugar_Network/API|Sugar Network API]]. The regular operations called from the API server are the following:
 +
 +
<div id="GET_packages"></div>
    
  '''GET''' /packages/OLPC/''OLPC-RELEASE''/''METADATA-ENTRY-NAME''
 
  '''GET''' /packages/OLPC/''OLPC-RELEASE''/''METADATA-ENTRY-NAME''
Line 71: Line 73:     
Where {{Code|PATH}} is either relative or absolute path to the targeting rpm on the same server.
 
Where {{Code|PATH}} is either relative or absolute path to the targeting rpm on the same server.
 +
 +
<div id="GET_packages_updates"></div>
 +
 +
'''GET''' /package/OLPC/''OLPC-RELEASE''/updates
 +
 +
Returns JSON list of package names to fetch updates for. Sugar Network server will dynamically generate response according to HTTP {{Code|If-Modified-Since}} header value.
    
=== Usage ===
 
=== Usage ===