|
|
| Line 159: |
Line 159: |
| * {{Code|name}} name of RRD database to upload stats to; | | * {{Code|name}} name of RRD database to upload stats to; |
| * {{Code|values}} an array of {{Code|timestamp, row}} tuples when {{Code|row}} is a dictionary of database field names and values. | | * {{Code|values}} an array of {{Code|timestamp, row}} tuples when {{Code|row}} is a dictionary of database field names and values. |
|
| |
| == Additional resources ==
| |
|
| |
| In addition to direct Sugar Network [[#Resources|resources]], API provides related content.
| |
|
| |
| === packagekit-backend-presolve ===
| |
|
| |
| In order to provide GNU/Linux-distribution-agnostic launches of activities, Sugar Network API supports [[Platform_Team/packagekit-backend-presolve|packagekit-backend-presolve]] users.
| |
|
| |
| API server provides the following kinds of urls:
| |
|
| |
| * {{Code|'''GET''' /packages}}<br>list all supported platforms;
| |
| * {{Code|'''GET''' /packages/<PLATFORM>}}<br>list all supported packages for a particular platform;
| |
| * {{Code|'''GET''' /packages/<PLATFORM>/<PACKAGE>}}<br>pre-solved dependency graph for a particular package.
| |
|
| |
| Where:
| |
|
| |
| * {{Code|PLATFORM}}<br>one of supported packagekit-backend-presolve platforms, e.g., OLPC-13.0.1;
| |
| * {{Code|PACKAGE}}<br>a name of the particular package.
| |
|
| |
| Using [[#GNU/Linux packages metadata|Packages]]' metadata, [[Sugar Network]] will automatically generate dependency graphs for packagekit-backend-presolve.
| |
|
| |
|
| == Local access == | | == Local access == |