mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-23 08:55:52 -05:00
NIP-01: filters can query any tag
This commit is contained in:
parent
6871b3b334
commit
556d802899
2
01.md
2
01.md
|
@ -124,7 +124,7 @@ Clients can send 3 types of messages, which must be JSON arrays, according to th
|
||||||
"ids": <a list of event ids>,
|
"ids": <a list of event ids>,
|
||||||
"authors": <a list of lowercase pubkeys, the pubkey of an event must be one of these>,
|
"authors": <a list of lowercase pubkeys, the pubkey of an event must be one of these>,
|
||||||
"kinds": <a list of a kind numbers>,
|
"kinds": <a list of a kind numbers>,
|
||||||
"#<single-letter (a-zA-Z)>": <a list of tag values, for #e — a list of event ids, for #p — a list of pubkeys, etc.>,
|
"#<tag>": <a list of tag values, for #e — a list of event ids, for #p — a list of pubkeys, etc.>,
|
||||||
"since": <an integer unix timestamp in seconds, 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 in seconds, 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 relays SHOULD return in the initial query>
|
"limit": <maximum number of events relays SHOULD return in the initial query>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user