forked from TheThingsNetwork/lorawan-webhook-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.yml
27 lines (27 loc) · 772 Bytes
/
example.yml
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
template-id: example
name: Example Template
description: A simple webhook template
logo-url: https://upload.wikimedia.org/wikipedia/commons/3/30/Vector-based_example.svg
info-url: https://www.example.com
documentation-url: https://www.iana.org/domains/reserved
fields:
- id: region
name: Server region
description: On which region should the service endpoint land on
secret: false
default-value: eu
- id: api_key
name: API Key
description: API key used for authorization
secret: false
format: json
headers:
Authorization: Bearer {api_key}
create-downlink-api-key: true
base-url: https://www.example.com{/region}
paths:
uplink-message: /uplink
field-mask:
- end_device_ids.dev_eui
- received_at
- up.uplink_message.decoded_payload