summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-05-06 00:35:56 +0200
committerChristian Pointner <equinox@spreadspace.org>2017-05-06 00:35:56 +0200
commit4f0d1b60b09422dc3fbf94d6f853bf72fb6c7f9b (patch)
treeda793a4657b4cf1b11038c834af0b7522fc9048b /doc
parentremove now uneeded retry for append (diff)
added additional protocol fields for forwarder hubs
Diffstat (limited to 'doc')
-rw-r--r--doc/protocol.md16
1 files changed, 11 insertions, 5 deletions
diff --git a/doc/protocol.md b/doc/protocol.md
index ff0cc51..29391c6 100644
--- a/doc/protocol.md
+++ b/doc/protocol.md
@@ -10,6 +10,10 @@ update messages.
{
"version": 1,
+ "SourceHubUuid": "f7df89b4-171e-4b2f-a8a4-e58ac99e5dc5",
+ "SourceHubDataUpdateId": 23,
+ "ForwardHubUuid": "b041315e-5039-4c75-81e8-9fd42250b011",
+ "ForwardHubDataUpdateId": 42,
"hostname": "myhostname",
"streamer-id": { "content-id": "av-orig", "format": "flash", "quality": "medium" },
"tags": [ "elevate", "2014", "discourse" ]
@@ -22,15 +26,17 @@ data-update
All values which have been defined by the init message are optional. In any case the
values from data updates override values from init. Stateless interfaces will not use
init messages and therefore all values must be defined here.
-If an interface (i.e. REST) has other means to detect protocol versions the version
-field may be omitted entirely.
-"SourceHubUuid", "SourceHubDataUpdateId", "user-agent", "bytes-received", "tags" and
-"clients" might be omitted and are treated as an empty string, 0 or empty array
-respectively.
+"SourceHubUuid", "SourceHubDataUpdateId", "ForwardHubUuid", "ForwardHubDataUpdateId",
+"user-agent", "bytes-received", "tags" and "clients" might be omitted and are treated
+as an empty string, 0 or empty array respectively.
The start-time will be processesd and stored with millisecond precision.
{
"version": 1,
+ "SourceHubUuid": "f7df89b4-171e-4b2f-a8a4-e58ac99e5dc5",
+ "SourceHubDataUpdateId": 23,
+ "ForwardHubUuid": "b041315e-5039-4c75-81e8-9fd42250b011",
+ "ForwardHubDataUpdateId": 42,
"hostname": "myhostname",
"streamer-id": { "content-id": "av-orig", "format": "flash", "quality": "medium" },
"tags": [ "elevate", "2014", "discourse" ]