mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 08:25:53 -05:00
NIP-09: Add a
tag deletion (#600)
Co-authored-by: arthurfranca <arthur.a.franca@gmail.com>
This commit is contained in:
parent
3331b5610c
commit
58f1667479
5
09.md
5
09.md
|
@ -8,7 +8,7 @@ Event Deletion
|
||||||
|
|
||||||
A special event with kind `5`, meaning "deletion" is defined as having a list of one or more `e` tags, each referencing an event the author is requesting to be deleted.
|
A special event with kind `5`, meaning "deletion" is defined as having a list of one or more `e` tags, each referencing an event the author is requesting to be deleted.
|
||||||
|
|
||||||
Each tag entry must contain an "e" event id intended for deletion.
|
Each tag entry must contain an "e" event id and/or NIP-33 `a` tags intended for deletion.
|
||||||
|
|
||||||
The event's `content` field MAY contain a text note describing the reason for the deletion.
|
The event's `content` field MAY contain a text note describing the reason for the deletion.
|
||||||
|
|
||||||
|
@ -20,7 +20,8 @@ For example:
|
||||||
"pubkey": <32-bytes hex-encoded public key of the event creator>,
|
"pubkey": <32-bytes hex-encoded public key of the event creator>,
|
||||||
"tags": [
|
"tags": [
|
||||||
["e", "dcd59..464a2"],
|
["e", "dcd59..464a2"],
|
||||||
["e", "968c5..ad7a4"]
|
["e", "968c5..ad7a4"],
|
||||||
|
["a", "<kind>:<pubkey>:<d-identifier>"]
|
||||||
],
|
],
|
||||||
"content": "these posts were published by accident",
|
"content": "these posts were published by accident",
|
||||||
...other fields
|
...other fields
|
||||||
|
|
Loading…
Reference in New Issue
Block a user