X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=doc%2Fafm-user-daemon.html;h=29001bbd88fb9d0a59f91d520d68567c813e7d5d;hb=10ce08a3706339eb354296ce7c0101f0b1df1acf;hp=cc9cb121e01f9c7b60a9f18627022352bd266f0f;hpb=ddd10705d70b598160a41d197f364d2f792359f5;p=src%2Fapp-framework-main.git diff --git a/doc/afm-user-daemon.html b/doc/afm-user-daemon.html index cc9cb12..29001bb 100644 --- a/doc/afm-user-daemon.html +++ b/doc/afm-user-daemon.html @@ -8,7 +8,7 @@
version: 1
-Date: 14 March 2016
+Date: 15 March 2016
Author: José Bollo
@@ -152,6 +152,8 @@ located at /usr/lib/systemd/user/afm-user-daemon.service.
Includes the given application directory to
the database base of applications.
+ Can be repeated.
+
-r
--root directory
@@ -162,6 +164,8 @@ located at /usr/lib/systemd/user/afm-user-daemon.service.
applications is always added. It is defined
to be /usr/share/afm/applications (may change).
+ Can be repeated.
+
-m
--mode (local|remote)
@@ -601,7 +605,7 @@ a flag to force reinstallation, and, optionaly, a root directo
output: An object with the field “added” being the string for the id of the added application.
-{"added":"appli@x.y" }
+{"added":"appli@x.y"}
@@ -728,50 +732,5 @@ or “stopped”).
output: An array of states, one per running instance, as returned by
the methodd org.AGL.afm.user.state.
-
-
-The afb plugin
-
-The base of the path is FWKAPI = /api/fwk
-
-request FWKAPI/runnables
- – get the list of applications
- => [ APPDESC… ]
-
-request FWKAPI/detail?id=APPID
- subject to languages tuning
- => { “id”: “APPID”, “name”: “name”, “description”: “description”, “license”: “license”, “author”: “author” }
-
-/
-request FWKAPI/icon?id=APPID
- subject to languages tuning
- => the icon image
-/
-
-request FWKAPI/run?id=APPID
- => { “status”: “done/error”, “data”: { “runid”: “RUNID” } }
-
-request FWKAPI/running
- => [ { “id”: “RUNID”, “appid”: “APPID”, “state”: … }… ]
-
-request FWKAPI/state?id=RUNID
- => { “id”: “RUNID”, “appid”: “APPID”, “state”: … }
-
-request FWKAPI/stop?id=RUNID
- => { “error”: “message” ou “done”: “RUNID” }
-
-request FWKAPI/suspend?id=RUNID
- => { “error”: “message” ou “done”: “RUNID” }
-
-request FWKAPI/resume?id=RUNID
- => { “error”: “message” ou “done”: “RUNID” }
-
-/*
-request FWKAPI/features
- => returns the features of the current application
-
-request FWKAPI/preferences
- => returns the features of the current application
-*/