diff options
| author | tcheeric <tchepane@hey.com> | 2023-07-02 11:57:27 +0100 |
|---|---|---|
| committer | fiatjaf_ <fiatjaf@gmail.com> | 2023-07-02 08:41:03 -0300 |
| commit | e0fc913719aae2ed1b10884e80f085218738f65d (patch) | |
| tree | 2301b14f910008911b9e3e47b44ddecb1a640ab0 | |
| parent | fab6a21a779460f696f11169ddf343b437327592 (diff) | |
For clarification, the time unit for all date attributes in the filters (since, until) are in seconds
| -rw-r--r-- | 01.md | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | ``` |