aboutsummaryrefslogtreecommitdiffstats
path: root/src/harvester-apidef.json
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-04-14 01:57:17 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-10 23:41:14 +0200
commit5d50f0426699a06b5720e10f1feaef35c8b59f57 (patch)
tree34641293f0eef907c89ffa1cb6d6b80b863106fc /src/harvester-apidef.json
parentbe6447ca2038c84d2e946e27b897815e95c48e34 (diff)
Improve writer/reader processing
- Handle indefinite number and kind of tags and fields for a metric - Include only once header files - Cleaning and ordering code Change-Id: I14a4f0e6e1626971bff73ce7d9ac067bda69cfc4 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/harvester-apidef.json')
-rw-r--r--src/harvester-apidef.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/harvester-apidef.json b/src/harvester-apidef.json
index c8612d3..1601f35 100644
--- a/src/harvester-apidef.json
+++ b/src/harvester-apidef.json
@@ -8,7 +8,7 @@
"x-binding-c-generator": {
"api": "harvester",
"version": 2,
- "prefix": "",
+ "prefix": "afv_",
"postfix": "",
"start": null ,
"onevent": null,
@@ -82,7 +82,7 @@
},
"x-permissions": {
"monitor": {
- "permission": "urn:AGL:permission:low-can:public:monitor"
+ "permission": "urn:AGL:permission:harvester:public:monitor"
},
"write": {
"permission": "urn:AGL:permission::platform:can:write "
@@ -113,7 +113,7 @@
}
}
},
- "/record": {
+ "/write": {
"description": "Record a metric to local TSDB and Cloud service if available",
"get": {
"x-permissions": {