upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortcheeric <tchepane@hey.com>2023-07-02 11:57:27 +0100
committerfiatjaf_ <fiatjaf@gmail.com>2023-07-02 08:41:03 -0300
commite0fc913719aae2ed1b10884e80f085218738f65d (patch)
tree2301b14f910008911b9e3e47b44ddecb1a640ab0
parentfab6a21a779460f696f11169ddf343b437327592 (diff)
For clarification, the time unit for all date attributes in the filters (since, until) are in seconds
-rw-r--r--01.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/01.md b/01.md
index 0744058..2ff81eb 100644
--- a/01.md
+++ b/01.md
@@ -66,8 +66,8 @@ Clients can send 3 types of messages, which must be JSON arrays, according to th
66 "kinds": <a list of a kind numbers>, 66 "kinds": <a list of a kind numbers>,
67 "#e": <a list of event ids that are referenced in an "e" tag>, 67 "#e": <a list of event ids that are referenced in an "e" tag>,
68 "#p": <a list of pubkeys that are referenced in a "p" tag>, 68 "#p": <a list of pubkeys that are referenced in a "p" tag>,
69 "since": <an integer unix timestamp, events must be newer than this to pass>, 69 "since": <an integer unix timestamp in seconds, events must be newer than this to pass>,
70 "until": <an integer unix timestamp, events must be older than this to pass>, 70 "until": <an integer unix timestamp in seconds, events must be older than this to pass>,
71 "limit": <maximum number of events to be returned in the initial query> 71 "limit": <maximum number of events to be returned in the initial query>
72} 72}
73``` 73```