Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions kinds/5205.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
layout: default
title: Archive media to Blossom
description: Summarize input(s)
---

# Input

The URL of the content to be archived, either from YouTube or from TikTok.

# Output

A JSON object with details about the uploads and events created in the process:

```json
{
"eventId": "6641da6a8f8d20acdad49b2bdbef3f57cf51f4e145be6a472903560f51a7bd4b",
"video": "33528c883ea0f8b74f5f7433c7797ca36b9747799231aa7a9489423cbabfb217",
"thumb": "ce1681a9bd006a2a9456f92fecad47372a5eb921488826856451c5f0ed8fac29",
"info": "c674b4a2d431c34372ac9364a1e9207ee6fee82b36d392b4b52cff0c007f0604",
"naddr": {
"identifier": "youtube-5hPtU8Jbpg0",
"pubkey": "...",
"relays": ["wss://some.relay.net/"],
"kind": 34235
}
}
```

# Example

## Input

```json
{
"kind": 5205,
"tags": [["i", "https://www.youtube.com/watch?v=CQ4G2wLdGSE", "url"]]
}
```

## Output

```
{
"kind": 6205,
"content": "{\"eventId\":\"6641da6a8f8d20acdad49b2bdbef3f57cf51f4e145be6a472903560f51a7bd4b\",\"video\":\"33528c883ea0f8b74f5f7433c7797ca36b9747799231aa7a9489423cbabfb217\",\"thumb\":\"ce1681a9bd006a2a9456f92fecad47372a5eb921488826856451c5f0ed8fac29\",\"info\":\"c674b4a2d431c34372ac9364a1e9207ee6fee82b36d392b4b52cff0c007f0604\",\"naddr\":{\"identifier\":\"youtube-5hPtU8Jbpg0\",\"pubkey\":\"3d70ed1c5f9a9103487c16f575bcd21d7cf4642e2e86539915cee78b2d68948c\",\"relays\":[\"wss://vidono.apps.slidestr.net/\"],\"kind\":34235}}",
"tags": [
["request", "... "],
["e", "170d42b31da8bd582b6797b3a74a2df8238538a65433baee7e59f746df1de9f1"],
["p", "..."],
["i", "https://www.youtube.com/watch?v=5hPtU8Jbpg0", "url"],
["expiration", "1733264732"]
]
}
```