aboutsummaryrefslogtreecommitdiffstats
path: root/docs/config.xml.md
diff options
context:
space:
mode:
authorjobol <jose.bollo@iot.bzh>2017-02-03 23:23:53 +0100
committerjobol <jose.bollo@iot.bzh>2017-02-03 23:23:53 +0100
commit909c2221ef664c247832bebc7e9dfd7c38bae6c7 (patch)
tree0f0ed61821a759415e382eeaaf0501bd53cec4a0 /docs/config.xml.md
parent0c6c12370b8f2b467f64e08b96b21b20e7ee15ee (diff)
Rename binding to api in config.xml
Signed-off-by: jobol <jose.bollo@iot.bzh>
Diffstat (limited to 'docs/config.xml.md')
-rw-r--r--docs/config.xml.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/config.xml.md b/docs/config.xml.md
index 7f413d5..7eac552 100644
--- a/docs/config.xml.md
+++ b/docs/config.xml.md
@@ -101,15 +101,15 @@ features.
The features planned to be implemented are described below.
-### feature name="urn:AGL:widget:required-binding"
+### feature name="urn:AGL:widget:required-api"
-List of the bindings required by the widget.
+List of the api required by the widget.
-Each required binding must be explicited using a <param> entry.
+Each required api must be explicited using a <param> entry.
Example:
```xml
-<feature name="urn:AGL:widget:required-binding">
+<feature name="urn:AGL:widget:required-api">
<param name="urn:AGL:permission:A" value="required" />
<param name="urn:AGL:permission:B" value="optional" />
</feature>
@@ -117,7 +117,7 @@ Example:
This will be *virtually* translated for mustaches to the JSON
```json
-"required-binding": {
+"required-api": {
"param": [
{ "name": "urn:AGL:permission:A", "value": "required", "required": true },
{ "name": "urn:AGL:permission:A", "value": "optional", "optional": true }
@@ -138,7 +138,7 @@ The value is either:
isn't required (required="false") and in that case it is optional.
- optional: the binding is optional
-#### param name=[required binding name]
+#### param name=[required api name]
The value is either:
@@ -160,9 +160,9 @@ The value is either:
isn't required (required="false") and in that case it is optional.
- optional: the permission is optional
-### feature name="urn:AGL:widget:provided-binding"
+### feature name="urn:AGL:widget:provided-api"
-Use this feature for each provided binding of the widget.
+Use this feature for each provided api of the widget.
The parameters are:
#### param name="subid"