-
Notifications
You must be signed in to change notification settings - Fork 13
/
descriptor.json
44 lines (44 loc) · 1018 Bytes
/
descriptor.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"name": "flogo-coap",
"type": "flogo:trigger",
"version": "0.0.1",
"title": "Receive CoAP Message",
"description": "Simple CoAP Trigger",
"settings": [
{
"name": "port",
"type": "integer",
"required": true,
"description": "The port number"
}
],
"output": [
{
"name": "queryParams",
"type": "params",
"description": "The query parameters"
},
{
"name": "payload",
"type": "string",
"description": "The payload of the CoAP Message"
}
],
"handler": {
"settings": [
{
"name": "path",
"type": "string",
"required" : true,
"description": "The path of the CoAP request"
},
{
"name": "method",
"type": "string",
"required": true,
"allowed" : ["GET", "POST", "PUT", "DELETE"],
"description": "The CoAP method to listen on"
}
]
}
}