mirror of
https://github.com/edufeed-org/nips.git
synced 2025-12-09 16:24:32 +00:00
adds a tags.
This commit is contained in:
parent
3834c6b604
commit
4bcf91944a
1 changed files with 5 additions and 2 deletions
7
25.md
7
25.md
|
|
@ -25,12 +25,15 @@ consider it a "+".
|
|||
Tags
|
||||
----
|
||||
|
||||
The reaction event SHOULD include `e` and `p` tags pointing to the note the user is
|
||||
The reaction event SHOULD include `a`, `e` and `p` tags pointing to the note the user is
|
||||
reacting to. The `p` tag allows authors to be notified. The `e` tags enables clients
|
||||
to pull all the reactions to individual posts.
|
||||
to pull all the reactions to individual events and `a` tags enables clients to seek reactions
|
||||
for all versions of a replaceable event.
|
||||
|
||||
The `e` tag MUST be the `id` of the note that is being reacted to.
|
||||
|
||||
The `a` tag MUST contain the coordinates (`kind:pubkey:d-tag`) of the replaceable being reacted to.
|
||||
|
||||
The `p` tag MUST be the `pubkey` of the event being reacted to.
|
||||
|
||||
The reaction event MAY include a `k` tag with the stringified kind number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue