1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Updated Node msg Conventions (markdown)

zobalogh 2014-12-10 08:05:48 -08:00
parent 11beecd955
commit efd0bd2134

@ -21,7 +21,8 @@ There are a few reserved properties within the structure of the msg objects bein
### For Fitness/activity based nodes/flows: ### ### For Fitness/activity based nodes/flows: ###
* **msg.payload.id** - The ID of the activity in the given fitness system/API * **msg.payload.id** - The ID of the activity in the given fitness system/API
* **msg.payload.type** - The type of the activity, example: run/cycle ride
* **msg.payload.duration** - Duration of the activity in **seconds** * **msg.payload.duration** - Duration of the activity in **seconds**
* **msg.payload.distance** - Distance of activity in **metres** * **msg.payload.distance** - Distance of activity in **metres**
* **msg.payload.calories** - Calories burned during activity in **kilocalories** * **msg.payload.calories** - Calories burned during activity in **kilocalories**
* **msg.payload.starttime** - JavaScript Date object representing the start time of the activity * **msg.payload.starttime** - JavaScript Date object representing the start time of the activity