mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 08:25:53 -05:00
Update 94.md
suggestion by arthurfranca Co-authored-by: arthurfranca <arthur.a.franca@gmail.com>
This commit is contained in:
parent
564d06b8a2
commit
2b8f12caab
1
94.md
1
94.md
|
@ -8,7 +8,6 @@ Also the goal is to create a base on the protocol for this bountsr "Filesharing
|
||||||
Nostr event
|
Nostr event
|
||||||
------------------
|
------------------
|
||||||
This NIP specifies the use of the `30063` event type (parameterized replaceable event), having in `content` a description of the file content, and a list of tags described below:
|
This NIP specifies the use of the `30063` event type (parameterized replaceable event), having in `content` a description of the file content, and a list of tags described below:
|
||||||
* `d` containing the name of the shared file to allow it to be overwritten in the future.
|
|
||||||
* `url` the url to download the file
|
* `url` the url to download the file
|
||||||
* `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)
|
* `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)
|
||||||
* `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
|
* `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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user