Update api.md

This commit is contained in:
Patrick Balsiger
2018-09-23 20:01:30 +00:00
parent d01a8ab8c5
commit 2dcbf22b09

8
api.md
View File

@@ -4,11 +4,9 @@ Both can be used with the same set of fields.
Everything is propagated to the mesh network automatically. Everything is propagated to the mesh network automatically.
Fields: Fields:
| Field | Type | Description | - topic
| ------- | -------------- | ---------------------------------------------- | - payload
| topic | String | Name of the topic where the data is dispatched |
| payload | Integer/String | Data |
## Topics ## Topics
All functionality can be used by sending messages to these topics. All functionality can be used by sending messages to these topics.