Changes

Jump to navigation Jump to search
Line 66: Line 66:  
  '''GET''' /packages/OLPC/''OLPC-RELEASE''/''METADATA-ENTRY-NAME''
 
  '''GET''' /packages/OLPC/''OLPC-RELEASE''/''METADATA-ENTRY-NAME''
   −
Return a dependency tree for particular entry from the [http://network.sugarlabs.org/hub/?projects&packages metadata list]. The result will server in JSON notation in form of:
+
This request returns a dependency tree for particular entry from the [http://network.sugarlabs.org/hub/?projects&packages metadata list]. The result will be served in JSON notation in form of:
   −
  "arhc": {"name": "''RPM-NAME''", "version": "''RPM-VERSION''", "release": "''RPM-RELEASE''", "path": "''RPM-PATH''"}
+
  "''ARCH''": [{"name": "''PACKAGE''", "version": "''VERSION''", "release": "''RELEASE''", "path": "''PATH''"}]
   −
Where {{Code|RPM-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.
    
=== Usage ===
 
=== Usage ===

Navigation menu