mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-09-30 00:41:20 +00:00
Update 22.md
Co-authored-by: dluvian <133484344+dluvian@users.noreply.github.com>
This commit is contained in:
parent
61addbd271
commit
a52b483be0
2
22.md
2
22.md
@ -22,7 +22,7 @@ A comment is an event of `kind:1111` with plaintext `.content`
|
|||||||
It must have a `k` tag pointing to the kind of the subject being commented on.
|
It must have a `k` tag pointing to the kind of the subject being commented on.
|
||||||
For example, when commenting on a `kind:30023`, the `k` tag is set to "30023".
|
For example, when commenting on a `kind:30023`, the `k` tag is set to "30023".
|
||||||
When replying to another `kind:1111`, the `k` tag is set to "1111".
|
When replying to another `kind:1111`, the `k` tag is set to "1111".
|
||||||
If commenting on an `https://abc.com/articles/1` artcile the `k` tag is set to "https://abc.com" (its domain).
|
If commenting on an `https://abc.com/articles/1` article the `k` tag is set to "https://abc.com" (its domain).
|
||||||
The `k` tag is useful to fetch top-level comments about events of specific kinds (or domains), for example,
|
The `k` tag is useful to fetch top-level comments about events of specific kinds (or domains), for example,
|
||||||
by filtering with `{ "#k": ["30023"], "kinds": [1111] }`.
|
by filtering with `{ "#k": ["30023"], "kinds": [1111] }`.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user