aboutsummaryrefslogtreecommitdiffstats
path: root/doc/afm-user-daemon.md
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.md
parent2c6fcae14552ab6e7addc82516617a135f86b5ca (diff)
doc: more documentation
Change-Id: I34d3442e928e310608800d3325f0547872ec21ff Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'doc/afm-user-daemon.md')
-rw-r--r--doc/afm-user-daemon.md57
1 files changed, 6 insertions, 51 deletions
diff --git a/doc/afm-user-daemon.md b/doc/afm-user-daemon.md
index 107b399..b7b6636 100644
--- a/doc/afm-user-daemon.md
+++ b/doc/afm-user-daemon.md
@@ -3,7 +3,7 @@ The afm-user-daemon
===================
version: 1
- Date: 14 March 2016
+ Date: 15 March 2016
Author: José Bollo
@@ -146,6 +146,8 @@ The options for launching **afm-user-daemon** are:
Includes the given application directory to
the database base of applications.
+ Can be repeated.
+
-r
--root directory
@@ -156,6 +158,8 @@ The options for launching **afm-user-daemon** are:
applications is always added. It is defined
to be /usr/share/afm/applications (may change).
+ Can be repeated.
+
-m
--mode (local|remote)
@@ -591,7 +595,7 @@ Or an object:
**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"}
---
@@ -707,52 +711,3 @@ Example of returned state:
**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
-*/
-
-
-