aboutsummaryrefslogtreecommitdiffstats
path: root/doc/afm-user-daemon.html
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-03-18 17:29:08 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2016-03-18 17:29:08 +0100
commitf2bde701a9873c69897e599a7da08a0d113a86ab (patch)
tree3357827d6a8a3f4bf7bb6eb52b1549aea4ed849c /doc/afm-user-daemon.html
parent2c6fcae14552ab6e7addc82516617a135f86b5ca (diff)
doc: more documentation
Change-Id: I34d3442e928e310608800d3325f0547872ec21ff Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'doc/afm-user-daemon.html')
-rw-r--r--doc/afm-user-daemon.html53
1 files changed, 6 insertions, 47 deletions
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 @@
<h1>The afm-user-daemon</h1>
<pre><code>version: 1
-Date: 14 March 2016
+Date: 15 March 2016
Author: José Bollo
</code></pre>
@@ -152,6 +152,8 @@ located at /usr/lib/systemd/user/afm-user-daemon.service.</p>
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.</p>
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 <em>force</em> reinstallation, and, optionaly, a <em>root</em> directo
<p><strong>output</strong>: An object with the field &ldquo;added&rdquo; being the string for
the id of the added application.</p>
-<pre><code>{"added":"appli@x.y" }
+<pre><code>{"added":"appli@x.y"}
</code></pre>
<hr />
@@ -728,50 +732,5 @@ or &ldquo;stopped&rdquo;).</p>
<p><strong>output</strong>: An array of states, one per running instance, as returned by
the methodd <strong><em>org.AGL.afm.user.state</em></strong>.</p>
-
-<a name="The.afb.plugin"></a>
-<h2>The afb plugin</h2>
-
-<p>The base of the path is FWKAPI = /api/fwk</p>
-
-<p>request FWKAPI/runnables
- &ndash; get the list of applications
- => [ APPDESC&hellip; ]</p>
-
-<p>request FWKAPI/detail?id=APPID
- subject to languages tuning
- => { &ldquo;id&rdquo;: &ldquo;APPID&rdquo;, &ldquo;name&rdquo;: &ldquo;name&rdquo;, &ldquo;description&rdquo;: &ldquo;description&rdquo;, &ldquo;license&rdquo;: &ldquo;license&rdquo;, &ldquo;author&rdquo;: &ldquo;author&rdquo; }</p>
-
-<p>/<em>
-request FWKAPI/icon?id=APPID
- subject to languages tuning
- => the icon image
-</em>/</p>
-
-<p>request FWKAPI/run?id=APPID
- => { &ldquo;status&rdquo;: &ldquo;done/error&rdquo;, &ldquo;data&rdquo;: { &ldquo;runid&rdquo;: &ldquo;RUNID&rdquo; } }</p>
-
-<p>request FWKAPI/running
- => [ { &ldquo;id&rdquo;: &ldquo;RUNID&rdquo;, &ldquo;appid&rdquo;: &ldquo;APPID&rdquo;, &ldquo;state&rdquo;: &hellip; }&hellip; ]</p>
-
-<p>request FWKAPI/state?id=RUNID
- => { &ldquo;id&rdquo;: &ldquo;RUNID&rdquo;, &ldquo;appid&rdquo;: &ldquo;APPID&rdquo;, &ldquo;state&rdquo;: &hellip; }</p>
-
-<p>request FWKAPI/stop?id=RUNID
- => { &ldquo;error&rdquo;: &ldquo;message&rdquo; ou &ldquo;done&rdquo;: &ldquo;RUNID&rdquo; }</p>
-
-<p>request FWKAPI/suspend?id=RUNID
- => { &ldquo;error&rdquo;: &ldquo;message&rdquo; ou &ldquo;done&rdquo;: &ldquo;RUNID&rdquo; }</p>
-
-<p>request FWKAPI/resume?id=RUNID
- => { &ldquo;error&rdquo;: &ldquo;message&rdquo; ou &ldquo;done&rdquo;: &ldquo;RUNID&rdquo; }</p>
-
-<p>/*
-request FWKAPI/features
- => returns the features of the current application</p>
-
-<p>request FWKAPI/preferences
- => returns the features of the current application
-*/</p>
</body>
</html>