Note the /e/ handler and photo focus in the NIP-89 app handler doc
This commit is contained in:
1 file changed
+7
-5
@@ -59,12 +59,14 @@ sign through `nak` with an explicit signer from `NOSTR_SECRET_KEY` (an
|
||||
- **`k`** lists every event kind Marco handles. Add `["k", "30360"]` when place
|
||||
reviews ship.
|
||||
- **`web`** is a URL template. Clients replace `<bech32>` with the NIP-19
|
||||
encoding of the entity they want to open, then load the URL. For `kind 360`
|
||||
events the entity is a `nevent`, so Marco must be able to resolve a
|
||||
`nevent` at `/e/:nevent` to the event's place. **That route is planned but
|
||||
not implemented yet**; publish the handler only once it exists.
|
||||
encoding of the entity to open, then load the URL. Marco resolves this at
|
||||
`/e/:event_id`, reads the event's `i` tag and opens its place. When the event
|
||||
is a place photo, it focuses that photo in the place's carousel (the place URL
|
||||
gains a `?photo=<event-id>` query param). It accepts a raw 64-hex event id,
|
||||
`note1`/`nevent1`/`naddr1` codes (relay hints included), an optional `nostr:`
|
||||
prefix, and full permalinks (resolved via the last path segment).
|
||||
- The second `web` value (`nevent`) makes the tag kind-specific. When reviews
|
||||
ship, add a `naddr` template (reviews are addressable) pointing at the same
|
||||
ship, add an `naddr` template (reviews are addressable) pointing at the same
|
||||
route, since an `naddr` resolves to the reviewed place too.
|
||||
|
||||
## Recommendation event (`kind 31989`)
|
||||
|
||||
Reference in new issue
Block a user