For clarification, the time unit for all date attributes in the filters (since, until) are in seconds

This commit is contained in:
tcheeric 2023-07-02 11:57:27 +01:00 committed by fiatjaf_
parent fab6a21a77
commit e0fc913719

4
01.md
View File

@ -66,8 +66,8 @@ Clients can send 3 types of messages, which must be JSON arrays, according to th
"kinds": <a list of a kind numbers>, "kinds": <a list of a kind numbers>,
"#e": <a list of event ids that are referenced in an "e" tag>, "#e": <a list of event ids that are referenced in an "e" tag>,
"#p": <a list of pubkeys that are referenced in a "p" tag>, "#p": <a list of pubkeys that are referenced in a "p" tag>,
"since": <an integer unix timestamp, events must be newer than this to pass>, "since": <an integer unix timestamp in seconds, events must be newer than this to pass>,
"until": <an integer unix timestamp, events must be older than this to pass>, "until": <an integer unix timestamp in seconds, events must be older than this to pass>,
"limit": <maximum number of events to be returned in the initial query> "limit": <maximum number of events to be returned in the initial query>
} }
``` ```