From 9036b00c5f4ff10c167254fd59f5c725dadc1621 Mon Sep 17 00:00:00 2001 From: fang Date: Sat, 7 Dec 2024 21:19:35 +0100 Subject: [PATCH] created_at timestamp is conditionally included As per the comment on owntracks/booklet#157, the created_at timestamp is only included if it differs from the tst GPS fix timestamp. --- docs/tech/json.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tech/json.md b/docs/tech/json.md index fe4485d..24e0ec9 100644 --- a/docs/tech/json.md +++ b/docs/tech/json.md @@ -86,7 +86,7 @@ This location object describes the location of the device that reported it. * `inrids` contains a list of region IDs the device is currently in (e.g. `["6da9cf","3defa7"]`). Might be empty. _(iOS,Android/list of strings/optional)_ * `SSID`, if available, is the unique name of the WLAN. _(iOS,string/optional)_ * `BSSID`, if available, identifies the access point. _(iOS,string/optional)_ -* `created_at` identifies the time at which the message is constructed (vs. `tst` which is the timestamp of the GPS fix) _(iOS,Android)_ +* `created_at` identifies the time at which the message is constructed (if it differs from `tst`, which is the timestamp of the GPS fix) _(iOS,Android/integer/epoch/optional)_ * `m` identifies the monitoring mode at which the message is constructed (_significant_=`1`, _move_=`2`) _(iOS/integer/optional)_ * `_id` random identifier to be used by consumers to correlate & distinguish send/return messages _(Android/string)_