mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-02-22 13:19:00 +00:00
Change kind number to 30011
- Update from 30001 (which was previously deprecated) to 30011 - Update all examples and documentation to use new kind number
This commit is contained in:
parent
13c89d66f3
commit
fcbbb4a9b9
12
74.md
12
74.md
@ -23,9 +23,9 @@ The distinction from personal bookmarks (NIP-51) is intentional - while bookmark
|
||||
|
||||
## Event Format
|
||||
|
||||
### Kind: 30001
|
||||
### Kind: 30011
|
||||
|
||||
Link list events use kind `30001`.
|
||||
Link list events use kind `30011`.
|
||||
|
||||
### Content
|
||||
|
||||
@ -81,7 +81,7 @@ Extended Protocols:
|
||||
2. Protocol-Specific Metadata:
|
||||
```json
|
||||
{
|
||||
"kind": 30001,
|
||||
"kind": 30011,
|
||||
"tags": [
|
||||
["ll", "list"],
|
||||
["d", "Mixed Protocol Resources"],
|
||||
@ -105,7 +105,7 @@ Extended Protocols:
|
||||
1. Basic link list with default language:
|
||||
```json
|
||||
{
|
||||
"kind": 30001,
|
||||
"kind": 30011,
|
||||
"tags": [
|
||||
["ll", "list"],
|
||||
["d", "Favorite Programming Resources"],
|
||||
@ -121,7 +121,7 @@ Extended Protocols:
|
||||
2. Multilingual list with mixed content:
|
||||
```json
|
||||
{
|
||||
"kind": 30001,
|
||||
"kind": 30011,
|
||||
"tags": [
|
||||
["ll", "list"],
|
||||
["d", "Global Dev Resources"],
|
||||
@ -164,7 +164,7 @@ This separation of concerns allows:
|
||||
|
||||
To discover a user's link lists:
|
||||
1. Filter for events by the user's pubkey
|
||||
2. Filter for events with kind 30001
|
||||
2. Filter for events with kind 30011
|
||||
3. Filter for events with the tag `["ll", "list"]`
|
||||
|
||||
## Client Behavior
|
||||
|
Loading…
Reference in New Issue
Block a user