upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrbittencourt <fbittencourt@neadvance.com>2023-04-05 15:11:59 +0100
committerfiatjaf_ <fiatjaf@gmail.com>2023-04-20 08:06:14 -0300
commitbfd2a0fc38f85371a85f47891565f410ed0af48f (patch)
tree24278abe95a5e5966eca55da8816bab99aab3d76
parentf766a850cd6cc72f35681906b519031745cbc5a8 (diff)
fixed text description
-rw-r--r--94.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/94.md b/94.md
index 005ef26..78c7056 100644
--- a/94.md
+++ b/94.md
@@ -7,8 +7,8 @@ Also the goal is to create a base on the protocol for this bountsr "Filesharing
7 7
8Nostr event 8Nostr event
9------------------ 9------------------
10This NIP specifies the use of the `1063` event type (parameterized replaceable event), having in `content` a description of the file content, and a list of tags described below: 10This NIP specifies the use of the `1063` event type, having in `content` a description of the file content, and a list of tags described below:
11* `r` the url to download the file, without trailing slash 11* `r` 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* `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".