upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/11.md
diff options
context:
space:
mode:
Diffstat (limited to '11.md')
-rw-r--r--11.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/11.md b/11.md
index 5c3b9da..0497883 100644
--- a/11.md
+++ b/11.md
@@ -17,6 +17,7 @@ When a relay receives an HTTP(s) request with an `Accept` header of `application
17 "banner": <a link to an image (e.g. in .jpg, or .png format)>, 17 "banner": <a link to an image (e.g. in .jpg, or .png format)>,
18 "icon": <a link to an icon (e.g. in .jpg, or .png format>, 18 "icon": <a link to an icon (e.g. in .jpg, or .png format>,
19 "pubkey": <administrative contact pubkey>, 19 "pubkey": <administrative contact pubkey>,
20 "self": <relay's own pubkey>,
20 "contact": <administrative alternate contact>, 21 "contact": <administrative alternate contact>,
21 "supported_nips": <a list of NIP numbers supported by the relay>, 22 "supported_nips": <a list of NIP numbers supported by the relay>,
22 "software": <string identifying relay software URL>, 23 "software": <string identifying relay software URL>,
@@ -60,6 +61,10 @@ An administrative contact may be listed with a `pubkey`, in the same format as N
60 61
61Relay operators have no obligation to respond to direct messages. 62Relay operators have no obligation to respond to direct messages.
62 63
64### Self
65
66A relay MAY maintain an identity independent from its administrator using the `self` field, which MUST be a 32-byte hex public key. This allows relays to respond to requests with events published either in advance or on demand by their own key.
67
63### Contact 68### Contact
64 69
65An alternative contact may be listed under the `contact` field as well, with the same purpose as `pubkey`. Use of a Nostr public key and direct message SHOULD be preferred over this. Contents of this field SHOULD be a URI, using schemes such as `mailto` or `https` to provide users with a means of contact. 70An alternative contact may be listed under the `contact` field as well, with the same purpose as `pubkey`. Use of a Nostr public key and direct message SHOULD be preferred over this. Contents of this field SHOULD be a URI, using schemes such as `mailto` or `https` to provide users with a means of contact.