upleb.uk

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

summaryrefslogtreecommitdiff
path: root/94.md
diff options
context:
space:
mode:
Diffstat (limited to '94.md')
-rw-r--r--94.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/94.md b/94.md
index 21eefc9..13cd231 100644
--- a/94.md
+++ b/94.md
@@ -11,6 +11,7 @@ This NIP specifies the use of the `30063` event type (parameterized replaceable
11* `url` the url to download the file 11* `url` the url to download the file
12* `type` a string indicating the data type of the file. The MIME types format must be used (https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) 12* `type` a string indicating the data type of the file. The MIME types format must be used (https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types)
13* `decrypt` (optional) If the file is encrypted, you must indicate in the first value the algorithm used to encrypt the file and in the second value the parameters that allow the decryption of the file 13* `decrypt` (optional) If the file is encrypted, you must indicate in the first value the algorithm used to encrypt the file and in the second value the parameters that allow the decryption of the file
14* `hash` containing the SHA-256 hexencoded string of the file or the BlurHash string (for images). The third array value is the lowercase chosen algorithm name: "sha256" or "blurhash".
14 15
15```json 16```json
16{ 17{