Update 96.md

This commit is contained in:
K 2024-09-03 23:47:11 +03:30 committed by GitHub
parent e6552476aa
commit c8dc1eadff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

4
96.md
View File

@ -143,7 +143,7 @@ The upload response is a json object as follows:
// and, optionally, all file metadata the server wants to make available // and, optionally, all file metadata the server wants to make available
// //
// nip94_event field is absent if unsuccessful upload // nip94_event field is absent if unsuccessful upload
"nip94_event2":{ "nip94_event2": {
// Required tags: "url" and "ox" // Required tags: "url" and "ox"
"tags": [ "tags": [
// Can be same from /.well-known/nostr/nip96.json's "download_url" field // Can be same from /.well-known/nostr/nip96.json's "download_url" field
@ -166,7 +166,7 @@ The upload response is a json object as follows:
// The server can but does not need to store this value. // The server can but does not need to store this value.
["x", "543244319525d9d08dd69cb716a18158a249b7b3b3ec4bbde5435543acb34443"], ["x", "543244319525d9d08dd69cb716a18158a249b7b3b3ec4bbde5435543acb34443"],
// Optional. Recommended for helping clients to easily know file type before downloading it. // Optional. Recommended for helping clients to easily know file type before downloading it.
["m", "image/png"] ["m", "image/png"],
// Optional. Recommended for helping clients to reserve an adequate UI space to show the file before downloading it. // Optional. Recommended for helping clients to reserve an adequate UI space to show the file before downloading it.
["dim", "800x600"] ["dim", "800x600"]
// ... other optional NIP-94 tags // ... other optional NIP-94 tags