diff options
Diffstat (limited to 'doc/protocol.md')
-rw-r--r-- | doc/protocol.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/protocol.md b/doc/protocol.md index fdd51ee..ff0cc51 100644 --- a/doc/protocol.md +++ b/doc/protocol.md @@ -4,7 +4,7 @@ Messages init ---- -All fields except version are optional. The values in this message are treated as +All fields except "version" are optional. The values in this message are treated as defaults which will be used if the corresponding value is missing in subsequent update messages. @@ -24,6 +24,9 @@ values from data updates override values from init. Stateless interfaces will no 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. The start-time will be processesd and stored with millisecond precision. { |