diff --git a/kinds/5904.md b/kinds/5904.md new file mode 100644 index 0000000..8246a5b --- /dev/null +++ b/kinds/5904.md @@ -0,0 +1,55 @@ +--- +layout: default +title: Website Archival +description: Archive a website and publish it to Blossom +--- + +# Input + +The website URL, normalized to exclude unnecessary query strings, hashes and with ending slashes removed. + +# Output + +`content` MUST contain the URL of the archived website in WARC or WACZ format, published to a Blossom server. + +# Example + +## Request + +```json +{ + "content": "", + "kind": 5904, + "pubkey": "", + "tags": [ + ["i", "https://data-vending-machines.org", "url"] + ] +} +``` + +## Response + +```json +{ + "content": "https://blossom.nostr.download/b6a60f7fe5119831bc90787ade1ce91b2110ed5750243146ef050a50ac36cc21.wacz", + "kind": 6904, + "tags": [ + [ + "i", + "https://data-vending-machines.org" + ], + [ + "p", + "" + ], + [ + "e", + "" + ], + [ + "t", + "wacz" + ] + ] +} +```