PeerTube (8.1.0)

Download OpenAPI specification:

The PeerTube API is built on HTTP(S) and is RESTful. You can use your favorite HTTP/REST library for your programming language to use PeerTube.

See the REST API quick start for a few examples of using the PeerTube API.

Authentication

When you sign up for an account on a PeerTube instance, you are given the possibility to generate sessions on it, and authenticate there using an access token. Only one access token can currently be used at a time.

Roles

Accounts are given permissions based on their role. There are three roles on PeerTube: Administrator, Moderator, and User. See the roles guide for a detail of their permissions.

Errors

The API uses standard HTTP status codes to indicate the success or failure of the API call, completed by a RFC7807-compliant response body.

HTTP 1.1 404 Not Found
Content-Type: application/problem+json; charset=utf-8

{
  "detail": "Video not found",
  "docs": "https://docs.joinpeertube.org/api-rest-reference.html#operation/getVideo",
  "status": 404,
  "title": "Not Found",
  "type": "about:blank"
}

We provide error type (following RFC7807) and code (internal PeerTube code) values for a growing number of cases, but it is still optional. Types are used to disambiguate errors that bear the same status code and are non-obvious:

HTTP 1.1 403 Forbidden
Content-Type: application/problem+json; charset=utf-8

{
  "detail": "Cannot get this video regarding follow constraints",
  "docs": "https://docs.joinpeertube.org/api-rest-reference.html#operation/getVideo",
  "status": 403,
  "title": "Forbidden",
  "type": "https://docs.joinpeertube.org/api-rest-reference.html#section/Errors/does_not_respect_follow_constraints"
}

Here a 403 error could otherwise mean that the video is private or blocklisted.

Validation errors

Each parameter is evaluated on its own against a set of rules before the route validator proceeds with potential testing involving parameter combinations. Errors coming from validation errors appear earlier and benefit from a more detailed error description:

HTTP 1.1 400 Bad Request
Content-Type: application/problem+json; charset=utf-8

{
  "detail": "Incorrect request parameters: id",
  "docs": "https://docs.joinpeertube.org/api-rest-reference.html#operation/getVideo",
  "instance": "/api/v1/videos/9c9de5e8-0a1e-484a-b099-e80766180",
  "invalid-params": {
    "id": {
      "location": "params",
      "msg": "Invalid value",
      "param": "id",
      "value": "9c9de5e8-0a1e-484a-b099-e80766180"
    }
  },
  "status": 400,
  "title": "Bad Request",
  "type": "about:blank"
}

Where id is the name of the field concerned by the error, within the route definition. invalid-params.<field>.location can be either 'params', 'body', 'header', 'query' or 'cookies', and invalid-params.<field>.value reports the value that didn't pass validation whose invalid-params.<field>.msg is about.

Deprecated error fields

Some fields could be included with previous versions. They are still included but their use is deprecated:

  • error: superseded by detail

Rate limits

We are rate-limiting all endpoints of PeerTube's API. Custom values can be set by administrators:

Endpoint (prefix: /api/v1) Calls Time frame
/* 50 10 seconds
POST /users/token 15 5 minutes
POST /users/register 2* 5 minutes
POST /users/ask-send-verify-email 3 5 minutes

Depending on the endpoint, *failed requests are not taken into account. A service limit is announced by a 429 Too Many Requests status code.

You can get details about the current state of your rate limit by reading the following headers:

Header Description
X-RateLimit-Limit Number of max requests allowed in the current time period
X-RateLimit-Remaining Number of remaining requests in the current time period
X-RateLimit-Reset Timestamp of end of current time period as UNIX timestamp
Retry-After Seconds to delay after the first 429 is received

CORS

This API features Cross-Origin Resource Sharing (CORS), allowing cross-domain communication from the browser for some routes:

| Endpoint | |------------------------- ---| | /api/* | | /download/* | | /lazy-static/* | | /.well-known/webfinger |

In addition, all routes serving ActivityPub are CORS-enabled for all origins.

Static Video Files

Get public Web Video file

PeerTube >= 6.0

path Parameters
filename
required
string

Filename

Responses

Get private Web Video file

PeerTube >= 6.0

Authorizations:
OAuth2
path Parameters
filename
required
string

Filename

query Parameters
videoFileToken
string

Video file token generated by PeerTube so you don't need to provide an OAuth token in the request header.

Responses

Get public HLS video file

Authorizations:
OAuth2
path Parameters
filename
required
string

Filename

Responses

Get private HLS video file

Authorizations:
OAuth2
path Parameters
filename
required
string

Filename

query Parameters
reinjectVideoFileToken
boolean

Ask the server to reinject videoFileToken in URLs in m3u8 playlist

videoFileToken
string

Video file token generated by PeerTube so you don't need to provide an OAuth token in the request header.

Responses

Video Download

Download video files

Download video file

Generate a mp4 container that contains at most 1 video stream and at most 1 audio stream. Mainly used to merge the HLS audio only video file and the HLS video only resolution file.

path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

Video id or UUID

query Parameters
videoFileIds
required
Array of integers

streams of video files to mux in the output

videoFileToken
string

Video file token generated by PeerTube so you don't need to provide an OAuth token in the request header.

Responses

Video Feeds

Server syndication feeds of videos

Comments on videos feeds

path Parameters
format
required
string
Enum: "xml" "rss" "rss2" "atom" "atom1" "json" "json1"

format expected (we focus on making rss the most feature-rich ; it serves Media RSS)

query Parameters
accountId
string

limit listing comments to videos of a specific account

accountName
string

limit listing comments to videos of a specific account

videoChannelId
string

limit listing comments to videos of a specific video channel

videoChannelName
string

limit listing comments to videos of a specific video channel

videoId
string

limit listing comments to a specific video

Responses

Response samples

Content type
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>PeerTube Nightly</title>
        <link>https://peertube2.cpy.re</link>
        <description>This instance is a test instance of the PeerTube project. It is updated to the latest commit in the develop branch every business day, 8pm CET.</description>
        <lastBuildDate>Mon, 10 Aug 2026 03:03:46 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>PeerTube - https://peertube2.cpy.re</generator>
        <image>
            <title>PeerTube Nightly</title>
            <url>https://peertube2.cpy.re/lazy-static/avatars/82936e50-9560-42e7-9e4b-d96309f5c9c9.png</url>
            <link>https://peertube2.cpy.re</link>
        </image>
        <copyright>All rights reserved, unless otherwise specified in the terms specified at https://peertube2.cpy.re/about and potential licenses granted by each content's rightholder.</copyright>
        <atom:link href="https://peertube2.cpy.re/feeds/video-comments.xml?scope=local" rel="self" type="application/rss+xml"/>
        <item>
            <title><![CDATA[7/8/26 | Trilogia: Cap.VI-Terza parte. - Del Papa]]></title>
            <link>https://peertube2.cpy.re/w/ff7wZV7rVTw3osKnQXpam9;threadId=193865</link>
            <guid>https://peertube2.cpy.re/w/ff7wZV7rVTw3osKnQXpam9;threadId=193865</guid>
            <pubDate>Sun, 09 Aug 2026 19:13:58 GMT</pubDate>
            <content:encoded><![CDATA[<p>Cerca su haaterz ( l' Ansa del Medioriente) sezione FOI anno 2023 e e digita ( Cohen)<br />
Usa pure il traduttore e fai italiano-ebraico.<br />
Buona ricerca</p>
]]></content:encoded>
            <dc:creator>Del Papa</dc:creator>
        </item>
        <item>
            <title><![CDATA[Linux passes 10% market share? AI hijacking is the new SEO - Linux Weekly News - Fossery Tech]]></title>
            <link>https://peertube2.cpy.re/w/97Va9Pu7nXkRRX1ZiCGu1p;threadId=193863</link>
            <guid>https://peertube2.cpy.re/w/97Va9Pu7nXkRRX1ZiCGu1p;threadId=193863</guid>
            <pubDate>Sun, 09 Aug 2026 19:13:36 GMT</pubDate>
            <content:encoded><![CDATA[<p>@amartinios oh that's weird. Are you still getting that error? It works fine for me now</p>
]]></content:encoded>
            <dc:creator>Fossery Tech</dc:creator>
        </item>
        <item>
            <title><![CDATA[Mi sono CANCELLATO dai SOCIAL - La  sindrome del papavero alto - ceccoelettrico]]></title>
            <link>https://peertube2.cpy.re/w/7Lv7cdhi2Kwph3SkPGqWiZ;threadId=193861</link>
            <guid>https://peertube2.cpy.re/w/7Lv7cdhi2Kwph3SkPGqWiZ;threadId=193861</guid>
            <pubDate>Sun, 09 Aug 2026 17:45:03 GMT</pubDate>
            <content:encoded><![CDATA[<p>felicemente passato al fediverso,ogni tanto accedo a facebook da browser e lì vedo quanta cattiveria c’è nei contenuti e soprattutto nei commenti e me ne riesco subito,andrebbero vietate quanto meno a livello europeo,queste app sono veramente tossiche</p>
]]></content:encoded>
            <dc:creator>ceccoelettrico</dc:creator>
        </item>
        <item>
            <title><![CDATA[L'imposture du logiciel libre - Aleks - JdLL2026 - Marie_Odile_Morandi]]></title>
            <link>https://peertube2.cpy.re/w/vDxFaTyBEj73Jpk8wMAiSR;threadId=193860</link>
            <guid>https://peertube2.cpy.re/w/vDxFaTyBEj73Jpk8wMAiSR;threadId=193860</guid>
            <pubDate>Sun, 09 Aug 2026 13:08:35 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://videos-libr.es/a/orga_jdll/video-channels" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>orga_jdll</span></a></span> 
Transcription proposée par <span><a href="https://pouet.april.org/@aprilorg" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>aprilorg</span></a></span> 
<a href="https://www.librealire.org/l-imposture-du-logiciel-libre" target="_blank" rel="noopener noreferrer"><span>https://www.</span><span>librealire.org/l-imposture-du-</span><span>logiciel-libre</span></a>
Bonne lecture !</p>]]></content:encoded>
            <dc:creator>Marie_Odile_Morandi</dc:creator>
        </item>
        <item>
            <title><![CDATA[Warum Singularität nichts als Marketing ist - Ralf Pichler]]></title>
            <link>https://peertube2.cpy.re/w/cwrU7fRL5bjpT42H3AcjoS;threadId=193846</link>
            <guid>https://peertube2.cpy.re/w/cwrU7fRL5bjpT42H3AcjoS;threadId=193846</guid>
            <pubDate>Sun, 09 Aug 2026 06:47:20 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://tube.the-morpheus.de/a/morpheus/video-channels" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>morpheus</span></a></span> </p><p>Besten Dank für diese fachlich super Erklärung der Singularitäts-Behauptungen von <a href="https://mastodon.social/tags/Altman" class="mention hashtag" rel="noopener noreferrer" target="_blank">#<span>Altman</span></a> und <a href="https://mastodon.social/tags/Musk" class="mention hashtag" rel="noopener noreferrer" target="_blank">#<span>Musk</span></a> !</p><p>Ich hatte mich schon gewundert, warum fast niemand auf eigentlich so weltverändernde Aussagen reagiert hat. Wahrscheinlich weil fast keiner ihre Aussagekraft verstanden hat.</p><p><a href="https://mastodon.social/tags/Singularit%C3%A4t" class="mention hashtag" rel="noopener noreferrer" target="_blank">#<span>Singularität</span></a> <a href="https://mastodon.social/tags/Singularity" class="mention hashtag" rel="noopener noreferrer" target="_blank">#<span>Singularity</span></a> <a href="https://mastodon.social/tags/OpenAI" class="mention hashtag" rel="noopener noreferrer" target="_blank">#<span>OpenAI</span></a> <a href="https://mastodon.social/tags/Anthropic" class="mention hashtag" rel="noopener noreferrer" target="_blank">#<span>Anthropic</span></a></p>]]></content:encoded>
            <dc:creator>Ralf Pichler</dc:creator>
        </item>
        <item>
            <title><![CDATA[Warum Singularität nichts als Marketing ist - Vashlex]]></title>
            <link>https://peertube2.cpy.re/w/cwrU7fRL5bjpT42H3AcjoS;threadId=193632</link>
            <guid>https://peertube2.cpy.re/w/cwrU7fRL5bjpT42H3AcjoS;threadId=193632</guid>
            <pubDate>Sun, 09 Aug 2026 05:30:26 GMT</pubDate>
            <content:encoded><![CDATA[<p>wie beim schwarzen Loch: wir können nicht hinein schauen und kennen den Zustand von Energie und Materie nicht. Dennoch gibt es dort etwas, nur mathematisch klingt es grausam.</p>
]]></content:encoded>
            <dc:creator>Vashlex</dc:creator>
        </item>
        <item>
            <title><![CDATA[PERSEPOLIS – Memoria, libertà e resistenza in Iran | Omaggio a Marjane Satrapi - Film Completo in Streaming ITA - Novice Wavejumper]]></title>
            <link>https://peertube2.cpy.re/w/7KFBN6oQ6X2jrQ2tACTqxY;threadId=193631</link>
            <guid>https://peertube2.cpy.re/w/7KFBN6oQ6X2jrQ2tACTqxY;threadId=193631</guid>
            <pubDate>Sat, 08 Aug 2026 23:24:56 GMT</pubDate>
            <content:encoded><![CDATA[<p>This movie was quite racist and selfish</p>
]]></content:encoded>
            <dc:creator>Novice Wavejumper</dc:creator>
        </item>
        <item>
            <title><![CDATA[Intergalactic Wasabi Mix - Live Mix by snowdusk - on aNONradio.net! - 𝚛𝚊𝚝]]></title>
            <link>https://peertube2.cpy.re/w/37RMa2Mw9fj7BfAVhypVqa;threadId=193630</link>
            <guid>https://peertube2.cpy.re/w/37RMa2Mw9fj7BfAVhypVqa;threadId=193630</guid>
            <pubDate>Sat, 08 Aug 2026 23:22:46 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://toobnix.org/a/snowdusk/video-channels" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>snowdusk</span></a></span> leenoox 🎶</p>]]></content:encoded>
            <dc:creator>𝚛𝚊𝚝</dc:creator>
        </item>
        <item>
            <title><![CDATA[Neutral Milk Hotel - Song Against The Internet (1998) - pieguy]]></title>
            <link>https://peertube2.cpy.re/w/hHspR1imRXzPEVWrwS6R4b;threadId=193629</link>
            <guid>https://peertube2.cpy.re/w/hHspR1imRXzPEVWrwS6R4b;threadId=193629</guid>
            <pubDate>Sat, 08 Aug 2026 21:25:39 GMT</pubDate>
            <content:encoded><![CDATA[<p>this is a video about a music man</p>
]]></content:encoded>
            <dc:creator>pieguy</dc:creator>
        </item>
        <item>
            <title><![CDATA[Warum Singularität nichts als Marketing ist - Wasabinuss]]></title>
            <link>https://peertube2.cpy.re/w/cwrU7fRL5bjpT42H3AcjoS;threadId=193628</link>
            <guid>https://peertube2.cpy.re/w/cwrU7fRL5bjpT42H3AcjoS;threadId=193628</guid>
            <pubDate>Sat, 08 Aug 2026 17:27:57 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://tube.the-morpheus.de/a/morpheus/video-channels" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>morpheus</span></a></span> Müsste es nicht bei LLMs eine natürlich Grenze für Intelligenz geben, da diese ja ausschließlich auf Menschlichen Daten trainiert werden?</p>]]></content:encoded>
            <dc:creator>Wasabinuss</dc:creator>
        </item>
        <item>
            <title><![CDATA[Linux passes 10% market share? AI hijacking is the new SEO - Linux Weekly News - Agathokles Martinios]]></title>
            <link>https://peertube2.cpy.re/w/97Va9Pu7nXkRRX1ZiCGu1p;threadId=193863</link>
            <guid>https://peertube2.cpy.re/w/97Va9Pu7nXkRRX1ZiCGu1p;threadId=193863</guid>
            <pubDate>Sat, 08 Aug 2026 12:11:13 GMT</pubDate>
            <content:encoded><![CDATA[<p>Video won't play currently, I get the following error message:</p>
<p>Failed to play video<br />
The video failed to play due to technical issues.</p>
<p>HLS.js error: mediaError - fatal: true - manifestIncompatibleCodecsError</p>
]]></content:encoded>
            <dc:creator>Agathokles Martinios</dc:creator>
        </item>
        <item>
            <title><![CDATA[Mi sono CANCELLATO dai SOCIAL - La  sindrome del papavero alto - Cristiana :startrek:]]></title>
            <link>https://peertube2.cpy.re/w/7Lv7cdhi2Kwph3SkPGqWiZ;threadId=193627</link>
            <guid>https://peertube2.cpy.re/w/7Lv7cdhi2Kwph3SkPGqWiZ;threadId=193627</guid>
            <pubDate>Sat, 08 Aug 2026 09:52:08 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://peertube.uno/a/filippodb/video-channels" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>filippodb</span></a></span> non è facile star fuori da tutti i social, i problemi maggiori mi arrivano da non avere più whatsapp, ma per ora resisto e continuo a spendere che prima o poi il mondo si sveglierà 😅</p>]]></content:encoded>
            <dc:creator>Cristiana :startrek:</dc:creator>
        </item>
        <item>
            <title><![CDATA[Mi sono CANCELLATO dai SOCIAL - La  sindrome del papavero alto - Michele Adduci]]></title>
            <link>https://peertube2.cpy.re/w/7Lv7cdhi2Kwph3SkPGqWiZ;threadId=193626</link>
            <guid>https://peertube2.cpy.re/w/7Lv7cdhi2Kwph3SkPGqWiZ;threadId=193626</guid>
            <pubDate>Sat, 08 Aug 2026 06:57:58 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://peertube.uno/a/filippodb/video-channels" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>filippodb</span></a></span> veramente è cosi, che tristezza</p>]]></content:encoded>
            <dc:creator>Michele Adduci</dc:creator>
        </item>
        <item>
            <title><![CDATA[Mi sono CANCELLATO dai SOCIAL - La  sindrome del papavero alto - Elena Brescacin]]></title>
            <link>https://peertube2.cpy.re/w/7Lv7cdhi2Kwph3SkPGqWiZ;threadId=193625</link>
            <guid>https://peertube2.cpy.re/w/7Lv7cdhi2Kwph3SkPGqWiZ;threadId=193625</guid>
            <pubDate>Fri, 07 Aug 2026 18:14:07 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://peertube.uno/a/filippodb/video-channels" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>filippodb</span></a></span> [OT] - nella pagina web del peertube dove c'è la spiegazione, forse non ti prende il markdown perché invece di tag h3 mette "###"  [/OT]</p><p>Non sapevo che 'sta cosa si chiamasse "sindrome del papavero alto" ma conosco la sensazione: "ma che casso ditu, 'sto fediverso, ghe sarà dentro quatro gati spelai!" </p><p>650 e rotti follower in meno di un anno che ho questo account.</p><p>però mi sa che il papavero vola alto, son le papere che restano sotto!</p>]]></content:encoded>
            <dc:creator>Elena Brescacin</dc:creator>
        </item>
        <item>
            <title><![CDATA[experiment-2026-07-24 - Lost+Found]]></title>
            <link>https://peertube2.cpy.re/w/n84KQiQA3GJq7SBVYg31fs;threadId=193622</link>
            <guid>https://peertube2.cpy.re/w/n84KQiQA3GJq7SBVYg31fs;threadId=193622</guid>
            <pubDate>Fri, 07 Aug 2026 16:27:55 GMT</pubDate>
            <content:encoded><![CDATA[<p>No Shame For Slowness - <a href="https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=30m44s" target="_blank" rel="noopener noreferrer">https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=30m44s</a><br />
Doctor, I Made A Bad Song - <a href="https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=36m10s" target="_blank" rel="noopener noreferrer">https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=36m10s</a><br />
The Utopic Prescription - <a href="https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=43m49s" target="_blank" rel="noopener noreferrer">https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=43m49s</a><br />
The Little Few Who Have All - <a href="https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=50m9s" target="_blank" rel="noopener noreferrer">https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=50m9s</a><br />
No Explanation? Leave - <a href="https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=1h6m51s" target="_blank" rel="noopener noreferrer">https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=1h6m51s</a><br />
Real Humans (Really) - <a href="https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=1h15m54s" target="_blank" rel="noopener noreferrer">https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=1h15m54s</a><br />
Guardrailed - <a href="https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=1h19m50s" target="_blank" rel="noopener noreferrer">https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=1h19m50s</a><br />
Bass &amp; Lyrics (Accept You As You Are Intermezzo)- <a href="https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=1h28m18s" target="_blank" rel="noopener noreferrer">https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=1h28m18s</a><br />
It's Us, We Are The Ones - <a href="https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=1h50m35s" target="_blank" rel="noopener noreferrer">https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=1h50m35s</a><br />
Heaps Of Ideas (Repeat Them, Intermezzo's) - <a href="https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=1h58m20s" target="_blank" rel="noopener noreferrer">https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=1h58m20s</a><br />
It's Us, We Are The Ones  Part II - <a href="https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=1h58m58s" target="_blank" rel="noopener noreferrer">https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=1h58m58s</a><br />
Grogging - <a href="https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=2h40m16s" target="_blank" rel="noopener noreferrer">https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=2h40m16s</a><br />
Our Hobbies - <a href="https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=3h9m51s" target="_blank" rel="noopener noreferrer">https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=3h9m51s</a><br />
Step Away When Ready - <a href="https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=3h17m43s" target="_blank" rel="noopener noreferrer">https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=3h17m43s</a><br />
Africa Needs Fiber - <a href="https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=3h31m13s" target="_blank" rel="noopener noreferrer">https://tube.tchncs.de/w/n84KQiQA3GJq7SBVYg31fs?start=3h31m13s</a></p>
]]></content:encoded>
            <dc:creator>Lost+Found</dc:creator>
        </item>
        <item>
            <title><![CDATA[Inventer de faux antisémites, légitimer de vrais racistes - Modiie 🦝]]></title>
            <link>https://peertube2.cpy.re/w/cABzerVE2CBZapahrGJD14;threadId=193606</link>
            <guid>https://peertube2.cpy.re/w/cABzerVE2CBZapahrGJD14;threadId=193606</guid>
            <pubDate>Thu, 06 Aug 2026 20:32:57 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://piaille.fr/@jenesuispersonne" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>jenesuispersonne</span></a></span> <span><a href="https://mastodon.tedomum.net/@lienrag" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>lienrag</span></a></span> <span><a href="https://hostux.social/@katsankat" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>katsankat</span></a></span> <span><a href="https://eldritch.cafe/@jor" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>jor</span></a></span> <span><a href="https://video.blast-info.fr/a/blast/video-channels" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>blast</span></a></span> rien à voir, Blast voulait continuer le programme mais l’équipe d’argent magique a demandé entre la saison 1 et 2 une augmentation de tarif trop conséquente…</p>]]></content:encoded>
            <dc:creator>Modiie 🦝</dc:creator>
        </item>
        <item>
            <title><![CDATA[Fumo facile - The Devil in My Blues ]]></title>
            <link>https://peertube2.cpy.re/w/9eh4r6gD1DgEnPXVV85Uam;threadId=193615</link>
            <guid>https://peertube2.cpy.re/w/9eh4r6gD1DgEnPXVV85Uam;threadId=193615</guid>
            <pubDate>Thu, 06 Aug 2026 19:45:00 GMT</pubDate>
            <content:encoded><![CDATA[<p>@3pr grazie mi fa sempre piacere se c'è qualcuno che ascolta. Ciao</p>
]]></content:encoded>
            <dc:creator>The Devil in My Blues </dc:creator>
        </item>
        <item>
            <title><![CDATA[Fumo facile - Carlo]]></title>
            <link>https://peertube2.cpy.re/w/9eh4r6gD1DgEnPXVV85Uam;threadId=193615</link>
            <guid>https://peertube2.cpy.re/w/9eh4r6gD1DgEnPXVV85Uam;threadId=193615</guid>
            <pubDate>Thu, 06 Aug 2026 17:06:30 GMT</pubDate>
            <content:encoded><![CDATA[<p>💪😉</p>
]]></content:encoded>
            <dc:creator>Carlo</dc:creator>
        </item>
        <item>
            <title><![CDATA[Fortezza_di_Tuscania - Carlo]]></title>
            <link>https://peertube2.cpy.re/w/76enuLYMudyZ5mwHocrTd8;threadId=193614</link>
            <guid>https://peertube2.cpy.re/w/76enuLYMudyZ5mwHocrTd8;threadId=193614</guid>
            <pubDate>Thu, 06 Aug 2026 17:05:39 GMT</pubDate>
            <content:encoded><![CDATA[<p>🤘🤘🤘</p>
]]></content:encoded>
            <dc:creator>Carlo</dc:creator>
        </item>
        <item>
            <title><![CDATA[Inventer de faux antisémites, légitimer de vrais racistes - 🔻Hermod (il/lui) 🏴🚩]]></title>
            <link>https://peertube2.cpy.re/w/cABzerVE2CBZapahrGJD14;threadId=193606</link>
            <guid>https://peertube2.cpy.re/w/cABzerVE2CBZapahrGJD14;threadId=193606</guid>
            <pubDate>Thu, 06 Aug 2026 07:50:29 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://eldritch.cafe/@jor" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>jor</span></a></span>
Cette émission de  <span><a href="https://video.blast-info.fr/a/blast/video-channels" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>blast</span></a></span> est très pro LFI</p><p>Je ne la regarde plus à cause de cela</p><p>Ras le bol des fan de LFI et de leur prosélytisme.</p><p>Sinon, il y a d'autre émission plutôt bien sur blast,</p>]]></content:encoded>
            <dc:creator>🔻Hermod (il/lui) 🏴🚩</dc:creator>
        </item>
    </channel>
</rss>

Common videos feeds

path Parameters
format
required
string
Enum: "xml" "rss" "rss2" "atom" "atom1" "json" "json1"

format expected (we focus on making rss the most feature-rich ; it serves Media RSS)

query Parameters
accountId
string

limit listing to a specific account

accountName
string

limit listing to a specific account

hasHLSFiles
boolean

PeerTube >= 4.0 Display only videos that have HLS files

hasWebVideoFiles
boolean

PeerTube >= 6.0 Display only videos that have Web Video files

include
integer
Enum: 0 1 2 4 8 16 32

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator)

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
isLocal
boolean

PeerTube >= 4.0 Display only local or remote objects

nsfw
string
Enum: "true" "false"

whether to include nsfw videos, if any

privacyOneOf
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

PeerTube >= 4.0 Display only videos in this specific privacy/privacies

sort
string
Example: sort=-createdAt

Sort column

videoChannelId
string

limit listing to a specific video channel

videoChannelName
string

limit listing to a specific video channel

Responses

Response samples

Content type
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:podcast="https://podcastindex.org/namespace/1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>PeerTube Nightly</title>
        <link>https://peertube2.cpy.re</link>
        <description>This instance is a test instance of the PeerTube project. It is updated to the latest commit in the develop branch every business day, 8pm CET.</description>
        <lastBuildDate>Mon, 10 Aug 2026 03:04:10 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>PeerTube - https://peertube2.cpy.re</generator>
        <image>
            <title>PeerTube Nightly</title>
            <url>https://peertube2.cpy.re/lazy-static/avatars/82936e50-9560-42e7-9e4b-d96309f5c9c9.png</url>
            <link>https://peertube2.cpy.re</link>
        </image>
        <copyright>All rights reserved, unless otherwise specified in the terms specified at https://peertube2.cpy.re/about and potential licenses granted by each content's rightholder.</copyright>
        <atom:link href="https://peertube2.cpy.re/feeds/videos.xml?scope=local" rel="self" type="application/rss+xml"/>
        <item>
            <title><![CDATA[1954 Westinghouse Dryer]]></title>
            <link>https://peertube2.cpy.re/w/6v59mtNaDuRdRCccphFdZG</link>
            <guid>https://peertube2.cpy.re/w/6v59mtNaDuRdRCccphFdZG</guid>
            <pubDate>Mon, 10 Aug 2026 01:51:01 GMT</pubDate>
            <dc:creator>qrstuv_channel</dc:creator>
            <enclosure length="10984987" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/2c8cd104-538e-4e51-9ee2-b941493cd77a?videoFileIds=5831567"/>
            <media:community>
                <media:statistics views="1"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/6v59mtNaDuRdRCccphFdZG"/>
            <media:player url="https://peertube2.cpy.re/w/6v59mtNaDuRdRCccphFdZG"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/8f406890-268f-4d08-a490-71e04ea08ce5-720.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/47903ce3-1fea-4921-aa8f-260190190472-480.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/0c1ce25c-152f-4e29-bfdd-9e421c6d223b-360.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/ef1eff25-0485-43e8-8e1f-47d744054ec4-240.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/1bd517c1-c8c0-4c29-b83d-e90f2509a75d-0.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/24489a0b-f1ea-4d5e-a035-26a50294d308-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/2ff55a13-034f-47da-b2c4-8e99ed25d92d-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/c4c03114-d9ae-42ab-9061-d67224ad36bc-360-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/253ac455-825c-4f32-97e5-a8d92874abf2-240-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/3bb16ac2-5484-4026-84d5-afa924b11671-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="10984987" url="https://toobnix.org/static/web-videos/d98f057a-8135-481f-b227-1a6245de4d8f-720.mp4" framerate="30" duration="61" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="6319642" url="https://toobnix.org/static/web-videos/131ba5f2-80d7-4186-a01d-f1692be88171-480.mp4" framerate="30" duration="61" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="360" fileSize="4867252" url="https://toobnix.org/static/web-videos/5fab6e6b-c2b7-4340-91b4-19860faec5fd-360.mp4" framerate="30" duration="61" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="3595836" url="https://toobnix.org/static/web-videos/b12985ca-9a2a-498d-82b9-430346c5768b-240.mp4" framerate="30" duration="61" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="1945670" url="https://toobnix.org/static/web-videos/762414b7-5681-4089-869f-3fc28fd0fe02-0.mp4" framerate="0" duration="61" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="10959665" url="https://toobnix.org/static/streaming-playlists/hls/2c8cd104-538e-4e51-9ee2-b941493cd77a/c7cce918-3508-4bc1-8039-7c572519e809-720-fragmented.mp4" framerate="30" duration="61" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="6294568" url="https://toobnix.org/static/streaming-playlists/hls/2c8cd104-538e-4e51-9ee2-b941493cd77a/5e3c81d8-1bc3-4ebd-92e0-a2ed7feeceab-480-fragmented.mp4" framerate="30" duration="61" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="360" fileSize="4842458" url="https://toobnix.org/static/streaming-playlists/hls/2c8cd104-538e-4e51-9ee2-b941493cd77a/b6f540fc-cda0-4f33-aabf-9955a0681574-360-fragmented.mp4" framerate="30" duration="61" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="3571618" url="https://toobnix.org/static/streaming-playlists/hls/2c8cd104-538e-4e51-9ee2-b941493cd77a/bb115be3-facd-483c-a24d-7eb64dd9cccb-240-fragmented.mp4" framerate="30" duration="61" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="1949012" url="https://toobnix.org/static/streaming-playlists/hls/2c8cd104-538e-4e51-9ee2-b941493cd77a/67b5f05d-33e7-488e-8f4e-0c9ab28e76f5-0-fragmented.mp4" framerate="0" duration="61" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/ef94469a-1f3a-43d5-a298-2fb5cfb05ad1.jpg" height="157" width="280"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/147934f1-775d-42a6-9816-c72d51fcd137.jpg" height="480" width="850"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">1954 Westinghouse Dryer</media:title>
        </item>
        <item>
            <title><![CDATA[Albums de juillet 2026 – PROG, PSYCHÉ, BLACK-METAL, en version RÉTRO mais pas que]]></title>
            <link>https://peertube2.cpy.re/w/6LQfmNgMH4vBQzEkkHAV7e</link>
            <guid>https://peertube2.cpy.re/w/6LQfmNgMH4vBQzEkkHAV7e</guid>
            <pubDate>Sun, 09 Aug 2026 19:01:00 GMT</pubDate>
            <description><![CDATA[RADIO-ERDORIN est un résumé vidéo mensuel de mes chroniques musicales sur Blog à part (alias.erdorin.org). Des live-reports, des albums, du rock progressif, du metal progressif, du post-rock et d’autres trucs, parfois. Pour cet épisode de juil...]]></description>
            <content:encoded><![CDATA[<p>RADIO-ERDORIN est un résumé vidéo mensuel de mes chroniques musicales sur Blog à part (<a href="http://alias.erdorin.org" target="_blank" rel="noopener noreferrer">alias.erdorin.org</a>). Des live-reports, des albums, du rock progressif, du metal progressif, du post-rock et d’autres trucs, parfois.</p>
<p>Pour cet épisode de juillet 2026, je vous propose:</p>
<p>0:00 Intro<br />
0:23 Générique<br />
1:01 ALBUMS<br />
1:18 Haken: In a Fever Dream<br />
3:53 Artificial Silence: Hollow Drift<br />
6:07 Karnivool: In Verses<br />
8:27 Wolverine: Anomalies<br />
10:54 Android Superstation: Continuum<br />
13:06 Crown Lands: Apocalypse<br />
15:25 Long Distance Calling: The Phantom Void<br />
17:30 Hecate: Comment est la nuit?<br />
19:39 Neurosis: An Undying Love for a Burning World<br />
21:48 Brüle: Beltane<br />
23:42 LE CABINET DES CURIOSITÉS<br />
24:00 Time Machine: Evil<br />
26:44 BONUS : Prog-Rock: A Fanfare for the Common Man<br />
28:55 LE T-SHIRT : Erdorin<br />
29:11 CONCLUSION</p>
<p>ALBUMS :</p>
<ol>
<li>
<p>Haken: In a Fever Dream<br />
Vidéo : <a href="https://www.youtube.com/watch?v=mBv0TLSahW4" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=mBv0TLSahW4</a><br />
Chronique : <a href="https://erdorin.org/haken-in-a-fever-dream/" target="_blank" rel="noopener noreferrer">https://erdorin.org/haken-in-a-fever-dream/</a><br />
Site officiel : <a href="https://hakenmusic.com/" target="_blank" rel="noopener noreferrer">https://hakenmusic.com/</a></p>
</li>
<li>
<p>Artificial Silence: Hollow Drift<br />
Vidéo : <a href="https://www.youtube.com/watch?v=0Y42BW4MH4Q" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=0Y42BW4MH4Q</a><br />
Chronique : <a href="https://erdorin.org/artificial-silence-hollow-drift/" target="_blank" rel="noopener noreferrer">https://erdorin.org/artificial-silence-hollow-drift/</a><br />
Site officiel : <a href="https://artificialsilence.com/" target="_blank" rel="noopener noreferrer">https://artificialsilence.com/</a></p>
</li>
<li>
<p>Karnivool: In Verses<br />
Vidéo : <a href="https://www.youtube.com/watch?v=_d6IzufBUOE" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=_d6IzufBUOE</a><br />
Chronique : <a href="https://erdorin.org/karnivool-in-verses/" target="_blank" rel="noopener noreferrer">https://erdorin.org/karnivool-in-verses/</a><br />
Site officiel : <a href="https://www.karnivool.com/" target="_blank" rel="noopener noreferrer">https://www.karnivool.com/</a></p>
</li>
<li>
<p>Wolverine: Anomalies<br />
Vidéo : <a href="https://www.youtube.com/watch?v=q0uBjMvVkdw" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=q0uBjMvVkdw</a><br />
Chronique : <a href="https://erdorin.org/wolverine-anomalies/" target="_blank" rel="noopener noreferrer">https://erdorin.org/wolverine-anomalies/</a><br />
Site officiel : <a href="https://www.wolverine-overdose.com/" target="_blank" rel="noopener noreferrer">https://www.wolverine-overdose.com/</a></p>
</li>
<li>
<p>Android Superstation: Continuum<br />
Vidéo : <a href="https://www.youtube.com/watch?v=p1dXwyoCazQ" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=p1dXwyoCazQ</a><br />
Chronique : <a href="https://erdorin.org/android-superstation-continuum/" target="_blank" rel="noopener noreferrer">https://erdorin.org/android-superstation-continuum/</a><br />
Site officiel : <a href="https://www.androidsuperstation.com/" target="_blank" rel="noopener noreferrer">https://www.androidsuperstation.com/</a></p>
</li>
<li>
<p>Crown Lands: Apocalypse<br />
Vidéo : <a href="https://www.youtube.com/watch?v=YBQUkjZ-Rbw" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=YBQUkjZ-Rbw</a><br />
Chronique : <a href="https://erdorin.org/crown-lands-apocalypse/" target="_blank" rel="noopener noreferrer">https://erdorin.org/crown-lands-apocalypse/</a><br />
Site officiel : <a href="https://www.crownlandsmusic.com/" target="_blank" rel="noopener noreferrer">https://www.crownlandsmusic.com/</a></p>
</li>
<li>
<p>Long Distance Calling: The Phantom Void<br />
Vidéo : <a href="https://www.youtube.com/watch?v=h3K8eRSiNS4" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=h3K8eRSiNS4</a><br />
Chronique : <a href="https://erdorin.org/long-distance-calling-the-phantom-void/" target="_blank" rel="noopener noreferrer">https://erdorin.org/long-distance-calling-the-phantom-void/</a><br />
Site officiel : <a href="https://www.facebook.com/longdistancecalling" target="_blank" rel="noopener noreferrer">https://www.facebook.com/longdistancecalling</a></p>
</li>
<li>
<p>Hecate: Comment est la nuit?<br />
Vidéo : <a href="https://www.youtube.com/watch?v=yVrMAvLcYNU" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=yVrMAvLcYNU</a><br />
Chronique : <a href="https://erdorin.org/hecate-comment-est-la-nuit/" target="_blank" rel="noopener noreferrer">https://erdorin.org/hecate-comment-est-la-nuit/</a><br />
Site officiel : <a href="https://www.instagram.com/hecate_blackmetal/" target="_blank" rel="noopener noreferrer">https://www.instagram.com/hecate_blackmetal/</a></p>
</li>
<li>
<p>Neurosis: An Undying Love for a Burning World<br />
Vidéo : <a href="https://www.youtube.com/watch?v=WA6DlB0B9Ak" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=WA6DlB0B9Ak</a><br />
Chronique : <a href="https://erdorin.org/neurosis-an-undying-love-for-a-burning-world/" target="_blank" rel="noopener noreferrer">https://erdorin.org/neurosis-an-undying-love-for-a-burning-world/</a><br />
Site officiel : <a href="https://www.neurosis.com/" target="_blank" rel="noopener noreferrer">https://www.neurosis.com/</a></p>
</li>
<li>
<p>Brüle: Beltane<br />
Vidéo : <a href="https://www.youtube.com/watch?v=nUb7reFbQ8E" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=nUb7reFbQ8E</a><br />
Chronique : <a href="https://erdorin.org/brule-beltane/" target="_blank" rel="noopener noreferrer">https://erdorin.org/brule-beltane/</a><br />
Site officiel : <a href="https://www.facebook.com/thebandbrule" target="_blank" rel="noopener noreferrer">https://www.facebook.com/thebandbrule</a></p>
</li>
</ol>
<p>LE CABINET DES CURIOSITÉS</p>
<p>Time Machine: Evil<br />
Vidéo : <a href="https://www.youtube.com/watch?v=hZ6w9c9YbLs&amp;list=PL517HL24Vb62dv7tCAciM94_8yBcjVhpm" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=hZ6w9c9YbLs&amp;list=PL517HL24Vb62dv7tCAciM94_8yBcjVhpm</a><br />
Chronique : <a href="https://erdorin.org/time-machine-evil/" target="_blank" rel="noopener noreferrer">https://erdorin.org/time-machine-evil/</a><br />
Site officiel : <a href="https://www.facebook.com/profile.php?id=100079956653860" target="_blank" rel="noopener noreferrer">https://www.facebook.com/profile.php?id=100079956653860</a></p>
<p>BONUS</p>
<p>Prog-Rock: A Fanfare for the Common Man, un concert prog et symphonique<br />
Chronique : <a href="https://erdorin.org/prog-rock-a-fanfare-for-the-common-man-un-concert-prog-et-symphonique/" target="_blank" rel="noopener noreferrer">https://erdorin.org/prog-rock-a-fanfare-for-the-common-man-un-concert-prog-et-symphonique/</a><br />
Site officiel : <a href="https://www.bbc.co.uk/events/ed5fbp" target="_blank" rel="noopener noreferrer">https://www.bbc.co.uk/events/ed5fbp</a></p>
<p>LE T-SHIRT : Erdorin</p>
<p>SUR LES ONDES :<br />
Le blog : <a href="https://erdorin.org" target="_blank" rel="noopener noreferrer">https://erdorin.org</a><br />
Facebook : <a href="https://www.facebook.com/radioerdorin/" target="_blank" rel="noopener noreferrer">https://www.facebook.com/radioerdorin/</a><br />
Instagram : <a href="https://www.instagram.com/radioerdorin/" target="_blank" rel="noopener noreferrer">https://www.instagram.com/radioerdorin/</a><br />
Discord : <a href="https://discord.gg/JJZFEZYC5v" target="_blank" rel="noopener noreferrer">https://discord.gg/JJZFEZYC5v</a><br />
Newsletter : <a href="https://erdorin.org/about/newsletter/" target="_blank" rel="noopener noreferrer">https://erdorin.org/about/newsletter/</a></p>
<p>ENVOYEZ DES SOUS !<br />
Patreon : <a href="https://www.patreon.com/sgallay" target="_blank" rel="noopener noreferrer">https://www.patreon.com/sgallay</a><br />
Liberapay : <a href="https://liberapay.com/alias" target="_blank" rel="noopener noreferrer">https://liberapay.com/alias</a><br />
Ulule : <a href="https://fr.ulule.com/radio-erdorin/" target="_blank" rel="noopener noreferrer">https://fr.ulule.com/radio-erdorin/</a><br />
Ko-Fi : <a href="https://ko-fi.com/tontonalias" target="_blank" rel="noopener noreferrer">https://ko-fi.com/tontonalias</a></p>
<p>LA BOUTIQUE :<br />
<a href="https://www.redbubble.com/people/Erdorin/shop" target="_blank" rel="noopener noreferrer">https://www.redbubble.com/people/Erdorin/shop</a></p>
<p>Cette vidéo est également disponible sur YouTube :<br />
Cette vidéo est également disponible sur Peertube :</p>
<p>La playlist des albums de juillet : <a href="https://www.youtube.com/playlist?list=PLSkAZ5sVT8VQ" target="_blank" rel="noopener noreferrer">https://www.youtube.com/playlist?list=PLSkAZ5sVT8VQ</a></p>
]]></content:encoded>
            <dc:creator>Radio-Erdorin</dc:creator>
            <category>Music</category>
            <enclosure length="659646699" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/2ec0271d-a91a-44b3-a866-025c4ac3f05d?videoFileIds=5831498"/>
            <media:community>
                <media:statistics views="0"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/6LQfmNgMH4vBQzEkkHAV7e"/>
            <media:player url="https://peertube2.cpy.re/w/6LQfmNgMH4vBQzEkkHAV7e"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/caa34560-a0d0-49a4-b39c-ae1d5b6a451d-0.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/3686ff20-9d75-489b-878a-16fb47756dfa-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/2aa51506-3b49-4295-9a5f-0ee0057a53bf-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/45162b38-4b8d-4190-a262-d297951d6b74-480-hls.torrent" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="73439917" url="https://videos.pair2jeux.tube/static/web-videos/8dfe6db0-c2f3-488e-93db-7971fe1579cb-0.mp4" framerate="0" duration="1842" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="659646699" url="https://videos.pair2jeux.tube/static/streaming-playlists/hls/2ec0271d-a91a-44b3-a866-025c4ac3f05d/6b39ca24-a4f7-471c-b713-e0c0b31b1443-1080-fragmented.mp4" framerate="25" duration="1842" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="292044475" url="https://videos.pair2jeux.tube/static/streaming-playlists/hls/2ec0271d-a91a-44b3-a866-025c4ac3f05d/d12e9cb0-ed37-4777-8397-fcbbfc7bb76f-720-fragmented.mp4" framerate="25" duration="1842" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="171722112" url="https://videos.pair2jeux.tube/static/streaming-playlists/hls/2ec0271d-a91a-44b3-a866-025c4ac3f05d/4752c5e7-440f-4075-8c9d-bfcf60853c87-480-fragmented.mp4" framerate="25" duration="1842" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/28394834-8f30-4349-ae34-1d8c436c42f3.jpg" height="1400" width="1400"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Albums de juillet 2026 – PROG, PSYCHÉ, BLACK-METAL, en version RÉTRO mais pas que</media:title>
            <media:description type="plain">RADIO-ERDORIN est un résumé vidéo mensuel de mes chroniques musicales sur Blog à part (alias.erdorin.org). Des live-reports, des albums, du rock progressif, du metal progressif, du post-rock et d’autres trucs, parfois. Pour cet épisode de juil...</media:description>
        </item>
        <item>
            <title><![CDATA[La casa è un diritto, non un privilegio]]></title>
            <link>https://peertube2.cpy.re/w/9HRYKusRLrUP3zySu5r6aT</link>
            <guid>https://peertube2.cpy.re/w/9HRYKusRLrUP3zySu5r6aT</guid>
            <pubDate>Sun, 09 Aug 2026 14:40:11 GMT</pubDate>
            <description><![CDATA[La casa ormai è una questione politica: il reddito infatti non basta più per vivere nella città in cui studiamo e lavoriamo. La crisi abitativa riguarda l’Italia e tutta l’Europa: nel primo trimestre del 2026, nell’UE, i prezzi delle case sono au...]]></description>
            <content:encoded><![CDATA[<p>La casa ormai è una questione politica: il reddito infatti non basta più per vivere nella città in cui studiamo e lavoriamo.<br />
La crisi abitativa riguarda l’Italia e tutta l’Europa: nel primo trimestre del 2026, nell’UE, i prezzi delle case sono aumentati del 5,1% e gli affitti del 3% rispetto a un anno prima.<br />
È un problema strutturale, e per affrontarlo servono più edilizia pubblica, sociale e accessibile, il recupero degli immobili vuoti, regole efficaci dove affitti brevi e speculazione riducono l’offerta per chi vuole davvero abitare un quartiere e tutele più forti per chi rischia di perdere casa.<br />
Per questo, dal 14 settembre parte “Right to Housing! Ora e per sempre”, l’Iniziativa dei cittadini europei che chiede all’Unione europea una politica più ambiziosa per un’abitazione accessibile, sostenibile ed equa.<br />
Servirà un milione di firme in almeno 7 Paesi UE.<br />
Seguici per tutti gli aggiornamenti e scopri come partecipare su <a href="https://actionnetwork.org/forms/right-to-housing/" target="_blank" rel="noopener noreferrer">https://actionnetwork.org/forms/right-to-housing/</a> 💜</p>
<p>#DirittoAllaCasa #CrisiAbitativa #Affitti #Casa #EmergenzaAbitativa #EuropaFederale #Volt #VoltItalia #VoltEuropa</p>
]]></content:encoded>
            <dc:creator>Volt Italia</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="14660884" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/46a16777-1db1-41a0-b150-102cac784d19?videoFileIds=5831468"/>
            <media:community>
                <media:statistics views="1"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/9HRYKusRLrUP3zySu5r6aT"/>
            <media:player url="https://peertube2.cpy.re/w/9HRYKusRLrUP3zySu5r6aT"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/cf82b85a-68af-4b95-a94d-124f8ba38d95-0.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/3bb2c05d-6776-4e80-ac73-1f97721cbe93-1920-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/d09d079b-74e3-4dd8-890f-33c259bd2ab2-1280-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/bdda7742-e0ed-4927-8096-debd0d35302c-640-hls.torrent" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="1055597" url="https://videos.domainepublic.net/static/web-videos/d4fd09c5-4c98-4e72-b18d-25e7c01dfc0d-0.mp4" framerate="0" duration="65" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="1920" fileSize="14660884" url="https://videos.domainepublic.net/static/streaming-playlists/hls/46a16777-1db1-41a0-b150-102cac784d19/f80bb181-caa8-4c1c-9498-ee4d21b43c1f-1080-fragmented.mp4" framerate="30" duration="65" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1280" fileSize="14128349" url="https://videos.domainepublic.net/static/streaming-playlists/hls/46a16777-1db1-41a0-b150-102cac784d19/a5cb9505-5b75-4633-8458-dde3717e48dd-720-fragmented.mp4" framerate="30" duration="65" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="640" fileSize="5592700" url="https://videos.domainepublic.net/static/streaming-playlists/hls/46a16777-1db1-41a0-b150-102cac784d19/e1df9df3-d8db-43a1-a008-6dc970013d67-360-fragmented.mp4" framerate="30" duration="65" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/9c5b257b-6715-4412-bcc6-9a994fc2f7fc.jpg" height="1400" width="1400"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">La casa è un diritto, non un privilegio</media:title>
            <media:description type="plain">La casa ormai è una questione politica: il reddito infatti non basta più per vivere nella città in cui studiamo e lavoriamo. La crisi abitativa riguarda l’Italia e tutta l’Europa: nel primo trimestre del 2026, nell’UE, i prezzi delle case sono au...</media:description>
        </item>
        <item>
            <title><![CDATA[5 Mind-Blowing Space Facts 🚀]]></title>
            <link>https://peertube2.cpy.re/w/fS1dbqtBst1J1EwG56PS6N</link>
            <guid>https://peertube2.cpy.re/w/fS1dbqtBst1J1EwG56PS6N</guid>
            <pubDate>Sun, 09 Aug 2026 14:24:34 GMT</pubDate>
            <description><![CDATA[5 incredible space facts that will blow your mind! A day on Venus is longer than its year, There is a giant cloud of alcohol in space, A teaspoon of neutron star weighs 6 billion tons, The Milky Way and Andromeda galaxies will collide 5....]]></description>
            <content:encoded><![CDATA[<p>5 incredible space facts that will blow your mind!</p>
<ol>
<li>A day on Venus is longer than its year</li>
<li>There is a giant cloud of alcohol in space</li>
<li>A teaspoon of neutron star weighs 6 billion tons</li>
<li>The Milky Way and Andromeda galaxies will collide</li>
<li>There are more stars than grains of sand on Earth</li>
</ol>
<p>Follow for more amazing space facts!</p>
<p>#space #science #facts #astronomy #universe #shorts #cosmos</p>
]]></content:encoded>
            <dc:creator>Main spacefacts23388 channel</dc:creator>
            <category>People</category>
            <enclosure length="1117202" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/785b4257-e49b-4778-9c75-e1b28de4aa80?videoFileIds=5831462&amp;videoFileIds=5831464"/>
            <media:community>
                <media:statistics views="2"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/fS1dbqtBst1J1EwG56PS6N"/>
            <media:player url="https://peertube2.cpy.re/w/fS1dbqtBst1J1EwG56PS6N"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/83b570b4-44b8-48c6-ace0-2d18522c94bb-0.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/4690a3f0-ba50-483b-8a0d-315a9b438fb0-1920-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/af61eab8-2d42-4fb2-9e30-d2e444b93e4c-0-hls.torrent" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="300474" url="https://peertube.uno/static/web-videos/f10cedb7-2e1c-4504-856d-87a54f389c4f-0.mp4" framerate="0" duration="20" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="1920" fileSize="816728" url="https://peertube.uno/static/streaming-playlists/hls/785b4257-e49b-4778-9c75-e1b28de4aa80/c5666f60-1ef8-4e1d-8e6e-9c21beb6f9cd-1080-fragmented.mp4" framerate="30" duration="20" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="301220" url="https://peertube.uno/static/streaming-playlists/hls/785b4257-e49b-4778-9c75-e1b28de4aa80/fe40c77a-f9cb-4e44-89fe-38c8c88127f1-0-fragmented.mp4" framerate="0" duration="20" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/4d9660dd-e088-4d1c-b24f-2657e9ec403f.jpg" height="1400" width="1400"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">5 Mind-Blowing Space Facts 🚀</media:title>
            <media:description type="plain">5 incredible space facts that will blow your mind! A day on Venus is longer than its year, There is a giant cloud of alcohol in space, A teaspoon of neutron star weighs 6 billion tons, The Milky Way and Andromeda galaxies will collide 5....</media:description>
        </item>
        <item>
            <title><![CDATA[Solving the Small-Shop Product Photo Bottleneck Without a Studio]]></title>
            <link>https://peertube2.cpy.re/w/9rAFJMH1mqtwB4tDr6p9kq</link>
            <guid>https://peertube2.cpy.re/w/9rAFJMH1mqtwB4tDr6p9kq</guid>
            <pubDate>Sun, 09 Aug 2026 13:28:46 GMT</pubDate>
            <description><![CDATA[Picture a small handmade jewelry shop preparing for a seasonal sale. The catalog needs twelve product photos, three social banners, and a poster for a local pop-up event, all within a week. There's no studio, no model, and limited time for reshoot...]]></description>
            <content:encoded><![CDATA[<p>Picture a small handmade jewelry shop preparing for a seasonal sale. The catalog needs twelve product photos, three social banners, and a poster for a local pop-up event, all within a week. There's no studio, no model, and limited time for reshoots. This is a common bottleneck for small operations: visual consistency across formats matters, but the resources to produce it traditionally often don't exist.</p>
<p>The first practical step is separating what actually needs a camera from what doesn't. A hero shot of the physical product likely still benefits from a real photo for texture and trust. But secondary assets, like a banner showing the item styled differently, a poster with seasonal color grading, or a social post resized for multiple platforms, are often variations of an existing image rather than new photography. That distinction matters because it changes the workload from "shoot everything" to "shoot once, adapt many times."</p>
<p>Once there's a solid reference photo, the next step is deciding how much visual variation is needed. A shop might want the same necklace shown against different backgrounds, or a layout translated into another language for a regional audience. This is where AI-assisted image editing tools become a reasonable option to explore, since some platforms allow uploading a reference image and generating variations, sketch-guided edits, or multilingual layout versions without new photography sessions. For a hypothetical shop testing this approach, a tool like <a href="https://seedream50.pro/" target="_blank" rel="noopener noreferrer">Seedream 5.0 Pro AI Image Generator</a> represents the category of software built around exactly this kind of image-to-image and multi-reference workflow, useful for exploring options before committing to a full production plan.</p>
<p>The limitation worth noting is that generated variations still need human review for brand accuracy, color fidelity, and whether the output matches the physical product closely enough to avoid misleading customers. No tool replaces that judgment step.</p>
<p>The practical takeaway: separate original photography from derivative assets first, then evaluate whether editing tools can handle the derivative work efficiently, always with a manual accuracy check before publishing.</p>
]]></content:encoded>
            <dc:creator>Kling 3 AI Video</dc:creator>
            <enclosure length="573412" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/445c1439-85bc-473e-8107-b83d941a88ce?videoFileIds=5831326"/>
            <media:community>
                <media:statistics views="1"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/9rAFJMH1mqtwB4tDr6p9kq"/>
            <media:player url="https://peertube2.cpy.re/w/9rAFJMH1mqtwB4tDr6p9kq"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/e9caa9f2-096a-405e-bd4a-a1a79c42e78a-720-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="573412" url="https://peertube.uno/static/streaming-playlists/hls/445c1439-85bc-473e-8107-b83d941a88ce/57f88d60-298a-4d4a-abc4-f85cd7b26d6f-720-fragmented.mp4" framerate="32" duration="8" isDefault="true"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/b8613293-1cb7-40ee-b361-c10c93d085d9.jpg" height="1400" width="1400"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Solving the Small-Shop Product Photo Bottleneck Without a Studio</media:title>
            <media:description type="plain">Picture a small handmade jewelry shop preparing for a seasonal sale. The catalog needs twelve product photos, three social banners, and a poster for a local pop-up event, all within a week. There's no studio, no model, and limited time for reshoot...</media:description>
        </item>
        <item>
            <title><![CDATA[EP. 05 - Ultimo accesso un'ora fa: Sovraesposizione sui social e le nostre relazioni]]></title>
            <link>https://peertube2.cpy.re/w/3yS14sVkkwmGceYX1mUgRg</link>
            <guid>https://peertube2.cpy.re/w/3yS14sVkkwmGceYX1mUgRg</guid>
            <pubDate>Sun, 09 Aug 2026 13:02:57 GMT</pubDate>
            <description><![CDATA[Quante volte aggiorniamo partner di cosa facciamo e dove siamo? Quanto spesso ci succede di non farlo? E se poi l’altro/a si preoccupa dato che non rispondiamo da un po’? Quanto siamo abituati a rendere conto agli altri e quanto pretendiamo che gl...]]></description>
            <content:encoded><![CDATA[<p>Quante volte aggiorniamo partner di cosa facciamo e dove siamo? Quanto spesso ci succede di non farlo? E se poi l’altro/a si preoccupa dato che non rispondiamo da un po’? Quanto siamo abituati a rendere conto agli altri e quanto pretendiamo che gli altri lo facciano con noi? Potenzialmente potremmo sempre essere connessi a tutto e tutti, è quindi una scelta non farlo.</p>
<p>In questo nuovo episodio di Screenshot, un podcast prodotto da Quest Benessere Digitale, con la dott.ssa Francesca Giobbio parliamo proprio di come si sviluppano le relazioni e non solo. Ci interrogarci su come avere gli strumenti digitali e i social sempre a disposizione influenzi la rottura e la chiusura di una relazione sentimentale. Fenomeni come l’Orbiting o lo Zombeing sono sempre esistiti oppure hanno un nuovo significato tutto attuale? Quanto venire continuamente (e a volte inconsapevolmente) bombardati delle informazioni che riguardano partener ci influenza e ci tiene agganciati? Se è vero che “occhio non vede, cuore non duole”, con la sovraesposizione a cui ci sottoponiamo utilizzando i social, ci dobbiamo chiedere quanto duole il nostro cuore?</p>
]]></content:encoded>
            <dc:creator>Quest Benessere Digitale</dc:creator>
            <enclosure length="946133218" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/14c8e466-8688-4d32-97ff-516ac7d6d465?videoFileIds=5831323&amp;videoFileIds=5831325"/>
            <media:community>
                <media:statistics views="1"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/3yS14sVkkwmGceYX1mUgRg"/>
            <media:player url="https://peertube2.cpy.re/w/3yS14sVkkwmGceYX1mUgRg"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/b688fa1f-e731-4791-b23e-7f0440ee8436-0.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/6488ae84-616d-4d87-ad92-1d17bf216ac8-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/4fd7ee6a-1eb5-47db-867d-348f080137f6-0-hls.torrent" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="29531950" url="https://peertube.uno/static/web-videos/53cfa2df-896a-4d5c-ad7d-dd566faa56c5-0.mp4" framerate="0" duration="1820" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="916601268" url="https://peertube.uno/static/streaming-playlists/hls/14c8e466-8688-4d32-97ff-516ac7d6d465/ae02687f-44cb-4235-972b-c3d86e92b6a2-1080-fragmented.mp4" framerate="30" duration="1820" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="29604348" url="https://peertube.uno/static/streaming-playlists/hls/14c8e466-8688-4d32-97ff-516ac7d6d465/62e0b015-7f52-4c0e-bcbc-8211b2e79a6f-0-fragmented.mp4" framerate="0" duration="1820" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/ac77d4b8-598e-4385-9c99-2c35f093154d.png" height="1400" width="1400"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">EP. 05 - Ultimo accesso un'ora fa: Sovraesposizione sui social e le nostre relazioni</media:title>
            <media:description type="plain">Quante volte aggiorniamo partner di cosa facciamo e dove siamo? Quanto spesso ci succede di non farlo? E se poi l’altro/a si preoccupa dato che non rispondiamo da un po’? Quanto siamo abituati a rendere conto agli altri e quanto pretendiamo che gl...</media:description>
        </item>
        <item>
            <title><![CDATA[An Analogy On How Our Limbic Capitalist Fascist System Oppresses You Quietly And Covertly With Dopamine Addictions]]></title>
            <link>https://peertube2.cpy.re/w/tTGPjBwvc6dUC3s4y98oFW</link>
            <guid>https://peertube2.cpy.re/w/tTGPjBwvc6dUC3s4y98oFW</guid>
            <pubDate>Sun, 09 Aug 2026 13:01:51 GMT</pubDate>
            <dc:creator>filter</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="3154934" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/e1ded46b-adbf-4a53-a76d-1bdcbc3beb7c?videoFileIds=5831319"/>
            <media:community>
                <media:statistics views="7"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/tTGPjBwvc6dUC3s4y98oFW"/>
            <media:player url="https://peertube2.cpy.re/w/tTGPjBwvc6dUC3s4y98oFW"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/7a3b6bb6-1718-411e-b43e-8e6016371650-640.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/6c2b5815-54c0-4e81-b539-cc879a713173-0.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/0174cbb0-69e4-45e4-9ffd-ba0d5f0ca74e-640-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/3b1a14bf-ab6b-4e76-a1b0-abf7263a2832-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="640" fileSize="3154934" url="https://media.tube.tchncs.de/videos/31350ccb-44f8-4308-a175-157243ab2805-360.mp4" framerate="30" duration="42" isDefault="true"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="1011353" url="https://media.tube.tchncs.de/videos/d192174a-ac4f-4f8e-bb50-8e7f6bf2f8b6-0.mp4" framerate="0" duration="42" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="640" fileSize="3139592" url="https://media.tube.tchncs.de/streaming-playlists/hls/e1ded46b-adbf-4a53-a76d-1bdcbc3beb7c/5ce85fa0-522c-4e73-835e-b3713ea300f4-360-fragmented.mp4" framerate="30" duration="42" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="1013059" url="https://media.tube.tchncs.de/streaming-playlists/hls/e1ded46b-adbf-4a53-a76d-1bdcbc3beb7c/b306683e-e329-4cee-8c42-0972ab3adb68-0-fragmented.mp4" framerate="0" duration="42" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/5d760398-c64a-4174-aa04-19f40f56b0ac.jpg" height="1400" width="1400"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">An Analogy On How Our Limbic Capitalist Fascist System Oppresses You Quietly And Covertly With Dopamine Addictions</media:title>
        </item>
        <item>
            <title><![CDATA[Сказка про антропоморфное яблоко]]></title>
            <link>https://peertube2.cpy.re/w/kj9rL35ADZJBUMx3XHvnqu</link>
            <guid>https://peertube2.cpy.re/w/kj9rL35ADZJBUMx3XHvnqu</guid>
            <pubDate>Sun, 09 Aug 2026 09:28:43 GMT</pubDate>
            <dc:creator>Ksenon Ksenonovich</dc:creator>
            <category>Art</category>
            <enclosure length="398408" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/9c6639ed-4369-46f0-b7bf-905623badff8?videoFileIds=5831297"/>
            <media:community>
                <media:statistics views="1"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/kj9rL35ADZJBUMx3XHvnqu"/>
            <media:player url="https://peertube2.cpy.re/w/kj9rL35ADZJBUMx3XHvnqu"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/c1ef4a63-a360-4182-879a-bce613559117-720-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="398408" url="https://peertube.uno/static/streaming-playlists/hls/9c6639ed-4369-46f0-b7bf-905623badff8/458b80a2-0e66-4956-a9c6-4330b536a473-720-fragmented.mp4" framerate="12" duration="2" isDefault="true"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/f0de0b37-4318-4723-8226-763df19b7fda.jpg" height="1400" width="1400"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Сказка про антропоморфное яблоко</media:title>
        </item>
        <item>
            <title><![CDATA[#python is a #lisp, bite me! For reals. Hardhitting #tech #journalism]]></title>
            <link>https://peertube2.cpy.re/w/cLe5ytKW5vuhYFc9eVExWj</link>
            <guid>https://peertube2.cpy.re/w/cLe5ytKW5vuhYFc9eVExWj</guid>
            <pubDate>Sun, 09 Aug 2026 08:48:42 GMT</pubDate>
            <description><![CDATA[Please see the show's mastodon thread: https://gamerplus.org/@screwlisp/117064448612959147 Addendum courtesy of Dave Pearson, GvR (we're removing all of the lisp stuff! Update: We are just relegating reduce) https://fosstodon.org/@davep/1170678...]]></description>
            <content:encoded><![CDATA[<p>Please see the show's mastodon thread: <a href="https://gamerplus.org/@screwlisp/117064448612959147" target="_blank" rel="noopener noreferrer">https://gamerplus.org/@screwlisp/117064448612959147</a></p>
<p>Addendum courtesy of Dave Pearson, GvR (we're removing all of the lisp stuff! Update: We are just relegating reduce) <a href="https://fosstodon.org/@davep/117067812013697571" target="_blank" rel="noopener noreferrer">https://fosstodon.org/@davep/117067812013697571</a><br />
<a href="https://www.artima.com/weblogs/viewpost.jsp?thread=98196" target="_blank" rel="noopener noreferrer">https://www.artima.com/weblogs/viewpost.jsp?thread=98196</a><br />
<a href="https://python-history.blogspot.com/2009/04/origins-of-pythons-functional-features.html" target="_blank" rel="noopener noreferrer">https://python-history.blogspot.com/2009/04/origins-of-pythons-functional-features.html</a></p>
]]></content:encoded>
            <dc:creator>Lispy Gopher Climate extras</dc:creator>
            <category>Science &amp; Technology</category>
            <enclosure length="859285360" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/5f414fa5-f3ec-40b8-8b80-427f6157ff8a?videoFileIds=5831272&amp;videoFileIds=5831277"/>
            <media:community>
                <media:statistics views="13"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/cLe5ytKW5vuhYFc9eVExWj"/>
            <media:player url="https://peertube2.cpy.re/w/cLe5ytKW5vuhYFc9eVExWj"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/d7758df4-6eca-4c2e-b89d-219696bd0b97-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/b652adf6-afd3-4c2c-94ae-41fd031eadd4-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/37751016-aff6-43be-86a7-54942b403aa9-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/7b4a1234-51c7-4619-b601-877c4da2e45e-360-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/fa116741-86fd-4ace-a8f1-ae873f4b09c7-240-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/ca79cdd5-e84c-43e0-9dbb-a9c19acdcbf9-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="809341750" url="https://toobnix.org/static/streaming-playlists/hls/5f414fa5-f3ec-40b8-8b80-427f6157ff8a/54742e1d-8cf6-491c-9bea-44d1131026ba-1080-fragmented.mp4" framerate="30" duration="3067" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="504109314" url="https://toobnix.org/static/streaming-playlists/hls/5f414fa5-f3ec-40b8-8b80-427f6157ff8a/90e74ba1-5f05-4912-8a7d-3711fc8eb3d9-720-fragmented.mp4" framerate="30" duration="3067" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="255813756" url="https://toobnix.org/static/streaming-playlists/hls/5f414fa5-f3ec-40b8-8b80-427f6157ff8a/074e8f2e-1d27-4bd7-bb01-517df501cfd9-480-fragmented.mp4" framerate="30" duration="3067" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="360" fileSize="158503403" url="https://toobnix.org/static/streaming-playlists/hls/5f414fa5-f3ec-40b8-8b80-427f6157ff8a/bedfe595-137a-41a0-ad72-d4700081299f-360-fragmented.mp4" framerate="30" duration="3067" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="80512323" url="https://toobnix.org/static/streaming-playlists/hls/5f414fa5-f3ec-40b8-8b80-427f6157ff8a/334a99dc-6034-4901-babc-b661a4d42d22-240-fragmented.mp4" framerate="30" duration="3067" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="49943610" url="https://toobnix.org/static/streaming-playlists/hls/5f414fa5-f3ec-40b8-8b80-427f6157ff8a/e50ea773-0fb1-4f81-8ffa-7684a2624635-0-fragmented.mp4" framerate="0" duration="3067" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/a85e4d2f-bc8c-4a3e-832a-787bdbcd71a6.jpg" height="480" width="850"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/ffa572c3-aaf8-4c3f-8e1c-100267361fbc.jpg" height="157" width="280"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">#python is a #lisp, bite me! For reals. Hardhitting #tech #journalism</media:title>
            <media:description type="plain">Please see the show's mastodon thread: https://gamerplus.org/@screwlisp/117064448612959147 Addendum courtesy of Dave Pearson, GvR (we're removing all of the lisp stuff! Update: We are just relegating reduce) https://fosstodon.org/@davep/1170678...</media:description>
        </item>
        <item>
            <title><![CDATA[Tajani, te lo ricordi Berlusconi?]]></title>
            <link>https://peertube2.cpy.re/w/vksRiwzzghScyFPdpLyc5o</link>
            <guid>https://peertube2.cpy.re/w/vksRiwzzghScyFPdpLyc5o</guid>
            <pubDate>Sun, 09 Aug 2026 08:42:15 GMT</pubDate>
            <description><![CDATA[Tajani, ci sei? Ti sei dimenticato di quando Berlusconi si commuoveva per lo sbarco degli albanesi in Italia? Siete riusciti a rinnegare persino le posizioni del vostro leader. E oggi governate con Giorgia Meloni. Gli elettori, però, hanno m...]]></description>
            <content:encoded><![CDATA[<p>Tajani, ci sei? Ti sei dimenticato di quando Berlusconi si commuoveva per lo sbarco degli albanesi in Italia?</p>
<p>Siete riusciti a rinnegare persino le posizioni del vostro leader. E oggi governate con Giorgia Meloni.</p>
<p>Gli elettori, però, hanno memoria.<br />
E tu, te lo ricordi?</p>
<p>Video di Francesca Romana D’Antuono, già copresidente di Volt Europa.</p>
<p>#Tajani #Berlusconi #Immigrazione #ForzaItalia #PoliticaItaliana #EuropaFederale #Volt #VoltItalia #VoltEuropa</p>
]]></content:encoded>
            <dc:creator>Volt Italia</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="1789114" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/ed90b31f-1b84-4b4e-a180-b1db186e422a?videoFileIds=5831264"/>
            <media:community>
                <media:statistics views="2"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/vksRiwzzghScyFPdpLyc5o"/>
            <media:player url="https://peertube2.cpy.re/w/vksRiwzzghScyFPdpLyc5o"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/a3703a42-5bd8-4249-810e-36515d471c01-0.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/03b788df-447e-4758-9869-5471bd4636d1-1280-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/b8e932ee-99d7-4f6a-92ba-9b9bd4e1c170-640-hls.torrent" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="216569" url="https://videos.domainepublic.net/static/web-videos/f317639a-f3b0-4dac-b337-d9adc487e57a-0.mp4" framerate="0" duration="29" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="1280" fileSize="1789114" url="https://videos.domainepublic.net/static/streaming-playlists/hls/ed90b31f-1b84-4b4e-a180-b1db186e422a/bdd5ae96-d678-4c06-b4a2-f44842ded2c1-720-fragmented.mp4" framerate="30" duration="29" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="640" fileSize="1406203" url="https://videos.domainepublic.net/static/streaming-playlists/hls/ed90b31f-1b84-4b4e-a180-b1db186e422a/50ee2de2-d63c-43cd-b4b7-993985893378-360-fragmented.mp4" framerate="30" duration="29" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/6466700e-ed85-4a4b-8484-1a1ed32b420c.jpg" height="1400" width="1400"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Tajani, te lo ricordi Berlusconi?</media:title>
            <media:description type="plain">Tajani, ci sei? Ti sei dimenticato di quando Berlusconi si commuoveva per lo sbarco degli albanesi in Italia? Siete riusciti a rinnegare persino le posizioni del vostro leader. E oggi governate con Giorgia Meloni. Gli elettori, però, hanno m...</media:description>
        </item>
        <item>
            <title><![CDATA[matrimonio-religioso]]></title>
            <link>https://peertube2.cpy.re/w/o6dmyr7ZJTS56qu2pKo4vU</link>
            <guid>https://peertube2.cpy.re/w/o6dmyr7ZJTS56qu2pKo4vU</guid>
            <pubDate>Sun, 09 Aug 2026 07:33:45 GMT</pubDate>
            <dc:creator>luigi priano</dc:creator>
            <enclosure length="19514712" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/b2e36211-a44f-4500-8bb4-d546c9f3e6f2?videoFileIds=5831209&amp;videoFileIds=5831208"/>
            <media:community>
                <media:statistics views="14"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/o6dmyr7ZJTS56qu2pKo4vU"/>
            <media:player url="https://peertube2.cpy.re/w/o6dmyr7ZJTS56qu2pKo4vU"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/b5c24c04-f525-49cf-ab7e-83e7bf16d1c9-0.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/1daa9a1a-9446-488e-85b3-379d6249be11-800-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/df33cd4c-3275-4e4e-b00a-79e9cca03b9f-0-hls.torrent" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="3358993" url="https://peertube.uno/static/web-videos/99b42199-8678-4f74-913b-d1e8452a6438-0.mp4" framerate="0" duration="208" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="800" fileSize="16155719" url="https://peertube.uno/static/streaming-playlists/hls/b2e36211-a44f-4500-8bb4-d546c9f3e6f2/21ad7b0d-e449-45f1-91d5-b5a0f11b8154-800-fragmented.mp4" framerate="30" duration="208" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="3367947" url="https://peertube.uno/static/streaming-playlists/hls/b2e36211-a44f-4500-8bb4-d546c9f3e6f2/9c18e8ac-74b2-4d17-9e5e-da2f94a42f98-0-fragmented.mp4" framerate="0" duration="208" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/5a5d84e6-8244-4b19-a55f-e00b8359606e.jpg" height="1400" width="1400"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">matrimonio-religioso</media:title>
        </item>
        <item>
            <title><![CDATA[Etrange Overlord - Chapitre 8]]></title>
            <link>https://peertube2.cpy.re/w/bHGtomNwYABU2BwxLsexEV</link>
            <guid>https://peertube2.cpy.re/w/bHGtomNwYABU2BwxLsexEV</guid>
            <pubDate>Sun, 09 Aug 2026 04:50:24 GMT</pubDate>
            <description><![CDATA[De belles retrouvailles musicales]]></description>
            <content:encoded><![CDATA[<p>De belles retrouvailles musicales</p>
]]></content:encoded>
            <dc:creator>Lucilia</dc:creator>
            <category>Gaming</category>
            <enclosure length="100161769" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/56cdd2b1-e517-4e6e-aa45-d970452fa115?videoFileIds=5831124"/>
            <media:community>
                <media:statistics views="0"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/bHGtomNwYABU2BwxLsexEV"/>
            <media:player url="https://peertube2.cpy.re/w/bHGtomNwYABU2BwxLsexEV"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/6dc04cc1-21fa-4e13-8c20-4c25ecc5f7a1-0.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/f445140e-07b7-4ecc-bd7c-3f94a89275ee-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/3e764483-be8d-40d7-bc76-e67aaa0064b3-480-hls.torrent" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="14302081" url="https://videos.pair2jeux.tube/static/web-videos/d304c5cb-14c4-4665-96a1-3e04f7b713ee-0.mp4" framerate="0" duration="356" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="100161769" url="https://videos.pair2jeux.tube/static/streaming-playlists/hls/56cdd2b1-e517-4e6e-aa45-d970452fa115/c2b8a6fa-48a4-4c98-99ab-27e6c8fbd137-720-fragmented.mp4" framerate="30" duration="356" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="48464587" url="https://videos.pair2jeux.tube/static/streaming-playlists/hls/56cdd2b1-e517-4e6e-aa45-d970452fa115/cc2a9867-5028-4d29-acda-4d402201f3e0-480-fragmented.mp4" framerate="30" duration="356" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/a0faa265-ec22-483c-8aff-8e2ff6c0b763.jpg" height="1400" width="1400"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Etrange Overlord - Chapitre 8</media:title>
            <media:description type="plain">De belles retrouvailles musicales</media:description>
        </item>
        <item>
            <title><![CDATA[Intergalactic Wasabi Mix - Live Mix by snowdusk - Episode 1219 - aNONradio.net - 2026/08/08]]></title>
            <link>https://peertube2.cpy.re/w/jW9Ufek2d1RatNG3yr9KYJ</link>
            <guid>https://peertube2.cpy.re/w/jW9Ufek2d1RatNG3yr9KYJ</guid>
            <pubDate>Sun, 09 Aug 2026 02:12:31 GMT</pubDate>
            <description><![CDATA[Tracklist coming soon...]]></description>
            <content:encoded><![CDATA[<p>Tracklist coming soon...</p>
]]></content:encoded>
            <dc:creator>snowdusk_channel</dc:creator>
            <category>Music</category>
            <enclosure length="2178685813" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/9954250f-15ff-4e88-bdc3-7fa0a3901636?videoFileIds=5831061&amp;videoFileIds=5831066"/>
            <media:community>
                <media:statistics views="2"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/jW9Ufek2d1RatNG3yr9KYJ"/>
            <media:player url="https://peertube2.cpy.re/w/jW9Ufek2d1RatNG3yr9KYJ"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/14f0fb6a-1a9b-4523-a0ba-10ea011a0f5c-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/edcd39af-6072-49eb-b025-761b3ea2bc87-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/9387269d-3525-49d2-8264-8e2aa8e3ccba-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/2d10b541-1dbe-4c65-bec8-c8ddbe0a4e5a-360-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/738b76c3-9efd-4359-b4d6-0136997388ff-240-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/5e6ffb67-d685-4659-a4ea-4d2ddaf0f143-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="2085399879" url="https://toobnix.org/static/streaming-playlists/hls/9954250f-15ff-4e88-bdc3-7fa0a3901636/8264b708-1f89-4f61-905f-2201f8857be9-1080-fragmented.mp4" framerate="30" duration="3582" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="1361103936" url="https://toobnix.org/static/streaming-playlists/hls/9954250f-15ff-4e88-bdc3-7fa0a3901636/b626d6d6-0685-4ed3-ae11-5ba67b75b2b7-720-fragmented.mp4" framerate="30" duration="3582" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="661769565" url="https://toobnix.org/static/streaming-playlists/hls/9954250f-15ff-4e88-bdc3-7fa0a3901636/7b6b8ac8-b8db-46ed-ad0c-bee9c709678c-480-fragmented.mp4" framerate="30" duration="3582" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="360" fileSize="464821997" url="https://toobnix.org/static/streaming-playlists/hls/9954250f-15ff-4e88-bdc3-7fa0a3901636/65086bef-9e2c-454e-8e0d-50c26aa98645-360-fragmented.mp4" framerate="30" duration="3582" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="235807062" url="https://toobnix.org/static/streaming-playlists/hls/9954250f-15ff-4e88-bdc3-7fa0a3901636/153d1fdb-c699-44d5-b4a0-db4f44f7ee1e-240-fragmented.mp4" framerate="30" duration="3582" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="93285934" url="https://toobnix.org/static/streaming-playlists/hls/9954250f-15ff-4e88-bdc3-7fa0a3901636/0104816a-f59c-4bf3-a0ed-e2068fc17cd3-0-fragmented.mp4" framerate="0" duration="3582" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/98d9b088-fa4a-4a57-9e78-bebdde071cd7.jpg" height="157" width="280"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/a305ed8b-076a-4fbf-a054-25a8236189f7.jpg" height="480" width="850"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Intergalactic Wasabi Mix - Live Mix by snowdusk - Episode 1219 - aNONradio.net - 2026/08/08</media:title>
            <media:description type="plain">Tracklist coming soon...</media:description>
        </item>
        <item>
            <title><![CDATA[Abandoned Art Deco swimming pool in Lancashire]]></title>
            <link>https://peertube2.cpy.re/w/feCn2r9Wv3ijZrx57okvfL</link>
            <guid>https://peertube2.cpy.re/w/feCn2r9Wv3ijZrx57okvfL</guid>
            <pubDate>Sun, 09 Aug 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Haslingden Swimming Baths, Rossendale, England. This once beautiful Art Deco baths was demolished a few years ago. Who remembers learning to swim here? #Haslingden #Rossendale #ArtDeco #History #Heritage]]></description>
            <content:encoded><![CDATA[<p>Haslingden Swimming Baths, Rossendale, England. This once beautiful Art Deco baths was demolished a few years ago. Who remembers learning to swim here?</p>
<p>#Haslingden #Rossendale #ArtDeco #History #Heritage</p>
]]></content:encoded>
            <dc:creator>Obsidian Urbex - Abandoned Places Videos</dc:creator>
            <category>Entertainment</category>
            <enclosure length="17264841" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/734704f9-9b56-4884-8685-35dd495f4404?videoFileIds=5831472&amp;videoFileIds=5831471"/>
            <media:community>
                <media:statistics views="26"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/feCn2r9Wv3ijZrx57okvfL"/>
            <media:player url="https://peertube2.cpy.re/w/feCn2r9Wv3ijZrx57okvfL"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/4a81757e-eac6-41eb-92af-5b1648eac4a5-0.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/5662d7f3-0ef6-41d1-9f02-0dd3f5d14e96-2560-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/bb03889d-c82c-43e5-ab1f-f61a38ae0978-1920-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/0470d796-e11f-4b87-8084-34fb7e58e835-640-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/bf190f38-7f34-422c-9361-ce759bdef926-0-hls.torrent" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="14294" url="https://lostpod.space/static/web-videos/40a21ce4-2f30-43dd-9aa4-a5b8ca2d75db-0.mp4" framerate="0" duration="28" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="2560" fileSize="17250547" url="https://lostpod.space/static/streaming-playlists/hls/734704f9-9b56-4884-8685-35dd495f4404/122be245-1cab-4f17-9c41-a4fcac2763a2-1440-fragmented.mp4" framerate="30" duration="28" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1920" fileSize="10477500" url="https://lostpod.space/static/streaming-playlists/hls/734704f9-9b56-4884-8685-35dd495f4404/9afda3bc-4901-492b-bdc7-d5e9bcd6a29c-1080-fragmented.mp4" framerate="30" duration="28" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="640" fileSize="1807285" url="https://lostpod.space/static/streaming-playlists/hls/734704f9-9b56-4884-8685-35dd495f4404/74a6bc0b-7112-4839-87f0-0dd6823cf21d-360-fragmented.mp4" framerate="30" duration="28" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="15510" url="https://lostpod.space/static/streaming-playlists/hls/734704f9-9b56-4884-8685-35dd495f4404/6fb96790-cdde-4eb2-a5ff-24c07636158c-0-fragmented.mp4" framerate="0" duration="28" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/fef594dc-d331-4415-bc9a-562cac4e3a7d.jpg" height="1400" width="1400"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Abandoned Art Deco swimming pool in Lancashire</media:title>
            <media:description type="plain">Haslingden Swimming Baths, Rossendale, England. This once beautiful Art Deco baths was demolished a few years ago. Who remembers learning to swim here? #Haslingden #Rossendale #ArtDeco #History #Heritage</media:description>
        </item>
        <item>
            <title><![CDATA[Recette sortes de pâtes véganes, sauce pimentée]]></title>
            <link>https://peertube2.cpy.re/w/tF8AEZvJ3bUib51Ud2o1FW</link>
            <guid>https://peertube2.cpy.re/w/tF8AEZvJ3bUib51Ud2o1FW</guid>
            <pubDate>Sat, 08 Aug 2026 20:06:07 GMT</pubDate>
            <description><![CDATA[Recette de pâtes, adaptée de la recette des « MAO ER DUO PEANUT » de @chey___nese : https://www.instagram.com/p/C7O_oqKIj5B/ Accompagnées d'une betterave cuite, carotte en entrée et chocogrenouille végane en dessert. J'ai fait la recet...]]></description>
            <content:encoded><![CDATA[<p>Recette de pâtes, adaptée de la recette des « <strong><em>MAO ER DUO PEANUT</em></strong> » de @chey___nese : <a href="https://www.instagram.com/p/C7O_oqKIj5B/" target="_blank" rel="noopener noreferrer">https://www.instagram.com/p/C7O_oqKIj5B/</a></p>
<p>Accompagnées d'une betterave cuite, carotte en entrée et chocogrenouille végane en dessert.</p>
<p>J'ai fait la recette de ces pâtes avec un mélange de « farines », mais peut être uniquement genre de la t110.</p>
<p>Bref, <strong>ingrédients</strong> pour 3 à 4, suivant les convives :</p>
<p><strong>Pour la pâte :</strong></p>
<ul>
<li>360 g de « farine » : 140 g de farine de pois chiche (vous pouvez faire avec des lentilles réduites en poudre ou autre), 10 g de graines de lin réduites en poudre, 60 g de farine de sarrasin, et 150 g de farine t110 ;</li>
<li>environ 2 c à c de sel Kala Namak ou autre sel ;</li>
<li>environ 186 g d’eau tiède.</li>
</ul>
<p><strong>Pour la sauce :</strong></p>
<ul>
<li>3 gousses d’ail, hachées ;</li>
<li>huile neutre recommandée (là, j'ai mis de l'huile de sésame toastée) ;</li>
<li>1.5 c à c de paprika fort (j'utilise du fort fumé) ou autre piment ;</li>
<li>1 c. à s. de sucre ;</li>
<li>1 c à c d'ail en poudre ;</li>
<li>environ 1 c à c de graines de sésame ;</li>
<li>3 c. à s. de sauce soja ;</li>
<li>2 c. à s. de purée de cacahuètes ;</li>
<li>eau (selon votre préférence de texture, si ce n'est que peut dépendre du temps de cuisson ; et là, j'ai dû mettre environ 100 ml) ;</li>
<li>des herbes fraîches hachées (type persil, coriandre, basilic ou ciboulette, selon votre goût, ce que vous avez).</li>
</ul>
<p><strong>Légumes d'accompagnement :</strong> au choix, suivant la saison, ce que vous avez, vos goûts.</p>
<p><strong>Déroulé de la recette :</strong></p>
<ul>
<li><strong><em>Pour les sortes de pâtes :</em></strong></li>
</ul>
<ul>
<li>faire chauffer de l'eau ;</li>
<li>mélanger farine et sel, ajouter l'eau tiède et pétrir ;</li>
<li>modeler en rouleau et découper la pâte en petits morceaux ;</li>
<li>les faire cuire dans une eau salée bouillante, jusqu'à ce que les sortes de pâtes flottent (une 10ène de minutes en général) ;</li>
<li>égoutter et mettre de côté ou ajouter à la sauce si vous avez bien calé votre timing.</li>
</ul>
<ul>
<li><strong><em>Pour la sauce :</em></strong></li>
</ul>
<ul>
<li>après avoir haché l'ail, mis de l'huile dans une poêle et chauffer un peu, ajouter l'ail haché et faire dorer environ 1 minute ;</li>
<li>ajouter le paprika/piment, le sucre, l'ail en poudre, les graines de sésame, et mélanger ;</li>
<li>puis ajouter la sauce soja et la purée de cacahuètes, et mélanger ;</li>
<li>ajouter de l'eau, et mélanger ;</li>
<li>réduire jusqu'à la consistance souhaitée, puis ajouter les pâtes et les herbes fraîches, mélanger un peu, couper la cuisson et laisser refroidir un peu.</li>
</ul>
<p>Bon appétit ! Et <strong>au passage, pour rappel</strong> :</p>
<ul>
<li>
<p>je vous invite à <strong>télécharger gratuitement</strong> la compilation des messages (<strong>réflexions, préoccupations écologiques et éthiques, poésies, histoires, créations diverses, évocation d’idéaux causes, partages de divers doc’s thèses sur de tous les sujets</strong> – <strong>du climat à la cause animale en passant par la politique économique, la spiritualité et les OVNIs</strong>) - sous forme de livre ebook - scribouillés pour « <strong><em>Le rendez-vous du vendredi</em></strong> » sur : <a href="https://www.cuisine-art-politique-et-compagnie.com/livres/compilation-ebook-livre-Le-rendez-vous-du-vendredi.pdf" target="_blank" rel="noopener noreferrer">https://www.cuisine-art-politique-et-compagnie.com/livres/compilation-ebook-livre-Le-rendez-vous-du-vendredi.pdf</a></p>
</li>
<li>
<p>et vous pouvez <strong>télécharger gratuitement</strong> le livre ebook de la sorte d’histoire « <strong><em>Au bout du fil</em></strong> » sur : <a href="https://www.cuisine-art-politique-et-compagnie.com/livres/Au-bout-du-fil-roman-de-science-fiction-illustre.pdf" target="_blank" rel="noopener noreferrer">https://www.cuisine-art-politique-et-compagnie.com/livres/Au-bout-du-fil-roman-de-science-fiction-illustre.pdf</a></p>
</li>
</ul>
<p>Merci de votre attention !</p>
]]></content:encoded>
            <dc:creator>Cuisine, Art, Politique et compagnie Vegan</dc:creator>
            <category>Food</category>
            <enclosure length="91158284" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/e01d6ee3-80d4-4f1a-a19f-779ce5a3aa0c?videoFileIds=5831011"/>
            <media:community>
                <media:statistics views="3"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/tF8AEZvJ3bUib51Ud2o1FW"/>
            <media:player url="https://peertube2.cpy.re/w/tF8AEZvJ3bUib51Ud2o1FW"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/3b56623b-a3a9-45a7-8e2d-45d39e0acc34-0.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/050eb06b-ec2a-4a60-a249-e08958dd736b-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/de1c7c2c-eb62-4185-b190-12129a4fee9b-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/b0e8d7c8-9acd-454e-bffd-cbd4d59702a0-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/294392e9-21a4-4801-ae08-9d8fb2b57888-240-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/92f4ca33-8f6e-4a47-b013-9997f1f08289-0-hls.torrent" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="2237420" url="https://static.indymotion.fr/web-videos/6108494c-a7c7-4bd5-a404-b67ce8b981b2-0.mp4" framerate="0" duration="141" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="91158284" url="https://static.indymotion.fr/streaming-playlists/hls/e01d6ee3-80d4-4f1a-a19f-779ce5a3aa0c/f44d3eb5-5090-4aae-98a4-75e3d17d3eb5-1080-fragmented.mp4" framerate="25" duration="141" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="45125795" url="https://static.indymotion.fr/streaming-playlists/hls/e01d6ee3-80d4-4f1a-a19f-779ce5a3aa0c/091c0e80-2301-497e-9618-0336b07acaa3-720-fragmented.mp4" framerate="25" duration="141" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="23182685" url="https://static.indymotion.fr/streaming-playlists/hls/e01d6ee3-80d4-4f1a-a19f-779ce5a3aa0c/524ff003-bd9b-4e7e-bdc6-7a67527e0aea-480-fragmented.mp4" framerate="25" duration="141" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="9706926" url="https://static.indymotion.fr/streaming-playlists/hls/e01d6ee3-80d4-4f1a-a19f-779ce5a3aa0c/6f59b341-45de-42b2-aa05-aa4d11af4fdc-240-fragmented.mp4" framerate="25" duration="141" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="2341093" url="https://static.indymotion.fr/streaming-playlists/hls/e01d6ee3-80d4-4f1a-a19f-779ce5a3aa0c/2f1c926c-2aca-4c7a-ae8f-607ba3026051-0-fragmented.mp4" framerate="0" duration="141" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/f513f8e1-b710-48e1-90f0-3fb8b90277f8.jpg" height="1400" width="1400"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Recette sortes de pâtes véganes, sauce pimentée</media:title>
            <media:description type="plain">Recette de pâtes, adaptée de la recette des « MAO ER DUO PEANUT » de @chey___nese : https://www.instagram.com/p/C7O_oqKIj5B/ Accompagnées d'une betterave cuite, carotte en entrée et chocogrenouille végane en dessert. J'ai fait la recet...</media:description>
        </item>
        <item>
            <title><![CDATA[[Festival Oasis 2026] Créer un terreau fertile au renouveau démocratique]]></title>
            <link>https://peertube2.cpy.re/w/6KUMez2cbyZruq5cc6jCnW</link>
            <guid>https://peertube2.cpy.re/w/6KUMez2cbyZruq5cc6jCnW</guid>
            <pubDate>Sat, 08 Aug 2026 19:13:46 GMT</pubDate>
            <description><![CDATA[Avec : Maud Delacroix - Coordinatrice de Hameaux Légers et maire des Roches Lévêque (Loir-et-Cher), David Briffaud - Paysan-boulanger, habitant d’un tiers lieux en Vendée et co-fondateur du collectif Bassines Non Merci !, Camilo Torres - Re...]]></description>
            <content:encoded><![CDATA[<p>Avec :</p>
<ul>
<li>Maud Delacroix - Coordinatrice de Hameaux Légers et maire des Roches Lévêque (Loir-et-Cher)</li>
<li>David Briffaud - Paysan-boulanger, habitant d’un tiers lieux en Vendée et co-fondateur du collectif Bassines Non Merci !</li>
<li>Camilo Torres - Représentant de l’Academy of Democratic Modernity</li>
<li>Thomas Lefrancq - Co-fondateur du Château Partagé et maire adjoint de Dullin (Savoie)</li>
</ul>
<p>Animation : Nora Guelton, responsable du plaidoyer de la Coopérative Oasis</p>
<p>Les écolieux ne font pas que réinventer la vie quotidienne : ils·elles réinventent aussi la manière de décider ensemble. Elles et ils disposent d'un « terrain de jeu » idéal pour expérimenter des processus démocratiques et y développer leur savoir-faire avant de s'engager à l'extérieur de leurs lieux de vie. Comment ces expériences nourrissent-elles la démocratie ?</p>
<p>--<br />
Cette édition du Festival Oasis s’est déroulée au Château du Feÿ à Villecien sur le territoire de Joigny, ville en transition, en Bourgogne. Plus de 600 personnes issues de 80 écolieux ou futur·es habitant·es, soutiens du mouvement ou simples curieux·ses, se sont donnés rendez-vous durant 4 jours pour échanger, apprendre, vibrer et faire grandir le réseau des oasis.</p>
<p>Ce festival est organisé par la Coopérative Oasis</p>
<p>Pour en savoir plus : <a href="https://cooperative-oasis.org/articles/festival-oasis-2026/" target="_blank" rel="noopener noreferrer">https://cooperative-oasis.org/articles/festival-oasis-2026/</a></p>
]]></content:encoded>
            <dc:creator>Coopérative Oasis</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="234021944" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/2e9f33c1-d50b-48a7-899d-0a582aac4ec8?videoFileIds=5830995"/>
            <media:community>
                <media:statistics views="0"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/6KUMez2cbyZruq5cc6jCnW"/>
            <media:player url="https://peertube2.cpy.re/w/6KUMez2cbyZruq5cc6jCnW"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/b2f3d6c1-4628-44fe-bfab-fdadacc5be0b-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/b3b7319d-c76b-48c5-a688-1666a7cbd008-360-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="234021944" url="https://video.colibris-outilslibres.org/static/streaming-playlists/hls/2e9f33c1-d50b-48a7-899d-0a582aac4ec8/8ab39f21-f883-4129-8874-26071013f5f6-480-fragmented.mp4" framerate="25" duration="4635" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="360" fileSize="172719698" url="https://video.colibris-outilslibres.org/static/streaming-playlists/hls/2e9f33c1-d50b-48a7-899d-0a582aac4ec8/44d5b8c9-5471-4f76-b9b2-5fa7317c772a-360-fragmented.mp4" framerate="25" duration="4635" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/928ec5e2-f27a-40af-8d19-800b5a095b58.jpg" height="480" width="850"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/27745d57-e05f-4786-8628-ba279cfec65a.jpg" height="157" width="280"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">[Festival Oasis 2026] Créer un terreau fertile au renouveau démocratique</media:title>
            <media:description type="plain">Avec : Maud Delacroix - Coordinatrice de Hameaux Légers et maire des Roches Lévêque (Loir-et-Cher), David Briffaud - Paysan-boulanger, habitant d’un tiers lieux en Vendée et co-fondateur du collectif Bassines Non Merci !, Camilo Torres - Re...</media:description>
        </item>
        <item>
            <title><![CDATA[[Festival Oasis 2026]  Faire alliance avec le vivant]]></title>
            <link>https://peertube2.cpy.re/w/1BMMBRsq2ybpkfK25JXF7K</link>
            <guid>https://peertube2.cpy.re/w/1BMMBRsq2ybpkfK25JXF7K</guid>
            <pubDate>Sat, 08 Aug 2026 19:01:52 GMT</pubDate>
            <description><![CDATA[Avec : Kalina Raskin - Directrice générale de CEEBIOS, exploratrice du biomimétisme, Arthur Keller - Ingénieur, spécialiste des risques systémiques et des stratégies de résilience, Animation : Laure Nouahlat, journaliste Vivre en écolie...]]></description>
            <content:encoded><![CDATA[<p>Avec :</p>
<ul>
<li>Kalina Raskin - Directrice générale de CEEBIOS, exploratrice du biomimétisme</li>
<li>Arthur Keller - Ingénieur, spécialiste des risques systémiques et des stratégies de résilience</li>
</ul>
<p>Animation : Laure Nouahlat, journaliste</p>
<p>Vivre en écolieu, ce n'est pas seulement partager un toit, c'est choisir une autre manière d'habiter la Terre. Face au dépassement des limites planétaires et à l'effondrement de la biodiversité, des oasis surgissent comme des actes de résistance : des lieux où l'on choisit de faire alliance avec le vivant. Mais concrètement, ça passe par quoi ?</p>
<p>--<br />
Cette édition du Festival Oasis s’est déroulée au Château du Feÿ à Villecien sur le territoire de Joigny, ville en transition, en Bourgogne. Plus de 600 personnes issues de 80 écolieux ou futur·es habitant·es, soutiens du mouvement ou simples curieux·ses, se sont donnés rendez-vous durant 4 jours pour échanger, apprendre, vibrer et faire grandir le réseau des oasis.</p>
<p>Ce festival est organisé par la Coopérative Oasis</p>
<p>Pour en savoir plus : <a href="https://cooperative-oasis.org/articles/festival-oasis-2026/" target="_blank" rel="noopener noreferrer">https://cooperative-oasis.org/articles/festival-oasis-2026/</a></p>
]]></content:encoded>
            <dc:creator>Coopérative Oasis</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="209283208" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/04ff3fb7-9be4-4100-b989-de6266288d7b?videoFileIds=5830989"/>
            <media:community>
                <media:statistics views="2"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/1BMMBRsq2ybpkfK25JXF7K"/>
            <media:player url="https://peertube2.cpy.re/w/1BMMBRsq2ybpkfK25JXF7K"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/e4c518db-41a1-4405-8927-5f7b3eea4a3b-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/4428922f-5a21-4e73-891d-fbacd485565e-360-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="209283208" url="https://video.colibris-outilslibres.org/static/streaming-playlists/hls/04ff3fb7-9be4-4100-b989-de6266288d7b/8bfc6c02-d74e-400b-86c8-b70622a700ea-480-fragmented.mp4" framerate="25" duration="4690" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="360" fileSize="165128123" url="https://video.colibris-outilslibres.org/static/streaming-playlists/hls/04ff3fb7-9be4-4100-b989-de6266288d7b/d8d8c1a6-ff87-472c-9c39-fe3df13f1ead-360-fragmented.mp4" framerate="25" duration="4690" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/6da1c445-12a9-4cef-835e-5cd913327bfd.jpg" height="480" width="850"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/2331070c-677f-46be-97a3-086fc0e6e343.jpg" height="157" width="280"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">[Festival Oasis 2026]  Faire alliance avec le vivant</media:title>
            <media:description type="plain">Avec : Kalina Raskin - Directrice générale de CEEBIOS, exploratrice du biomimétisme, Arthur Keller - Ingénieur, spécialiste des risques systémiques et des stratégies de résilience, Animation : Laure Nouahlat, journaliste Vivre en écolie...</media:description>
        </item>
        <item>
            <title><![CDATA[[Festival Oasis 2026] Réinventer le travail et son organisation]]></title>
            <link>https://peertube2.cpy.re/w/jwsTdK1BE9dJAczGN8GboW</link>
            <guid>https://peertube2.cpy.re/w/jwsTdK1BE9dJAczGN8GboW</guid>
            <pubDate>Sat, 08 Aug 2026 19:01:48 GMT</pubDate>
            <description><![CDATA[Avec : Michel Lallement - Titulaire de la chaire d’Analyse sociologique du travail, de l’emploi et des organisations du CNAM, Lauranne Heulot - Danseuse, membre de la communauté du Mallouestan, co-présidente de l'association du même nom, A...]]></description>
            <content:encoded><![CDATA[<p>Avec :</p>
<ul>
<li>Michel Lallement - Titulaire de la chaire d’Analyse sociologique du travail, de l’emploi et des organisations du CNAM</li>
<li>Lauranne Heulot - Danseuse, membre de la communauté du Mallouestan, co-présidente de l'association du même nom</li>
</ul>
<p>Animation : Mathieu Labonne, directeur de la Coopérative Oasis</p>
<p>À l'heure où l'explosion des « burn out » questionne nos équilibres de vie, les écolieux proposent des modes de travail qui concilient quête de sens individuelle et intérêt général. Mais cette réussite doit faire face à un certain nombre d'écueils : précarisation des habitant·es, phénomènes de "passagers clandestins", "récupération" par des logiques de marché. Comment gagner sa vie tout en prenant soin de la planète ?</p>
<p>--<br />
Cette édition du Festival Oasis s’est déroulée au Château du Feÿ à Villecien sur le territoire de Joigny, ville en transition, en Bourgogne. Plus de 600 personnes issues de 80 écolieux ou futur·es habitant·es, soutiens du mouvement ou simples curieux·ses, se sont donnés rendez-vous durant 4 jours pour échanger, apprendre, vibrer et faire grandir le réseau des oasis.</p>
<p>Ce festival est organisé par la Coopérative Oasis</p>
<p>Pour en savoir plus : <a href="https://cooperative-oasis.org/articles/festival-oasis-2026/" target="_blank" rel="noopener noreferrer">https://cooperative-oasis.org/articles/festival-oasis-2026/</a></p>
]]></content:encoded>
            <dc:creator>Coopérative Oasis</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="282393315" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/96056053-ba10-41c8-a050-a834bcdbd88a?videoFileIds=5830993"/>
            <media:community>
                <media:statistics views="1"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/jwsTdK1BE9dJAczGN8GboW"/>
            <media:player url="https://peertube2.cpy.re/w/jwsTdK1BE9dJAczGN8GboW"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/c5f2ee49-100e-4e9d-96e7-d1c20b2a624e-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/021db2f6-11be-4634-a2ca-6f4b4e4f89a7-360-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="282393315" url="https://video.colibris-outilslibres.org/static/streaming-playlists/hls/96056053-ba10-41c8-a050-a834bcdbd88a/9e3eee0c-534e-4e52-93e2-59741a04c5d7-480-fragmented.mp4" framerate="25" duration="5342" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="360" fileSize="195666938" url="https://video.colibris-outilslibres.org/static/streaming-playlists/hls/96056053-ba10-41c8-a050-a834bcdbd88a/04be945a-c788-4911-973a-caee65fb4e98-360-fragmented.mp4" framerate="25" duration="5342" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/c0cb00d0-19da-4d6b-afe8-a3c18f223bf1.jpg" height="480" width="850"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/cfde119a-13b6-4b14-bda2-1fba6b1cfdc8.jpg" height="157" width="280"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">[Festival Oasis 2026] Réinventer le travail et son organisation</media:title>
            <media:description type="plain">Avec : Michel Lallement - Titulaire de la chaire d’Analyse sociologique du travail, de l’emploi et des organisations du CNAM, Lauranne Heulot - Danseuse, membre de la communauté du Mallouestan, co-présidente de l'association du même nom, A...</media:description>
        </item>
        <item>
            <title><![CDATA[[Festival Oasis 2026] Donner un nouveau souffle au patrimoine]]></title>
            <link>https://peertube2.cpy.re/w/d8Vi1WSzm2ueHHAZrs2kZ6</link>
            <guid>https://peertube2.cpy.re/w/d8Vi1WSzm2ueHHAZrs2kZ6</guid>
            <pubDate>Sat, 08 Aug 2026 19:01:16 GMT</pubDate>
            <description><![CDATA[Avec : Sylvia Amar — Historienne de l'architecture, chercheuse associée à l'École nationale supérieure d'architecture de Marseille, Martin Robillard — Architecte DE HMONP, cofondateur des Renouées, écolieu à La Chaux (Cuisery, Bourgogne), ...]]></description>
            <content:encoded><![CDATA[<p>Avec :</p>
<ul>
<li>Sylvia Amar — Historienne de l'architecture, chercheuse associée à l'École nationale supérieure d'architecture de Marseille</li>
<li>Martin Robillard — Architecte DE HMONP, cofondateur des Renouées, écolieu à La Chaux (Cuisery, Bourgogne)</li>
<li>Nicolas Détrie — Économiste, urbaniste, entrepreneur collectif. Cofondateur et directeur de Yes We Camp</li>
</ul>
<p>Animation : Nora Guelton, responsable du plaidoyer de la Coopérative Oasis</p>
<p>Les oasis investissent des églises, des abbayes, des lieux de patrimoine industriel menacés d'abandon. Ils en font des lieux de vie, d'accueil, de travail. Au festival, on découvre ces histoires où la pierre et le collectif se rencontrent : un patrimoine qui ne se visite plus, mais qui se vit.</p>
<p>--<br />
Cette édition du Festival Oasis s’est déroulée au Château du Feÿ à Villecien sur le territoire de Joigny, ville en transition, en Bourgogne. Plus de 600 personnes issues de 80 écolieux ou futur·es habitant·es, soutiens du mouvement ou simples curieux·ses, se sont donnés rendez-vous durant 4 jours pour échanger, apprendre, vibrer et faire grandir le réseau des oasis.</p>
<p>Ce festival est organisé par la Coopérative Oasis</p>
<p>Pour en savoir plus : <a href="https://cooperative-oasis.org/articles/festival-oasis-2026/" target="_blank" rel="noopener noreferrer">https://cooperative-oasis.org/articles/festival-oasis-2026/</a></p>
]]></content:encoded>
            <dc:creator>Coopérative Oasis</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="283991285" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/6248b6a9-9511-4adf-bcb3-56da2d6ad143?videoFileIds=5830991"/>
            <media:community>
                <media:statistics views="0"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/d8Vi1WSzm2ueHHAZrs2kZ6"/>
            <media:player url="https://peertube2.cpy.re/w/d8Vi1WSzm2ueHHAZrs2kZ6"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/f2afa85b-4283-4de7-be38-1c63c4ada69f-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/554e0713-ab3f-4773-afea-10ec278ebe1a-360-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="283991285" url="https://video.colibris-outilslibres.org/static/streaming-playlists/hls/6248b6a9-9511-4adf-bcb3-56da2d6ad143/9d61e6ef-5a16-444b-b6f2-4cbbcc00c740-480-fragmented.mp4" framerate="25" duration="5373" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="360" fileSize="213377392" url="https://video.colibris-outilslibres.org/static/streaming-playlists/hls/6248b6a9-9511-4adf-bcb3-56da2d6ad143/8a958086-2d42-4c1a-aa8e-14b7835c8668-360-fragmented.mp4" framerate="25" duration="5373" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/04560624-8024-4be9-b960-376c3f887af0.jpg" height="480" width="850"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/af8de83b-7601-4056-9f8f-ad8d506079db.jpg" height="157" width="280"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">[Festival Oasis 2026] Donner un nouveau souffle au patrimoine</media:title>
            <media:description type="plain">Avec : Sylvia Amar — Historienne de l'architecture, chercheuse associée à l'École nationale supérieure d'architecture de Marseille, Martin Robillard — Architecte DE HMONP, cofondateur des Renouées, écolieu à La Chaux (Cuisery, Bourgogne), ...</media:description>
        </item>
        <item>
            <title><![CDATA[appello-gratuita-disabili-liguri]]></title>
            <link>https://peertube2.cpy.re/w/9p3F2hxjxwSzy6MEPFsKHo</link>
            <guid>https://peertube2.cpy.re/w/9p3F2hxjxwSzy6MEPFsKHo</guid>
            <pubDate>Sat, 08 Aug 2026 17:26:16 GMT</pubDate>
            <dc:creator>luigi priano</dc:creator>
            <category>Activism</category>
            <enclosure length="16148965" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/4400dcf7-fab7-4b61-9d07-0e0907f51b4c?videoFileIds=5830968&amp;videoFileIds=5830970"/>
            <media:community>
                <media:statistics views="3"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/9p3F2hxjxwSzy6MEPFsKHo"/>
            <media:player url="https://peertube2.cpy.re/w/9p3F2hxjxwSzy6MEPFsKHo"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/7e74d737-f1d3-44e6-9e01-00bf895eefce-0.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/f87748aa-5bcf-4456-9852-d40b6f4917f3-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/2321011c-45ee-4931-b2c1-ed93d3512c25-0-hls.torrent" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="2564752" url="https://peertube.uno/static/web-videos/77d1bfff-7d93-4fed-b38f-7894c2b985ff-0.mp4" framerate="0" duration="167" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="13584213" url="https://peertube.uno/static/streaming-playlists/hls/4400dcf7-fab7-4b61-9d07-0e0907f51b4c/594952ac-5c1d-489d-9cf9-f8c0af34e2f1-1080-fragmented.mp4" framerate="30" duration="167" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="2571386" url="https://peertube.uno/static/streaming-playlists/hls/4400dcf7-fab7-4b61-9d07-0e0907f51b4c/09e97e3d-3532-4711-8f7b-0583b8bf2ed5-0-fragmented.mp4" framerate="0" duration="167" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/1988e879-6e13-4b6d-b5f9-5359c8ac4230.jpg" height="1400" width="1400"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">appello-gratuita-disabili-liguri</media:title>
        </item>
    </channel>
</rss>

Videos of subscriptions feeds

path Parameters
format
required
string
Enum: "xml" "rss" "rss2" "atom" "atom1" "json" "json1"

format expected (we focus on making rss the most feature-rich ; it serves Media RSS)

query Parameters
accountId
required
string

limit listing to a specific account

hasHLSFiles
boolean

PeerTube >= 4.0 Display only videos that have HLS files

hasWebVideoFiles
boolean

PeerTube >= 6.0 Display only videos that have Web Video files

include
integer
Enum: 0 1 2 4 8 16 32

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator)

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
isLocal
boolean

PeerTube >= 4.0 Display only local or remote objects

nsfw
string
Enum: "true" "false"

whether to include nsfw videos, if any

privacyOneOf
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

PeerTube >= 4.0 Display only videos in this specific privacy/privacies

sort
string
Example: sort=-createdAt

Sort column

token
required
string

private token allowing access

Responses

Response samples

Content type
No sample

Videos podcast feed

query Parameters
enclosurePreference
string
Enum: "video-only" "audio-only"

Filter enclosures by type (video-only or audio-only)

playlistId
string

Limit listing to a specific video playlist

videoChannelId
string

Limit listing to a specific video channel

Responses

Register

As a visitor, you can use this API to open an account (if registrations are open on that PeerTube instance). As an admin, you should use the dedicated User creation API instead.

Resend user verification link

Request Body schema: application/json
email
required
string

User email

Responses

Request samples

Content type
application/json
{
  • "email": "string"
}

Resend verification link to registration request email

Request Body schema: application/json
email
required
string

Registration email

Responses

Request samples

Content type
application/json
{
  • "email": "string"
}

Verify a user

Following a user registration, the new user will receive an email asking to click a link containing a secret. This endpoint can also be used to verify a new email set in the user account.

path Parameters
id
required
integer (id) >= 1
Example: 42

Entity id

Request Body schema: application/json
verificationString
required
string <url>
isPendingEmail
boolean

Responses

Request samples

Content type
application/json
{
  • "verificationString": "string",
  • "isPendingEmail": true
}

Verify a registration email

Following a user registration request, the user will receive an email asking to click a link containing a secret.

path Parameters
registrationId
required
integer (id) >= 1
Example: 42

Registration ID

Request Body schema: application/json
verificationString
required
string <url>

Responses

Request samples

Content type
application/json
{
  • "verificationString": "string"
}

Register a user

Signup has to be enabled and signup approval is not required

Request Body schema: application/json
required
email
required
string <email>

email of the user, used for login or service communications

password
required
string <password> (password) [ 6 .. 50 ] characters
username
required
string [ 1 .. 50 ] characters /^[a-z0-9._]+$/

immutable name of the user, used to find or mention its actor

object

channel base information used to create the first channel of the user

displayName
string [ 1 .. 120 ] characters

editable name of the user, displayed in its representations

Responses

Request samples

Content type
application/json
{
  • "username": "chocobozzz",
  • "password": "pa$$word",
  • "email": "user@example.com",
  • "displayName": "string",
  • "channel": {
    }
}

Response samples

Content type
application/json
{
  • "state": {
    }
}

Request registration

Signup has to be enabled and require approval on the instance

Request Body schema: application/json
email
required
string <email>

email of the user, used for login or service communications

password
required
string <password> (password) [ 6 .. 50 ] characters
registrationReason
required
string

reason for the user to register on the instance

username
required
string [ 1 .. 50 ] characters /^[a-z0-9._]+$/

immutable name of the user, used to find or mention its actor

object

channel base information used to create the first channel of the user

displayName
string [ 1 .. 120 ] characters

editable name of the user, displayed in its representations

Responses

Request samples

Content type
application/json
{
  • "username": "chocobozzz",
  • "password": "pa$$word",
  • "email": "user@example.com",
  • "displayName": "string",
  • "channel": {
    },
  • "registrationReason": "string"
}

Response samples

Content type
application/json
{
  • "state": {
    }
}

Accept registration

Authorizations:
OAuth2
path Parameters
registrationId
required
integer (id) >= 1
Example: 42

Registration ID

Request Body schema: application/json
moderationResponse
required
string

Moderation response to send to the user

preventEmailDelivery
boolean

Set it to true if you don't want PeerTube to send an email to the user

Responses

Request samples

Content type
application/json
{
  • "moderationResponse": "string",
  • "preventEmailDelivery": true
}

Reject registration

Authorizations:
OAuth2
path Parameters
registrationId
required
integer (id) >= 1
Example: 42

Registration ID

Request Body schema: application/json
moderationResponse
required
string

Moderation response to send to the user

preventEmailDelivery
boolean

Set it to true if you don't want PeerTube to send an email to the user

Responses

Request samples

Content type
application/json
{
  • "moderationResponse": "string",
  • "preventEmailDelivery": true
}

Delete registration

Delete the registration entry. It will not remove the user associated with this registration (if any)

Authorizations:
OAuth2
path Parameters
registrationId
required
integer (id) >= 1
Example: 42

Registration ID

Responses

List registrations

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

search
string
sort
string
Enum: "-createdAt" "createdAt" "state" "-state"
start
integer >= 0

Offset used to paginate results

stateOneOf
Array of integers (UserRegistrationState)
Items Enum: 1 2 3

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Login/Logout

Sessions deal with access tokens over time. Only one session token can currently be used at a time.

Login prerequisite

You need to retrieve a client id and secret before logging in.

Responses

Request samples

API="https://peertube2.cpy.re/api/v1"

## AUTH
curl -s "$API/oauth-clients/local"

Response samples

Content type
application/json
{
  • "client_id": "v1ikx5hnfop4mdpnci8nsqh93c45rldf",
  • "client_secret": "AjWiOapPltI6EnsWQwlFarRtLh4u8tDt"
}

Login

With your client id and secret, you can retrieve an access and refresh tokens.

header Parameters
x-peertube-otp
string

If the user enabled two factor authentication, you need to provide the OTP code in this header

Request Body schema: application/x-www-form-urlencoded
client_id
required
string = 32 characters /^[a-z0-9]$/
client_secret
required
string = 32 characters /^[a-zA-Z0-9]$/
grant_type
required
string
username
required
string [ 1 .. 50 ] characters /^[a-z0-9._]+$/

immutable name of the user, used to find or mention its actor

externalAuthToken
string

If you want to authenticate using an external authentication token you got from an auth plugin (like peertube-plugin-auth-openid-connect for example) instead of a password or a refresh token, provide it here.

password
string <password> (password) [ 6 .. 50 ] characters

Responses

Request samples

## DEPENDENCIES: jq
API="https://peertube2.cpy.re/api/v1"
USERNAME="<your_username>"
PASSWORD="<your_password>"

## AUTH
client_id=$(curl -s "$API/oauth-clients/local" | jq -r ".client_id")
client_secret=$(curl -s "$API/oauth-clients/local" | jq -r ".client_secret")
curl -s "$API/users/token" \
  --data client_id="$client_id" \
  --data client_secret="$client_secret" \
  --data grant_type=password \
  --data username="$USERNAME" \
  --data-urlencode password="$PASSWORD" \
  | jq -r ".access_token"

Response samples

Content type
application/json
{
  • "token_type": "Bearer",
  • "access_token": "90286a0bdf0f7315d9d3fe8dabf9e1d2be9c97d0",
  • "refresh_token": "2e0d675df9fc96d2e4ec8a3ebbbf45eca9137bb7",
  • "expires_in": 14399,
  • "refresh_token_expires_in": 1209600
}

Logout

Revokes your access token and its associated refresh token, destroying your current session.

Authorizations:
OAuth2

Responses

List token sessions

Authorizations:
OAuth2
path Parameters
id
required
integer (id) >= 1
Example: 42

Entity id

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

List token sessions

Authorizations:
OAuth2
path Parameters
id
required
integer (id) >= 1
Example: 42

Entity id

tokenSessionId
required
integer (id) >= 1
Example: 42

Token session Id

Responses

Accounts

Accounts encompass remote accounts discovered across the federation, and correspond to the main Actor, along with video channels a user can create, which are also Actors. When a comment is posted, it is done with your Account's Actor.

Get an account

path Parameters
name
required
string
Example: chocobozzz | chocobozzz@example.org

The username or handle of the account

Responses

Response samples

Content type
application/json
{
  • "id": 42,
  • "url": "string",
  • "name": "chocobozzz",
  • "avatars": [
    ],
  • "host": "example.com",
  • "hostRedundancyAllowed": true,
  • "followingCount": 0,
  • "followersCount": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "userId": 42,
  • "displayName": "string",
  • "description": "string"
}

List videos of an account

path Parameters
name
required
string
Example: chocobozzz | chocobozzz@example.org

The username or handle of the account

query Parameters
string or Array of strings

PeerTube >= 6.2 Admins and moderators only filter on videos that contain one of these automatic tags

VideoCategorySet (integer) or Array of VideoCategorySet (integers)

category id of the video (see /videos/categories)

count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

excludeAlreadyWatched
boolean

Whether or not to exclude videos that are in the user's video history

hasHLSFiles
boolean

PeerTube >= 4.0 Display only videos that have HLS files

hasWebVideoFiles
boolean

PeerTube >= 6.0 Display only videos that have Web Video files

host
string

Find elements owned by this host

include
integer
Enum: 0 1 2 4 8 16 32

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator)

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
includeScheduledLive
boolean

whether or not include live that are scheduled for later

isLive
boolean

whether or not the video is a live

isLocal
boolean

PeerTube >= 4.0 Display only local or remote objects

VideoLanguageSet (string) or Array of VideoLanguageSet (strings)

language id of the video (see /videos/languages). Use _unknown to filter on videos that don't have a video language

VideoLicenceSet (integer) or Array of VideoLicenceSet (integers)

licence id of the video (see /videos/licences)

nsfw
string
Enum: "true" "false"

whether to include nsfw videos, if any

nsfwFlagsExcluded
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwFlagsIncluded
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
privacyOneOf
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

PeerTube >= 4.0 Display only videos in this specific privacy/privacies

search
string

Plain text search, applied to various parts of the model depending on endpoint

skipCount
string
Default: "false"
Enum: "true" "false"

if you don't need the total in the response

sort
string
Enum: "name" "-duration" "-createdAt" "-publishedAt" "-views" "-likes" "-comments" "-trending" "-hot" "-best"

Sort videos by criteria (prefixing with - means DESC order):

  • hot - Adaptation of Reddit "hot" algorithm taking into account video views, likes, dislikes and comments and publication date
  • best - Same than hot, but also takes into account user video history
  • trending - Sort videos by recent views ("recent" is defined by the admin)
  • views - Sort videos using their views counter
  • publishedAt - Sort by video publication date (when it became publicly available)
start
integer >= 0

Offset used to paginate results

integer or Array of integers

PeerTube >= 8.2 Admins and moderators only filter on videos that have one of these states

string or Array of strings

tag(s) of the video, where all should be present in the video

string or Array of strings

tag(s) of the video

Responses

Request samples

fetch('https://peertube2.cpy.re/api/v1/accounts/{name}/videos')
.then(function(response) {
  return response.json()
}).then(function(data) {
  console.log(data)
})

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

List followers of an account

Authorizations:
OAuth2
path Parameters
name
required
string
Example: chocobozzz | chocobozzz@example.org

The username or handle of the account

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

search
string

Plain text search, applied to various parts of the model depending on endpoint

sort
string
Value: "createdAt"

Sort followers by criteria

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

List accounts

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

List playlists of an account

path Parameters
name
required
string
Example: chocobozzz | chocobozzz@example.org

The username or handle of the account

query Parameters
string or Array of strings

PeerTube >= 8.0 Filter on playlists that are published on a channel with one of these names

count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

includeCollaborations
boolean

PeerTube >= 8.0 Include objects from collaborated channels

playlistType
integer (VideoPlaylistTypeSet)
Enum: 1 2

The video playlist type (Regular = 1, Watch Later = 2)

search
string

Plain text search, applied to various parts of the model depending on endpoint

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

List video channels of an account

path Parameters
name
required
string
Example: chocobozzz | chocobozzz@example.org

The username or handle of the account

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

includeCollaborations
boolean

PeerTube >= 8.0 Include objects from collaborated channels

search
string

Plain text search, applied to various parts of the model depending on endpoint

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

withStats
boolean

include daily view statistics for the last 30 days and total views (only if authenticated as the account user)

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

List the synchronizations of video channels of an account

path Parameters
name
required
string
Example: chocobozzz | chocobozzz@example.org

The username or handle of the account

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

includeCollaborations
boolean

PeerTube >= 8.0 Include objects from collaborated channels

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

List ratings of an account

Authorizations:
OAuth2
path Parameters
name
required
string
Example: chocobozzz | chocobozzz@example.org

The username or handle of the account

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

rating
string
Enum: "like" "dislike"

Optionally filter which ratings to retrieve

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Users

Using some features of PeerTube require authentication, for which User provide different levels of permission as well as associated user information. Each user has a corresponding local Account for federation.

Create a user

Authorizations:
OAuth2
Request Body schema: application/json
required

If the smtp server is configured, you can leave the password empty and an email will be sent asking the user to set it first.

email
required
string <email>

The user email

password
required
string <password> (password) [ 6 .. 50 ] characters
role
required
integer (UserRole)
Enum: 0 1 2

The user role (Admin = 0, Moderator = 1, User = 2)

username
required
string (username) [ 1 .. 50 ] characters /^[a-z0-9._]+$/

immutable name of the user, used to find or mention its actor

adminFlags
integer (UserAdminFlags)
Enum: 0 1

Admin flags for the user (None = 0, Bypass video blocklist = 1)

channelName
string (usernameChannel) [ 1 .. 50 ] characters /^[a-zA-Z0-9\\-_.:]+$/

immutable name of the channel, used to interact with its actor

videoQuota
integer

The user video quota in bytes

videoQuotaDaily
integer

The user daily video quota in bytes

Responses

Request samples

Content type
application/json
{
  • "username": "chocobozzz",
  • "password": "pa$$word",
  • "email": "user@example.com",
  • "videoQuota": -1,
  • "videoQuotaDaily": -1,
  • "channelName": "framasoft_videos",
  • "role": 2,
  • "adminFlags": 1
}

Response samples

Content type
application/json
{
  • "user": {
    }
}

List users

Authorizations:
OAuth2
query Parameters
blocked
boolean

Filter results down to (un)banned users

count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

role
integer (UserRole)
Enum: 0 1 2
Example: role=2

Filter results down to users with a specific role

search
string

Plain text search that will match with user usernames or emails

sort
string
Enum: "-id" "-username" "-createdAt"

Sort users by criteria

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Delete a user

Authorizations:
OAuth2
path Parameters
id
required
integer (id) >= 1
Example: 42

Entity id

Responses

Get a user

Authorizations:
OAuth2
path Parameters
id
required
integer (id) >= 1
Example: 42

Entity id

query Parameters
withStats
boolean

include statistics about the user (only available as a moderator/admin)

Responses

Response samples

Content type
application/json
Example
{
  • "id": 42,
  • "username": "chocobozzz",
  • "email": "user@example.com",
  • "emailVerified": true,
  • "nsfwPolicy": "display",
  • "nsfwFlagsDisplayed": 0,
  • "nsfwFlagsHidden": 0,
  • "nsfwFlagsWarned": 0,
  • "nsfwFlagsBlurred": 0,
  • "adminFlags": 1,
  • "autoPlayNextVideo": true,
  • "autoPlayNextVideoPlaylist": true,
  • "autoPlayVideo": true,
  • "p2pEnabled": true,
  • "videosHistoryEnabled": true,
  • "videoLanguages": [
    ],
  • "language": "string",
  • "videoQuota": -1,
  • "videoQuotaDaily": -1,
  • "role": {
    },
  • "theme": "string",
  • "account": {
    },
  • "notificationSettings": {
    },
  • "videoChannels": [
    ],
  • "blocked": true,
  • "blockedReason": "string",
  • "noInstanceConfigWarningModal": true,
  • "noAccountSetupWarningModal": true,
  • "noWelcomeModal": true,
  • "createdAt": "string",
  • "pluginAuth": "string",
  • "lastLoginDate": "2019-08-24T14:15:22Z",
  • "twoFactorEnabled": true,
  • "newFeaturesInfoRead": 0
}

Update a user

Authorizations:
OAuth2
path Parameters
id
required
integer (id) >= 1
Example: 42

Entity id

Request Body schema: application/json
required
adminFlags
integer (UserAdminFlags)
Enum: 0 1

Admin flags for the user (None = 0, Bypass video blocklist = 1)

email
string <email>

The updated email of the user

emailVerified
boolean

Set the email as verified

password
string <password> (password) [ 6 .. 50 ] characters
pluginAuth
string or null

The auth plugin to use to authenticate the user

role
integer (UserRole)
Enum: 0 1 2

The user role (Admin = 0, Moderator = 1, User = 2)

videoQuota
integer

The updated video quota of the user in bytes

videoQuotaDaily
integer

The updated daily video quota of the user in bytes

Responses

Request samples

Content type
application/json
{
  • "email": "user@example.com",
  • "emailVerified": true,
  • "videoQuota": 0,
  • "videoQuotaDaily": 0,
  • "pluginAuth": "peertube-plugin-auth-saml2",
  • "role": 2,
  • "adminFlags": 1,
  • "password": "pa$$word"
}

Block a user

Prevent a user from logging in and interacting with the instance

Authorizations:
OAuth2
path Parameters
id
required
integer (id) >= 1
Example: 42

Entity id

Request Body schema: application/json
reason
string [ 0 .. 500 ] characters

Optional reason for blocking the user

Responses

Request samples

Content type
application/json
{
  • "reason": "string"
}

Unblock a user

Allow a previously blocked user to login and interact with the instance

Authorizations:
OAuth2
path Parameters
id
required
integer (id) >= 1
Example: 42

Entity id

Responses

Resend user verification link

Request Body schema: application/json
email
required
string

User email

Responses

Request samples

Content type
application/json
{
  • "email": "string"
}

Verify a user

Following a user registration, the new user will receive an email asking to click a link containing a secret. This endpoint can also be used to verify a new email set in the user account.

path Parameters
id
required
integer (id) >= 1
Example: 42

Entity id

Request Body schema: application/json
verificationString
required
string <url>
isPendingEmail
boolean

Responses

Request samples

Content type
application/json
{
  • "verificationString": "string",
  • "isPendingEmail": true
}

Ask to reset password

An email containing a reset password link

Request Body schema: application/json
email
required
string

User email

Responses

Request samples

Content type
application/json
{
  • "email": "string"
}

Reset password

path Parameters
id
required
integer (id) >= 1
Example: 42

Entity id

Request Body schema: application/json
password
required
string
verificationString
required
string <url>

Responses

Request samples

Content type
application/json
{
  • "verificationString": "string",
  • "password": "string"
}

Request two factor auth

Request two factor authentication for a user

Authorizations:
OAuth2
path Parameters
id
required
integer (id) >= 1
Example: 42

Entity id

Request Body schema: application/json
currentPassword
string

Password of the currently authenticated user

Responses

Request samples

Content type
application/json
{
  • "currentPassword": "string"
}

Response samples

Content type
application/json
[
  • {
    }
]

Confirm two factor auth

Confirm a two factor authentication request

Authorizations:
OAuth2
path Parameters
id
required
integer (id) >= 1
Example: 42

Entity id

Request Body schema: application/json
otpToken
required
string

OTP token generated by the app

requestToken
required
string

Token to identify the two factor request

Responses

Request samples

Content type
application/json
{
  • "requestToken": "string",
  • "otpToken": "string"
}

Disable two factor auth

Disable two factor authentication of a user

Authorizations:
OAuth2
path Parameters
id
required
integer (id) >= 1
Example: 42

Entity id

Request Body schema: application/json
currentPassword
string

Password of the currently authenticated user

Responses

Request samples

Content type
application/json
{
  • "currentPassword": "string"
}

User Exports

To create an archive of user data.

Request user export

Request an archive of user data. An email is sent when the archive is ready.

Authorizations:
OAuth2
path Parameters
userId
required
integer (id) >= 1
Example: 42

User id

Request Body schema: application/json
withVideoFiles
boolean

Whether to include video files in the archive

Responses

Request samples

Content type
application/json
{
  • "withVideoFiles": true
}

Response samples

Content type
application/json
{
  • "export": {
    }
}

List user exports

PeerTube >= 6.1

Authorizations:
OAuth2
path Parameters
userId
required
integer (id) >= 1
Example: 42

User id

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "state": {
    },
  • "size": 0,
  • "privateDownloadUrl": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "expiresOn": "2019-08-24T14:15:22Z"
}

Delete a user export

PeerTube >= 6.1

Authorizations:
OAuth2
path Parameters
id
required
integer (id) >= 1
Example: 42

Entity id

userId
required
integer (id) >= 1
Example: 42

User id

Responses

User Imports

To import an archive of user data.

Initialize the resumable user import

PeerTube >= 6.1 Uses a resumable protocol to initialize the import of the archive

Authorizations:
OAuth2
path Parameters
userId
required
integer (id) >= 1
Example: 42

User id

header Parameters
X-Upload-Content-Length
required
number
Example: 2469036

Number of bytes that will be uploaded in subsequent requests. Set this value to the size of the file you are uploading.

X-Upload-Content-Type
required
string <mimetype>
Example: video/mp4

MIME type of the file that you are uploading. Depending on your instance settings, acceptable values might vary.

Request Body schema: application/json
filename
string <filename>

Archive filename including extension

Responses

Request samples

Content type
application/json
{
  • "filename": "user-export-6-2024-02-09T10_12_11.682Z"
}

Send chunk for the resumable user import

PeerTube >= 6.1 Uses a resumable protocol to continue, pause or resume the import of the archive

Authorizations:
OAuth2
path Parameters
userId
required
integer (id) >= 1
Example: 42

User id

query Parameters
upload_id
required
string

Created session id to proceed with. If you didn't send chunks in the last hour, it is not valid anymore and you need to initialize a new upload.

header Parameters
Content-Length
required
number
Example: 262144

Size of the chunk that the request is sending.

Remember that larger chunks are more efficient. PeerTube's web client uses chunks varying from 1048576 bytes (~1MB) and increases or reduces size depending on connection health.

Content-Range
required
string
Example: bytes 0-262143/2469036

Specifies the bytes in the file that the request is uploading.

For example, a value of bytes 0-262143/1000000 shows that the request is sending the first 262144 bytes (256 x 1024) in a 2,469,036 byte file.

Request Body schema: application/octet-stream
string <binary>

Responses

Cancel the resumable user import

PeerTube >= 6.1 Uses a resumable protocol to cancel the resumable user import

Authorizations:
OAuth2
path Parameters
userId
required
integer (id) >= 1
Example: 42

User id

query Parameters
upload_id
required
string

Created session id to proceed with. If you didn't send chunks in the last hour, it is not valid anymore and you need to initialize a new upload.

header Parameters
Content-Length
required
number
Example: 0

Responses

Get latest user import

PeerTube >= 6.1

Authorizations:
OAuth2
path Parameters
userId
required
integer (id) >= 1
Example: 42

User id

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "state": {
    },
  • "createdAt": "2019-08-24T14:15:22Z"
}

My User

Operations related to your own User, when logged-in.

Get my user information

Authorizations:
OAuth2

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Update my user information

Authorizations:
OAuth2
Request Body schema: application/json
required
autoPlayNextVideo
boolean

new preference regarding playing following videos automatically

autoPlayNextVideoPlaylist
boolean

new preference regarding playing following playlist videos automatically

autoPlayVideo
boolean

new preference regarding playing videos automatically

currentPassword
string <password> (password) [ 6 .. 50 ] characters
displayName
string [ 3 .. 120 ] characters

new name of the user in its representations

email
string <email>

new email used for login and service communications

language
string

default language for this user

noAccountSetupWarningModal
boolean
noInstanceConfigWarningModal
boolean
noWelcomeModal
boolean
nsfwFlagsBlurred
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwFlagsDisplayed
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwFlagsHidden
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwFlagsWarned
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwPolicy
string
Enum: "true" "false" "both"

new NSFW display policy

p2pEnabled
boolean

whether to enable P2P in the player or not

password
string <password> (password) [ 6 .. 50 ] characters
theme
string
videoLanguages
Array of strings

list of languages to filter videos down to

videosHistoryEnabled
boolean

whether to keep track of watched history or not

Responses

Request samples

Content type
application/json
{
  • "password": "pa$$word",
  • "currentPassword": "pa$$word",
  • "email": "user@example.com",
  • "displayName": "string",
  • "nsfwPolicy": "true",
  • "nsfwFlagsDisplayed": 0,
  • "nsfwFlagsHidden": 0,
  • "nsfwFlagsWarned": 0,
  • "nsfwFlagsBlurred": 0,
  • "p2pEnabled": true,
  • "autoPlayVideo": true,
  • "autoPlayNextVideo": true,
  • "autoPlayNextVideoPlaylist": true,
  • "videosHistoryEnabled": true,
  • "videoLanguages": [
    ],
  • "language": "string",
  • "theme": "string",
  • "noInstanceConfigWarningModal": true,
  • "noAccountSetupWarningModal": true,
  • "noWelcomeModal": true
}

Delete my account

Delete the authenticated user's account and all associated data

Authorizations:
OAuth2

Responses

Get video imports of my user

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

includeCollaborations
boolean

PeerTube >= 8.0 Include objects from collaborated channels

search
string

Search in video names

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

targetUrl
string

Filter on import target URL

videoChannelSyncId
number

Filter on imports created by a specific channel synchronization

videoId
integer

Filter on import video ID

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Get my user used quota

Authorizations:
OAuth2

Responses

Response samples

Content type
application/json
{
  • "videoQuotaUsed": 16810141515,
  • "videoQuotaUsedDaily": 1681014151
}

Get rate of my user for a video

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

Video id or UUID

Responses

Response samples

Content type
application/json
{
  • "id": 42,
  • "rating": "like"
}

List videos of my user

Authorizations:
OAuth2
query Parameters
string or Array of strings

PeerTube >= 6.2 Admins and moderators only filter on videos that contain one of these automatic tags

VideoCategorySet (integer) or Array of VideoCategorySet (integers)

category id of the video (see /videos/categories)

string or Array of strings

PeerTube >= 7.2 Filter on videos that are published by a channel with one of these names

count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

excludeAlreadyWatched
boolean

Whether or not to exclude videos that are in the user's video history

hasHLSFiles
boolean

PeerTube >= 4.0 Display only videos that have HLS files

hasWebVideoFiles
boolean

PeerTube >= 6.0 Display only videos that have Web Video files

host
string

Find elements owned by this host

include
integer
Enum: 0 1 2 4 8 16 32

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator)

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
includeCollaborations
boolean

PeerTube >= 8.0 Include objects from collaborated channels

includeScheduledLive
boolean

whether or not include live that are scheduled for later

isLive
boolean

whether or not the video is a live

isLocal
boolean

PeerTube >= 4.0 Display only local or remote objects

VideoLanguageSet (string) or Array of VideoLanguageSet (strings)

language id of the video (see /videos/languages). Use _unknown to filter on videos that don't have a video language

VideoLicenceSet (integer) or Array of VideoLicenceSet (integers)

licence id of the video (see /videos/licences)

nsfw
string
Enum: "true" "false"

whether to include nsfw videos, if any

nsfwFlagsExcluded
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwFlagsIncluded
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
privacyOneOf
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

PeerTube >= 4.0 Display only videos in this specific privacy/privacies

search
string

Plain text search, applied to various parts of the model depending on endpoint

skipCount
string
Default: "false"
Enum: "true" "false"

if you don't need the total in the response

sort
string
Enum: "name" "-duration" "-createdAt" "-publishedAt" "-views" "-likes" "-comments" "-trending" "-hot" "-best"

Sort videos by criteria (prefixing with - means DESC order):

  • hot - Adaptation of Reddit "hot" algorithm taking into account video views, likes, dislikes and comments and publication date
  • best - Same than hot, but also takes into account user video history
  • trending - Sort videos by recent views ("recent" is defined by the admin)
  • views - Sort videos using their views counter
  • publishedAt - Sort by video publication date (when it became publicly available)
start
integer >= 0

Offset used to paginate results

integer or Array of integers

PeerTube >= 8.2 Admins and moderators only filter on videos that have one of these states

string or Array of strings

tag(s) of the video, where all should be present in the video

string or Array of strings

tag(s) of the video

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Mark feature info as read

**PeerTube >= v8.0.0

Authorizations:
OAuth2
Request Body schema: application/json
feature
required
integer (NewFeatureInfoType)
Value: 1

Represent a new feature that can be displayed to inform users. One of the following values:

  • 1 CHANNEL_COLLABORATION

Responses

Request samples

Content type
application/json
{
  • "feature": 1
}

Update my user avatar

Authorizations:
OAuth2
Request Body schema: multipart/form-data
avatarfile
string <binary>

The file to upload

Responses

Response samples

Content type
application/json
{
  • "avatars": [
    ]
}

Delete my avatar

Authorizations:
OAuth2

Responses

List my abuses

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

id
integer

only list the report with this id

sort
string
Enum: "-id" "-createdAt" "-state"

Sort abuses by criteria

start
integer >= 0

Offset used to paginate results

state
integer (AbuseStateSet)
Enum: 1 2 3

The abuse state (Pending = 1, Rejected = 2, Accepted = 3)

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

My Subscriptions

Operations related to your subscriptions to video channels, their new videos, and how to keep up to date with their latest publications!

List my user subscriptions

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

sort
string
Enum: "-id" "-createdAt" "-channelUpdatedAt"
start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Add subscription to my user

Authorizations:
OAuth2
Request Body schema: application/json
uri
required
string <uri>

uri of the video channels to subscribe to

Responses

Request samples

Content type
application/json
{
  • "uri": "008a0e54-375d-49d0-8379-143202e24152@video.lqdn.fr"
}

Get if subscriptions exist for my user

Authorizations:
OAuth2
query Parameters
uris
required
Array of strings <uri> [ items <uri > ]

list of uris to check if each is part of the user subscriptions

Responses

Response samples

Content type
application/json
{ }

List videos of subscriptions of my user

Authorizations:
OAuth2
query Parameters
string or Array of strings

PeerTube >= 6.2 Admins and moderators only filter on videos that contain one of these automatic tags

VideoCategorySet (integer) or Array of VideoCategorySet (integers)

category id of the video (see /videos/categories)

count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

excludeAlreadyWatched
boolean

Whether or not to exclude videos that are in the user's video history

hasHLSFiles
boolean

PeerTube >= 4.0 Display only videos that have HLS files

hasWebVideoFiles
boolean

PeerTube >= 6.0 Display only videos that have Web Video files

host
string

Find elements owned by this host

include
integer
Enum: 0 1 2 4 8 16 32

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator)

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
includeScheduledLive
boolean

whether or not include live that are scheduled for later

isLive
boolean

whether or not the video is a live

isLocal
boolean

PeerTube >= 4.0 Display only local or remote objects

VideoLanguageSet (string) or Array of VideoLanguageSet (strings)

language id of the video (see /videos/languages). Use _unknown to filter on videos that don't have a video language

VideoLicenceSet (integer) or Array of VideoLicenceSet (integers)

licence id of the video (see /videos/licences)

nsfw
string
Enum: "true" "false"

whether to include nsfw videos, if any

nsfwFlagsExcluded
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwFlagsIncluded
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
privacyOneOf
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

PeerTube >= 4.0 Display only videos in this specific privacy/privacies

search
string

Plain text search, applied to various parts of the model depending on endpoint

skipCount
string
Default: "false"
Enum: "true" "false"

if you don't need the total in the response

sort
string
Enum: "name" "-duration" "-createdAt" "-publishedAt" "-views" "-likes" "-comments" "-trending" "-hot" "-best"

Sort videos by criteria (prefixing with - means DESC order):

  • hot - Adaptation of Reddit "hot" algorithm taking into account video views, likes, dislikes and comments and publication date
  • best - Same than hot, but also takes into account user video history
  • trending - Sort videos by recent views ("recent" is defined by the admin)
  • views - Sort videos using their views counter
  • publishedAt - Sort by video publication date (when it became publicly available)
start
integer >= 0

Offset used to paginate results

integer or Array of integers

PeerTube >= 8.2 Admins and moderators only filter on videos that have one of these states

string or Array of strings

tag(s) of the video, where all should be present in the video

string or Array of strings

tag(s) of the video

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Get subscription of my user

Authorizations:
OAuth2
path Parameters
subscriptionHandle
required
string
Example: my_username | my_username@example.com

The subscription handle

Responses

Response samples

Content type
application/json
{
  • "id": 42,
  • "url": "string",
  • "name": "chocobozzz",
  • "avatars": [
    ],
  • "host": "example.com",
  • "hostRedundancyAllowed": true,
  • "followingCount": 0,
  • "followersCount": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "displayName": "Videos of Framasoft",
  • "description": "Videos made with <3 by Framasoft",
  • "support": "Please support our work on https://soutenir.framasoft.org/en/ <3",
  • "publicEmail": "user@example.com",
  • "isLocal": true,
  • "banners": [
    ],
  • "ownerAccount": {
    }
}

Delete subscription of my user

Authorizations:
OAuth2
path Parameters
subscriptionHandle
required
string
Example: my_username | my_username@example.com

The subscription handle

Responses

My Notifications

Notifications following new videos, follows or reports. They allow you to keep track of the interactions and overall important information that concerns you. You MAY set per-notification type delivery preference, to receive the info either by mail, by in-browser notification or both.

List my notifications

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

typeOneOf
Array of integers (NotificationType)
Items Enum: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33

only list notifications of these types

unread
boolean

only list unread notifications

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Mark notifications as read by their id

Authorizations:
OAuth2
Request Body schema: application/json
ids
required
Array of integers

ids of the notifications to mark as read

Responses

Request samples

Content type
application/json
{
  • "ids": [
    ]
}

Mark all my notification as read

Authorizations:
OAuth2

Responses

Update my notification settings

Authorizations:
OAuth2
Request Body schema: application/json
abuseAsModerator
integer (NotificationSettingValue)

Notification type. One of the following values, or a sum of multiple values:

  • 0 NONE
  • 1 WEB
  • 2 EMAIL
abuseNewMessage
integer (NotificationSettingValue)

Notification type. One of the following values, or a sum of multiple values:

  • 0 NONE
  • 1 WEB
  • 2 EMAIL
abuseStateChange
integer (NotificationSettingValue)

Notification type. One of the following values, or a sum of multiple values:

  • 0 NONE
  • 1 WEB
  • 2 EMAIL
autoInstanceFollowing
integer (NotificationSettingValue)

Notification type. One of the following values, or a sum of multiple values:

  • 0 NONE
  • 1 WEB
  • 2 EMAIL
blacklistOnMyVideo
integer (NotificationSettingValue)

Notification type. One of the following values, or a sum of multiple values:

  • 0 NONE
  • 1 WEB
  • 2 EMAIL
commentMention
integer (NotificationSettingValue)

Notification type. One of the following values, or a sum of multiple values:

  • 0 NONE
  • 1 WEB
  • 2 EMAIL
myVideoImportFinished
integer (NotificationSettingValue)

Notification type. One of the following values, or a sum of multiple values:

  • 0 NONE
  • 1 WEB
  • 2 EMAIL
myVideoPublished
integer (NotificationSettingValue)

Notification type. One of the following values, or a sum of multiple values:

  • 0 NONE
  • 1 WEB
  • 2 EMAIL
myVideoStudioEditionFinished
integer (NotificationSettingValue)

Notification type. One of the following values, or a sum of multiple values:

  • 0 NONE
  • 1 WEB
  • 2 EMAIL
myVideoTranscriptionGenerated
integer (NotificationSettingValue)

Notification type. One of the following values, or a sum of multiple values:

  • 0 NONE
  • 1 WEB
  • 2 EMAIL
newCommentOnMyVideo
integer (NotificationSettingValue)

Notification type. One of the following values, or a sum of multiple values:

  • 0 NONE
  • 1 WEB
  • 2 EMAIL
newFollow
integer (NotificationSettingValue)

Notification type. One of the following values, or a sum of multiple values:

  • 0 NONE
  • 1 WEB
  • 2 EMAIL
newInstanceFollower
integer (NotificationSettingValue)

Notification type. One of the following values, or a sum of multiple values:

  • 0 NONE
  • 1 WEB
  • 2 EMAIL
newPeerTubeVersion
integer (NotificationSettingValue)

Notification type. One of the following values, or a sum of multiple values:

  • 0 NONE
  • 1 WEB
  • 2 EMAIL
newPluginVersion
integer (NotificationSettingValue)

Notification type. One of the following values, or a sum of multiple values:

  • 0 NONE
  • 1 WEB
  • 2 EMAIL
newUserRegistration
integer (NotificationSettingValue)

Notification type. One of the following values, or a sum of multiple values:

  • 0 NONE
  • 1 WEB
  • 2 EMAIL
newVideoFromSubscription
integer (NotificationSettingValue)

Notification type. One of the following values, or a sum of multiple values:

  • 0 NONE
  • 1 WEB
  • 2 EMAIL
videoAutoBlacklistAsModerator
integer (NotificationSettingValue)

Notification type. One of the following values, or a sum of multiple values:

  • 0 NONE
  • 1 WEB
  • 2 EMAIL

Responses

Request samples

Content type
application/json
{
  • "abuseAsModerator": 0,
  • "videoAutoBlacklistAsModerator": 0,
  • "newUserRegistration": 0,
  • "newVideoFromSubscription": 0,
  • "blacklistOnMyVideo": 0,
  • "myVideoPublished": 0,
  • "myVideoImportFinished": 0,
  • "commentMention": 0,
  • "newCommentOnMyVideo": 0,
  • "newFollow": 0,
  • "newInstanceFollower": 0,
  • "autoInstanceFollowing": 0,
  • "abuseStateChange": 0,
  • "abuseNewMessage": 0,
  • "newPeerTubeVersion": 0,
  • "newPluginVersion": 0,
  • "myVideoStudioEditionFinished": 0,
  • "myVideoTranscriptionGenerated": 0
}

My History

Operations related to your watch history.

List watched videos history

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

search
string

Plain text search, applied to various parts of the model depending on endpoint

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Delete history element

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

Video id or UUID

Responses

Clear video history

Authorizations:
OAuth2
Request Body schema: multipart/form-data
beforeDate
string <date-time>

history before this date will be deleted

Responses

Video

Operations dealing with listing, uploading, fetching or modifying videos.

List videos of an account

path Parameters
name
required
string
Example: chocobozzz | chocobozzz@example.org

The username or handle of the account

query Parameters
string or Array of strings

PeerTube >= 6.2 Admins and moderators only filter on videos that contain one of these automatic tags

VideoCategorySet (integer) or Array of VideoCategorySet (integers)

category id of the video (see /videos/categories)

count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

excludeAlreadyWatched
boolean

Whether or not to exclude videos that are in the user's video history

hasHLSFiles
boolean

PeerTube >= 4.0 Display only videos that have HLS files

hasWebVideoFiles
boolean

PeerTube >= 6.0 Display only videos that have Web Video files

host
string

Find elements owned by this host

include
integer
Enum: 0 1 2 4 8 16 32

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator)

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
includeScheduledLive
boolean

whether or not include live that are scheduled for later

isLive
boolean

whether or not the video is a live

isLocal
boolean

PeerTube >= 4.0 Display only local or remote objects

VideoLanguageSet (string) or Array of VideoLanguageSet (strings)

language id of the video (see /videos/languages). Use _unknown to filter on videos that don't have a video language

VideoLicenceSet (integer) or Array of VideoLicenceSet (integers)

licence id of the video (see /videos/licences)

nsfw
string
Enum: "true" "false"

whether to include nsfw videos, if any

nsfwFlagsExcluded
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwFlagsIncluded
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
privacyOneOf
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

PeerTube >= 4.0 Display only videos in this specific privacy/privacies

search
string

Plain text search, applied to various parts of the model depending on endpoint

skipCount
string
Default: "false"
Enum: "true" "false"

if you don't need the total in the response

sort
string
Enum: "name" "-duration" "-createdAt" "-publishedAt" "-views" "-likes" "-comments" "-trending" "-hot" "-best"

Sort videos by criteria (prefixing with - means DESC order):

  • hot - Adaptation of Reddit "hot" algorithm taking into account video views, likes, dislikes and comments and publication date
  • best - Same than hot, but also takes into account user video history
  • trending - Sort videos by recent views ("recent" is defined by the admin)
  • views - Sort videos using their views counter
  • publishedAt - Sort by video publication date (when it became publicly available)
start
integer >= 0

Offset used to paginate results

integer or Array of integers

PeerTube >= 8.2 Admins and moderators only filter on videos that have one of these states

string or Array of strings

tag(s) of the video, where all should be present in the video

string or Array of strings

tag(s) of the video

Responses

Request samples

fetch('https://peertube2.cpy.re/api/v1/accounts/{name}/videos')
.then(function(response) {
  return response.json()
}).then(function(data) {
  console.log(data)
})

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Request video token

Request special tokens that expire quickly to use them in some context (like accessing private static files)

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

header Parameters
x-peertube-video-password
string

Required on password protected video

Responses

Response samples

Content type
application/json
{
  • "files": {
    }
}

Create a studio task

Create a task to edit a video (cut, add intro/outro etc)

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Request Body schema: multipart/form-data
required
Array
Any of
name
string
Value: "cut"
object

Responses

List videos

query Parameters
string or Array of strings

PeerTube >= 6.2 Admins and moderators only filter on videos that contain one of these automatic tags

VideoCategorySet (integer) or Array of VideoCategorySet (integers)

category id of the video (see /videos/categories)

count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

excludeAlreadyWatched
boolean

Whether or not to exclude videos that are in the user's video history

hasHLSFiles
boolean

PeerTube >= 4.0 Display only videos that have HLS files

hasWebVideoFiles
boolean

PeerTube >= 6.0 Display only videos that have Web Video files

host
string

Find elements owned by this host

include
integer
Enum: 0 1 2 4 8 16 32

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator)

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
includeScheduledLive
boolean

whether or not include live that are scheduled for later

isLive
boolean

whether or not the video is a live

isLocal
boolean

PeerTube >= 4.0 Display only local or remote objects

VideoLanguageSet (string) or Array of VideoLanguageSet (strings)

language id of the video (see /videos/languages). Use _unknown to filter on videos that don't have a video language

VideoLicenceSet (integer) or Array of VideoLicenceSet (integers)

licence id of the video (see /videos/licences)

nsfw
string
Enum: "true" "false"

whether to include nsfw videos, if any

nsfwFlagsExcluded
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwFlagsIncluded
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
privacyOneOf
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

PeerTube >= 4.0 Display only videos in this specific privacy/privacies

search
string

Plain text search, applied to various parts of the model depending on endpoint

skipCount
string
Default: "false"
Enum: "true" "false"

if you don't need the total in the response

sort
string
Enum: "name" "-duration" "-createdAt" "-publishedAt" "-views" "-likes" "-comments" "-trending" "-hot" "-best"

Sort videos by criteria (prefixing with - means DESC order):

  • hot - Adaptation of Reddit "hot" algorithm taking into account video views, likes, dislikes and comments and publication date
  • best - Same than hot, but also takes into account user video history
  • trending - Sort videos by recent views ("recent" is defined by the admin)
  • views - Sort videos using their views counter
  • publishedAt - Sort by video publication date (when it became publicly available)
start
integer >= 0

Offset used to paginate results

integer or Array of integers

PeerTube >= 8.2 Admins and moderators only filter on videos that have one of these states

string or Array of strings

tag(s) of the video, where all should be present in the video

string or Array of strings

tag(s) of the video

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

List available video categories

Responses

Response samples

Content type
application/json
{
  • "1": "Music",
  • "2": "Films",
  • "3": "Vehicles",
  • "4": "Art",
  • "5": "Sports",
  • "6": "Travels",
  • "7": "Gaming",
  • "8": "People",
  • "9": "Comedy",
  • "10": "Entertainment",
  • "11": "News & Politics",
  • "12": "How To",
  • "13": "Education",
  • "14": "Activism",
  • "15": "Science & Technology",
  • "16": "Animals",
  • "17": "Kids",
  • "18": "Food"
}

List available video licences

Responses

Response samples

Content type
application/json
{
  • "1": "Attribution",
  • "2": "Attribution - Share Alike",
  • "3": "Attribution - No Derivatives",
  • "4": "Attribution - Non Commercial",
  • "5": "Attribution - Non Commercial - Share Alike",
  • "6": "Attribution - Non Commercial - No Derivatives",
  • "7": "Public Domain Dedication",
  • "8": "Free of known copyright restrictions",
  • "9": "All Rights Reserved"
}

List available video languages

query Parameters
scope
string
Value: "subtitle"

PeerTube >= 8.2 Filter languages by scope. Use subtitle to exclude sign languages and other languages that don't make sense for subtitles.

Responses

Response samples

Content type
application/json
{
  • "aa": "Afar",
  • "ab": "Abkhazian",
  • "af": "Afrikaans",
  • "ak": "Akan",
  • "am": "Amharic",
  • "ar": "Arabic",
  • "an": "Aragonese",
  • "ase": "American Sign Language",
  • "as": "Assamese",
  • "asq": "Austrian Sign Language",
  • "av": "Avaric",
  • "avk": "Kotava",
  • "ay": "Aymara",
  • "az": "Azerbaijani",
  • "ba": "Bashkir",
  • "bm": "Bambara",
  • "be": "Belarusian",
  • "bn": "Bengali",
  • "bfi": "British Sign Language",
  • "bi": "Bislama",
  • "bo": "Tibetan",
  • "bs": "Bosnian",
  • "br": "Breton",
  • "bg": "Bulgarian",
  • "bzs": "Brazilian Sign Language",
  • "ca": "Catalan",
  • "cs": "Czech",
  • "ch": "Chamorro",
  • "ce": "Chechen",
  • "cv": "Chuvash",
  • "kw": "Cornish",
  • "co": "Corsican",
  • "cr": "Cree",
  • "cse": "Czech Sign Language",
  • "csl": "Chinese Sign Language",
  • "cy": "Welsh",
  • "da": "Danish",
  • "de": "German",
  • "dv": "Dhivehi",
  • "dsl": "Danish Sign Language",
  • "dz": "Dzongkha",
  • "el": "Greek",
  • "en": "English",
  • "eo": "Esperanto",
  • "et": "Estonian",
  • "eu": "Basque",
  • "ee": "Ewe",
  • "fo": "Faroese",
  • "fa": "Persian",
  • "fj": "Fijian",
  • "fi": "Finnish",
  • "fr": "French",
  • "fy": "Western Frisian",
  • "fse": "Finnish Sign Language",
  • "fsl": "French Sign Language",
  • "ff": "Fulah",
  • "gcf": "Guadeloupean Creole French",
  • "gd": "Scottish Gaelic",
  • "ga": "Irish",
  • "gl": "Galician",
  • "gv": "Manx",
  • "gn": "Guarani",
  • "gsg": "German Sign Language",
  • "gsw": "Swiss German",
  • "gu": "Gujarati",
  • "ht": "Haitian",
  • "ha": "Hausa",
  • "sh": "Serbo-Croatian",
  • "he": "Hebrew",
  • "hz": "Herero",
  • "hi": "Hindi",
  • "ho": "Hiri Motu",
  • "hr": "Croatian",
  • "hu": "Hungarian",
  • "hy": "Armenian",
  • "ig": "Igbo",
  • "ii": "Sichuan Yi",
  • "iu": "Inuktitut",
  • "id": "Indonesian",
  • "ik": "Inupiaq",
  • "is": "Icelandic",
  • "it": "Italian",
  • "jv": "Javanese",
  • "jbo": "Lojban",
  • "ja": "Japanese",
  • "jsl": "Japanese Sign Language",
  • "kab": "Kabyle",
  • "kl": "Kalaallisut",
  • "kn": "Kannada",
  • "ks": "Kashmiri",
  • "ka": "Georgian",
  • "kr": "Kanuri",
  • "kk": "Kazakh",
  • "km": "Khmer",
  • "ki": "Kikuyu",
  • "rw": "Kinyarwanda",
  • "ky": "Kirghiz",
  • "kv": "Komi",
  • "kg": "Kongo",
  • "ko": "Korean",
  • "kj": "Kuanyama",
  • "ku": "Kurdish",
  • "lo": "Lao",
  • "la": "Latin",
  • "lv": "Latvian",
  • "li": "Limburgan",
  • "ln": "Lingala",
  • "lt": "Lithuanian",
  • "lb": "Luxembourgish",
  • "lu": "Luba-Katanga",
  • "lg": "Ganda",
  • "mh": "Marshallese",
  • "ml": "Malayalam",
  • "mr": "Marathi",
  • "mk": "Macedonian",
  • "mg": "Malagasy",
  • "mt": "Maltese",
  • "mn": "Mongolian",
  • "mi": "Maori",
  • "ms": "Malay (macrolanguage)",
  • "my": "Burmese",
  • "na": "Nauru",
  • "nv": "Navajo",
  • "nr": "South Ndebele",
  • "nd": "North Ndebele",
  • "ng": "Ndonga",
  • "ne": "Nepali (macrolanguage)",
  • "nl": "Dutch",
  • "nn": "Norwegian Nynorsk",
  • "nb": "Norwegian Bokmål",
  • "no": "Norwegian",
  • "ny": "Nyanja",
  • "oc": "Occitan",
  • "oj": "Ojibwa",
  • "or": "Oriya (macrolanguage)",
  • "om": "Oromo",
  • "os": "Ossetian",
  • "pa": "Panjabi",
  • "pks": "Pakistan Sign Language",
  • "pl": "Polish",
  • "pt": "Portuguese (Brazilian)",
  • "ps": "Pushto",
  • "qu": "Quechua",
  • "rm": "Romansh",
  • "ro": "Romanian",
  • "rsl": "Russian Sign Language",
  • "rn": "Rundi",
  • "ru": "Russian",
  • "sg": "Sango",
  • "sdl": "Saudi Arabian Sign Language",
  • "sfs": "South African Sign Language",
  • "si": "Sinhala",
  • "sk": "Slovak",
  • "sl": "Slovenian",
  • "se": "Northern Sami",
  • "sm": "Samoan",
  • "sn": "Shona",
  • "sd": "Sindhi",
  • "so": "Somali",
  • "st": "Southern Sotho",
  • "es": "Spanish (Spain)",
  • "sq": "Albanian",
  • "sc": "Sardinian",
  • "sr": "Serbian",
  • "ss": "Swati",
  • "su": "Sundanese",
  • "sw": "Swahili (macrolanguage)",
  • "sv": "Swedish",
  • "swl": "Swedish Sign Language",
  • "ty": "Tahitian",
  • "ta": "Tamil",
  • "tt": "Tatar",
  • "te": "Telugu",
  • "tg": "Tajik",
  • "tl": "Tagalog",
  • "th": "Thai",
  • "ti": "Tigrinya",
  • "tlh": "Klingon",
  • "to": "Tonga (Tonga Islands)",
  • "tn": "Tswana",
  • "ts": "Tsonga",
  • "tk": "Turkmen",
  • "tr": "Turkish",
  • "tw": "Twi",
  • "ug": "Uighur",
  • "uk": "Ukrainian",
  • "ur": "Urdu",
  • "uz": "Uzbek",
  • "ve": "Venda",
  • "vi": "Vietnamese",
  • "wa": "Walloon",
  • "wo": "Wolof",
  • "xh": "Xhosa",
  • "yi": "Yiddish",
  • "yo": "Yoruba",
  • "za": "Zhuang",
  • "zh": "Chinese",
  • "zu": "Zulu",
  • "zxx": "No linguistic content",
  • "tok": "Toki Pona",
  • "pt-PT": "Portuguese (Portugal)",
  • "es-419": "Spanish (Latin America)",
  • "zh-Hans": "Simplified Chinese",
  • "zh-Hant": "Traditional Chinese",
  • "ca-valencia": "Valencian",
  • "rcf": "Réunion Creole French",
  • "gcr": "Guianese Creole French"
}

List available video privacy policies

Responses

Response samples

Content type
application/json
{
  • "1": "Public",
  • "2": "Unlisted",
  • "3": "Private",
  • "4": "Internal",
  • "5": "Password protected"
}

Update a video

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Request Body schema: multipart/form-data
category
integer (VideoCategorySet)

category id of the video (see /videos/categories)

channelId
integer

New channel of the video. The channel must be owned by the same account as the previous one. Use the "change ownership" endpoints to give a video to a channel owned by another account on the local PeerTube instance.

commentsPolicy
integer (VideoCommentsPolicySet)
Enum: 1 2 3

Comments policy of the video (Enabled = 1, Disabled = 2, Requires Approval = 3)

description
string

Video description

downloadEnabled
boolean

Enable or disable downloading for this video

language
string (VideoLanguageSet)

language id of the video (see /videos/languages)

licence
integer (VideoLicenceSet)

licence id of the video (see /videos/licences)

name
string [ 3 .. 120 ] characters

Video name

nsfw
boolean

Whether or not this video contains sensitive content

nsfwFlags
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwSummary
any

More information about the sensitive content of the video

originallyPublishedAt
string or null <date-time>

Date when the content was originally published

previewfile
string <binary>
Deprecated

Deprecated in PeerTube v8.1, use thumbnailfile instead

privacy
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

privacy id of the video (see /videos/privacies)

object (VideoScheduledUpdate)
support
string

A text tell the audience how to support the video creator

tags
Array of strings [ 1 .. 5 ] items [ items [ 2 .. 30 ] characters ]

Video tags (maximum 5 tags each between 2 and 30 characters)

thumbnailfile
string <binary>

Video thumbnail file

videoPasswords
Array of strings (AddVideoPasswords) unique [ items >= 2 characters ]
waitTranscoding
string

Whether or not we wait transcoding before publish the video

Responses

Get a video

path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

header Parameters
x-peertube-video-password
string

Required on password protected video

Responses

Response samples

Content type
application/json
{
  • "id": 42,
  • "uuid": "9c9de5e8-0a1e-484a-b099-e80766180a6d",
  • "shortUUID": "2y84q2MQUMWPbiEcxNXMgC",
  • "isLive": true,
  • "liveSchedules": [
    ],
  • "createdAt": "2017-10-01T10:52:46.396Z",
  • "publishedAt": "2018-10-01T10:52:46.396Z",
  • "updatedAt": "2021-05-04T08:01:01.502Z",
  • "originallyPublishedAt": "2010-10-01T10:52:46.396Z",
  • "category": {
    },
  • "licence": {
    },
  • "language": {
    },
  • "privacy": {
    },
  • "truncatedDescription": "**[Want to help to translate this video?](https://weblate.framasoft.org/projects/what-is-peertube-video/)**\\r\\n\\r\\n\n**Take back the control of your videos! [#JoinPeertube](https://joinpeertube.org)**\\r\\n*A decentralized video hosting network, based on fr...\n",
  • "duration": 1419,
  • "aspectRatio": 1.778,
  • "isLocal": true,
  • "name": "What is PeerTube?",
  • "thumbnailPath": "string",
  • "previewPath": "string",
  • "thumbnails": [
    ],
  • "embedPath": "/videos/embed/a65bc12f-9383-462e-81ae-8207e8b434ee",
  • "views": 1337,
  • "likes": 42,
  • "dislikes": 7,
  • "comments": 0,
  • "nsfw": true,
  • "nsfwFlags": 0,
  • "nsfwSummary": "string",
  • "waitTranscoding": true,
  • "state": {
    },
  • "scheduledUpdate": {
    },
  • "blacklisted": true,
  • "blacklistedReason": "string",
  • "account": {
    },
  • "channel": {
    },
  • "userHistory": {
    },
  • "viewers": 0,
  • "description": "\"**[Want to help to translate this video?](https://weblate.framasoft.org/projects/what-is-peertube-video/)**\\r\\n\\r\\n\n**Take back the control of your videos! [#JoinPeertube](https://joinpeertube.org)**\\r\\n*A decentralized video hosting network,\nbased on free/libre software!*\\r\\n\\r\\n**Animation Produced by:** [LILA](https://libreart.info) - [ZeMarmot Team](https://film.zemarmot.net)\\r\\n\n*Directed by* Aryeom\\r\\n*Assistant* Jehan\\r\\n**Licence**: [CC-By-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)\\r\\n\\r\\n\n**Sponsored by** [Framasoft](https://framasoft.org)\\r\\n\\r\\n**Music**: [Red Step Forward](http://play.dogmazic.net/song.php?song_id=52491) - CC-By Ken Bushima\\r\\n\\r\\n\n**Movie Clip**: [Caminades 3: Llamigos](http://www.caminandes.com/) CC-By Blender Institute\\r\\n\\r\\n**Video sources**: https://gitlab.gnome.org/Jehan/what-is-peertube/\"\n",
  • "support": "Please support our work on https://soutenir.framasoft.org/en/ <3",
  • "tags": [
    ],
  • "commentsPolicy": {
    },
  • "downloadEnabled": true,
  • "inputFileUpdatedAt": "2019-08-24T14:15:22Z",
  • "trackerUrls": [],
  • "files": [
    ],
  • "streamingPlaylists": [
    ]
}

Delete a video

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Responses

Notify user is watching a video

Call this endpoint regularly (every 5-10 seconds for example) to notify the server the user is watching the video. After a while, PeerTube will increase video's viewers counter. If the user is authenticated, PeerTube will also store the current player time.

path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Request Body schema: application/json
required
currentTime
required
integer <seconds>

timestamp within the video, in seconds

client
string

Client software used to watch the video. For example "Firefox", "PeerTube Approval Android", etc.

device
any
Enum: "console" "embedded" "mobile" "smarttv" "tablet" "wearable" "xr" "desktop"

Device used to watch the video. For example "desktop", "mobile", "smarttv", etc.

operatingSystem
string

Operating system used to watch the video. For example "Windows", "Ubuntu", etc.

sessionId
string

Optional param to represent the current viewer session. Used by the backend to properly count one view per session per video. PeerTube admin can configure the server to not trust this sessionId parameter but use the request IP address instead to identify a viewer.

viewEvent
string
Value: "seek"

Event since last viewing call:

  • seek - If the user seeked the video

Responses

Request samples

Content type
application/json
{
  • "currentTime": 5,
  • "viewEvent": "seek",
  • "sessionId": "string",
  • "client": "string",
  • "device": "console",
  • "operatingSystem": "string"
}

Upload a video

Uses a single request to upload a video.

Authorizations:
OAuth2
Request Body schema: multipart/form-data
channelId
required
integer >= 1

Channel id that will contain this video

name
required
string [ 3 .. 120 ] characters

Video name

videofile
required
string <binary>

Video file

category
integer (VideoCategorySet)

category id of the video (see /videos/categories)

commentsPolicy
integer (VideoCommentsPolicySet)
Enum: 1 2 3

Comments policy of the video (Enabled = 1, Disabled = 2, Requires Approval = 3)

description
string

Video description

downloadEnabled
boolean

Enable or disable downloading for this video

generateTranscription
boolean

PeerTube >= 6.2 If enabled by the admin, automatically generate a subtitle of the video

language
string (VideoLanguageSet)

language id of the video (see /videos/languages)

licence
integer (VideoLicenceSet)

licence id of the video (see /videos/licences)

nsfw
boolean

Whether or not this video contains sensitive content

nsfwFlags
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwSummary
any

More information about the sensitive content of the video

originallyPublishedAt
string <date-time>

Date when the content was originally published

previewfile
string <binary>
Deprecated

Deprecated in PeerTube v8.1, use thumbnailfile instead

privacy
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

privacy id of the video (see /videos/privacies)

object (VideoScheduledUpdate)
support
string

A text tell the audience how to support the video creator

tags
Array of strings [ 1 .. 5 ] items unique [ items [ 2 .. 30 ] characters ]

Video tags (maximum 5 tags each between 2 and 30 characters)

thumbnailfile
string <binary>

Video thumbnail file

videoPasswords
Array of strings (AddVideoPasswords) unique [ items >= 2 characters ]
waitTranscoding
boolean

Whether or not we wait transcoding before publish the video

Responses

Request samples

## DEPENDENCIES: jq
USERNAME="<your_username>"
PASSWORD="<your_password>"
FILE_PATH="<your_file_path>"
CHANNEL_ID="<your_channel_id>"
NAME="<video_name>"
API="https://peertube2.cpy.re/api/v1"

## AUTH
client_id=$(curl -s "$API/oauth-clients/local" | jq -r ".client_id")
client_secret=$(curl -s "$API/oauth-clients/local" | jq -r ".client_secret")
token=$(curl -s "$API/users/token" \
  --data client_id="$client_id" \
  --data client_secret="$client_secret" \
  --data grant_type=password \
  --data username="$USERNAME" \
  --data password="$PASSWORD" \
  | jq -r ".access_token")

## VIDEO UPLOAD
curl -s "$API/videos/upload" \
  -H "Authorization: Bearer $token" \
  --max-time 600 \
  --form videofile=@"$FILE_PATH" \
  --form channelId=$CHANNEL_ID \
  --form name="$NAME"

Response samples

Content type
application/json
{
  • "video": {
    }
}

Initialize the resumable upload of a video

Uses a resumable protocol to initialize the upload of a video

Authorizations:
OAuth2
header Parameters
X-Upload-Content-Length
required
number
Example: 2469036

Number of bytes that will be uploaded in subsequent requests. Set this value to the size of the file you are uploading.

X-Upload-Content-Type
required
string <mimetype>
Example: video/mp4

MIME type of the file that you are uploading. Depending on your instance settings, acceptable values might vary.

Request Body schema: application/json
channelId
required
integer >= 1

Channel id that will contain this video

filename
required
string <filename>

Video filename including extension

name
required
string [ 3 .. 120 ] characters

Video name

category
integer (VideoCategorySet)

category id of the video (see /videos/categories)

commentsPolicy
integer (VideoCommentsPolicySet)
Enum: 1 2 3

Comments policy of the video (Enabled = 1, Disabled = 2, Requires Approval = 3)

description
string

Video description

downloadEnabled
boolean

Enable or disable downloading for this video

generateTranscription
boolean

PeerTube >= 6.2 If enabled by the admin, automatically generate a subtitle of the video

language
string (VideoLanguageSet)

language id of the video (see /videos/languages)

licence
integer (VideoLicenceSet)

licence id of the video (see /videos/licences)

nsfw
boolean

Whether or not this video contains sensitive content

nsfwFlags
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwSummary
any

More information about the sensitive content of the video

originallyPublishedAt
string <date-time>

Date when the content was originally published

previewfile
string <binary>
Deprecated

Deprecated in PeerTube v8.1, use thumbnailfile instead

privacy
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

privacy id of the video (see /videos/privacies)

object (VideoScheduledUpdate)
support
string

A text tell the audience how to support the video creator

tags
Array of strings [ 1 .. 5 ] items unique [ items [ 2 .. 30 ] characters ]

Video tags (maximum 5 tags each between 2 and 30 characters)

thumbnailfile
string <binary>

Video thumbnail file

videoPasswords
Array of strings (AddVideoPasswords) unique [ items >= 2 characters ]
waitTranscoding
boolean

Whether or not we wait transcoding before publish the video

Responses

Request samples

Content type
application/json
{
  • "name": "What is PeerTube?",
  • "channelId": 3,
  • "privacy": 1,
  • "category": 15,
  • "licence": 2,
  • "language": "en",
  • "description": "**[Want to help to translate this video?](https://weblate.framasoft.org/projects/what-is-peertube-video/)**\\r\\n\\r\\n**Take back the control of your videos! [#JoinPeertube](https://joinpeertube.org)**\n",
  • "waitTranscoding": true,
  • "generateTranscription": true,
  • "support": "Please support our work on https://soutenir.framasoft.org/en/ <3",
  • "nsfw": true,
  • "nsfwSummary": null,
  • "nsfwFlags": 0,
  • "tags": [
    ],
  • "commentsPolicy": 1,
  • "downloadEnabled": true,
  • "originallyPublishedAt": "2019-08-24T14:15:22Z",
  • "scheduleUpdate": {
    },
  • "thumbnailfile": "string",
  • "previewfile": "string",
  • "videoPasswords": [
    ],
  • "filename": "what_is_peertube.mp4"
}

Send chunk for the resumable upload of a video

Uses a resumable protocol to continue, pause or resume the upload of a video

Authorizations:
OAuth2
query Parameters
upload_id
required
string

Created session id to proceed with. If you didn't send chunks in the last hour, it is not valid anymore and you need to initialize a new upload.

header Parameters
Content-Length
required
number
Example: 262144

Size of the chunk that the request is sending.

Remember that larger chunks are more efficient. PeerTube's web client uses chunks varying from 1048576 bytes (~1MB) and increases or reduces size depending on connection health.

Content-Range
required
string
Example: bytes 0-262143/2469036

Specifies the bytes in the file that the request is uploading.

For example, a value of bytes 0-262143/1000000 shows that the request is sending the first 262144 bytes (256 x 1024) in a 2,469,036 byte file.

Request Body schema: application/octet-stream
string <binary>

Responses

Response samples

Content type
application/json
{
  • "video": {
    }
}

Cancel the resumable upload of a video, deleting any data uploaded so far

Uses a resumable protocol to cancel the upload of a video

Authorizations:
OAuth2
query Parameters
upload_id
required
string

Created session id to proceed with. If you didn't send chunks in the last hour, it is not valid anymore and you need to initialize a new upload.

header Parameters
Content-Length
required
number
Example: 0

Responses

Create a live

Authorizations:
OAuth2
Request Body schema: multipart/form-data
channelId
required
integer

Channel id that will contain this live video

name
required
string [ 3 .. 120 ] characters

Live video/replay name

category
integer (VideoCategorySet)

category id of the video (see /videos/categories)

commentsPolicy
integer (VideoCommentsPolicySet)
Enum: 1 2 3

Comments policy of the video (Enabled = 1, Disabled = 2, Requires Approval = 3)

description
string

Live video/replay description

downloadEnabled
boolean

Enable or disable downloading for the replay of this live video

language
string (VideoLanguageSet)

language id of the video (see /videos/languages)

latencyMode
integer
Enum: 1 2 3

User can select live latency mode if enabled by the instance

licence
integer (VideoLicenceSet)

licence id of the video (see /videos/licences)

nsfw
boolean

Whether or not this live video/replay contains sensitive content

nsfwFlags
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwSummary
any

More information about the sensitive content of the video

permanentLive
boolean

User can stream multiple times in a permanent live

previewfile
string <binary>
Deprecated

Deprecated in PeerTube v8.1, use thumbnailfile instead

privacy
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

privacy id of the video (see /videos/privacies)

object (LiveVideoReplaySettings)
saveReplay
boolean
Array of objects (LiveSchedule)
support
string

A text tell the audience how to support the creator

tags
Array of strings [ 1 .. 5 ] items [ items [ 2 .. 30 ] characters ]

Live video/replay tags (maximum 5 tags each between 2 and 30 characters)

thumbnailfile
string <binary>

Live video/replay thumbnail file

Responses

Response samples

Content type
application/json
{
  • "video": {
    }
}

Get information about a live

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Responses

Response samples

Content type
application/json
{
  • "rtmpUrl": "string",
  • "rtmpsUrl": "string",
  • "streamKey": "string",
  • "saveReplay": true,
  • "replaySettings": {
    },
  • "permanentLive": true,
  • "latencyMode": 1,
  • "schedules": [
    ]
}

Update information about a live

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Request Body schema: application/json
latencyMode
integer
Enum: 1 2 3

User can select live latency mode if enabled by the instance

permanentLive
boolean

User can stream multiple times in a permanent live

object (LiveVideoReplaySettings)
saveReplay
boolean
Array of objects (LiveSchedule)

Responses

Request samples

Content type
application/json
{
  • "saveReplay": true,
  • "replaySettings": {
    },
  • "permanentLive": true,
  • "latencyMode": 1,
  • "schedules": [
    ]
}

Get video source file metadata

Get metadata and download link of original video file

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Responses

Response samples

Content type
application/json
{
  • "inputFilename": "string",
  • "fileDownloadUrl": "string",
  • "resolution": {
    },
  • "size": 0,
  • "fps": 0,
  • "width": 0,
  • "height": 0,
  • "createdAt": "2019-08-24T14:15:22Z"
}

Delete video source file

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Responses

Initialize the resumable replacement of a video

PeerTube >= 6.0 Uses a resumable protocol to initialize the replacement of a video

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

header Parameters
X-Upload-Content-Length
required
number
Example: 2469036

Number of bytes that will be uploaded in subsequent requests. Set this value to the size of the file you are uploading.

X-Upload-Content-Type
required
string <mimetype>
Example: video/mp4

MIME type of the file that you are uploading. Depending on your instance settings, acceptable values might vary.

Request Body schema: application/json
filename
string <filename>

Video filename including extension

Responses

Request samples

Content type
application/json
{
  • "filename": "what_is_peertube.mp4"
}

Send chunk for the resumable replacement of a video

PeerTube >= 6.0 Uses a resumable protocol to continue, pause or resume the replacement of a video

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

query Parameters
upload_id
required
string

Created session id to proceed with. If you didn't send chunks in the last hour, it is not valid anymore and you need to initialize a new upload.

header Parameters
Content-Length
required
number
Example: 262144

Size of the chunk that the request is sending.

Remember that larger chunks are more efficient. PeerTube's web client uses chunks varying from 1048576 bytes (~1MB) and increases or reduces size depending on connection health.

Content-Range
required
string
Example: bytes 0-262143/2469036

Specifies the bytes in the file that the request is uploading.

For example, a value of bytes 0-262143/1000000 shows that the request is sending the first 262144 bytes (256 x 1024) in a 2,469,036 byte file.

Request Body schema: application/octet-stream
string <binary>

Responses

Cancel the resumable replacement of a video

PeerTube >= 6.0 Uses a resumable protocol to cancel the replacement of a video

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

query Parameters
upload_id
required
string

Created session id to proceed with. If you didn't send chunks in the last hour, it is not valid anymore and you need to initialize a new upload.

header Parameters
Content-Length
required
number
Example: 0

Responses

List storyboards of a video

PeerTube >= 6.0

path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Responses

Response samples

Content type
application/json
{
  • "storyboards": [
    ]
}

List videos of a video channel

path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

query Parameters
string or Array of strings

PeerTube >= 6.2 Admins and moderators only filter on videos that contain one of these automatic tags

VideoCategorySet (integer) or Array of VideoCategorySet (integers)

category id of the video (see /videos/categories)

count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

excludeAlreadyWatched
boolean

Whether or not to exclude videos that are in the user's video history

hasHLSFiles
boolean

PeerTube >= 4.0 Display only videos that have HLS files

hasWebVideoFiles
boolean

PeerTube >= 6.0 Display only videos that have Web Video files

host
string

Find elements owned by this host

include
integer
Enum: 0 1 2 4 8 16 32

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator)

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
includeScheduledLive
boolean

whether or not include live that are scheduled for later

isLive
boolean

whether or not the video is a live

isLocal
boolean

PeerTube >= 4.0 Display only local or remote objects

VideoLanguageSet (string) or Array of VideoLanguageSet (strings)

language id of the video (see /videos/languages). Use _unknown to filter on videos that don't have a video language

VideoLicenceSet (integer) or Array of VideoLicenceSet (integers)

licence id of the video (see /videos/licences)

nsfw
string
Enum: "true" "false"

whether to include nsfw videos, if any

nsfwFlagsExcluded
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwFlagsIncluded
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
privacyOneOf
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

PeerTube >= 4.0 Display only videos in this specific privacy/privacies

search
string

Plain text search, applied to various parts of the model depending on endpoint

skipCount
string
Default: "false"
Enum: "true" "false"

if you don't need the total in the response

sort
string
Enum: "name" "-duration" "-createdAt" "-publishedAt" "-views" "-likes" "-comments" "-trending" "-hot" "-best"

Sort videos by criteria (prefixing with - means DESC order):

  • hot - Adaptation of Reddit "hot" algorithm taking into account video views, likes, dislikes and comments and publication date
  • best - Same than hot, but also takes into account user video history
  • trending - Sort videos by recent views ("recent" is defined by the admin)
  • views - Sort videos using their views counter
  • publishedAt - Sort by video publication date (when it became publicly available)
start
integer >= 0

Offset used to paginate results

integer or Array of integers

PeerTube >= 8.2 Admins and moderators only filter on videos that have one of these states

string or Array of strings

tag(s) of the video, where all should be present in the video

string or Array of strings

tag(s) of the video

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Search videos

query Parameters
string or Array of strings

PeerTube >= 6.2 Admins and moderators only filter on videos that contain one of these automatic tags

VideoCategorySet (integer) or Array of VideoCategorySet (integers)

category id of the video (see /videos/categories)

count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

durationMax
integer

Get videos that have this maximum duration

durationMin
integer

Get videos that have this minimum duration

endDate
string <date-time>

Get videos that are published before this date

excludeAlreadyWatched
boolean

Whether or not to exclude videos that are in the user's video history

hasHLSFiles
boolean

PeerTube >= 4.0 Display only videos that have HLS files

hasWebVideoFiles
boolean

PeerTube >= 6.0 Display only videos that have Web Video files

host
string

Find elements owned by this host

include
integer
Enum: 0 1 2 4 8 16 32

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator)

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
includeScheduledLive
boolean

whether or not include live that are scheduled for later

isLive
boolean

whether or not the video is a live

isLocal
boolean

PeerTube >= 4.0 Display only local or remote objects

VideoLanguageSet (string) or Array of VideoLanguageSet (strings)

language id of the video (see /videos/languages). Use _unknown to filter on videos that don't have a video language

VideoLicenceSet (integer) or Array of VideoLicenceSet (integers)

licence id of the video (see /videos/licences)

nsfw
string
Enum: "true" "false"

whether to include nsfw videos, if any

nsfwFlagsExcluded
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwFlagsIncluded
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
originallyPublishedEndDate
string <date-time>

Get videos that are originally published before this date

originallyPublishedStartDate
string <date-time>

Get videos that are originally published after this date

privacyOneOf
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

PeerTube >= 4.0 Display only videos in this specific privacy/privacies

search
required
string

String to search. If the user can make a remote URI search, and the string is an URI then the PeerTube instance will fetch the remote object and add it to its database. Then, you can use the REST API to fetch the complete video information and interact with it.

searchTarget
string
Enum: "local" "search-index"

If the administrator enabled search index support, you can override the default search target.

Warning: If you choose to make an index search, PeerTube will get results from a third party service. It means the instance may not yet know the objects you fetched. If you want to load video/channel information:

  • If the current user has the ability to make a remote URI search (this information is available in the config endpoint), then reuse the search API to make a search using the object URI so PeerTube instance fetches the remote object and fill its database. After that, you can use the classic REST API endpoints to fetch the complete object or interact with it
  • If the current user doesn't have the ability to make a remote URI search, then redirect the user on the origin instance or fetch the data from the origin instance API
skipCount
string
Default: "false"
Enum: "true" "false"

if you don't need the total in the response

sort
string
Enum: "name" "-duration" "-createdAt" "-publishedAt" "-views" "-likes" "-comments" "-trending" "-hot" "-best"

Sort videos by criteria (prefixing with - means DESC order):

  • hot - Adaptation of Reddit "hot" algorithm taking into account video views, likes, dislikes and comments and publication date
  • best - Same than hot, but also takes into account user video history
  • trending - Sort videos by recent views ("recent" is defined by the admin)
  • views - Sort videos using their views counter
  • publishedAt - Sort by video publication date (when it became publicly available)
start
integer >= 0

Offset used to paginate results

startDate
string <date-time>

Get videos that are published after this date

integer or Array of integers

PeerTube >= 8.2 Admins and moderators only filter on videos that have one of these states

string or Array of strings

tag(s) of the video, where all should be present in the video

string or Array of strings

tag(s) of the video

uuids
Array of strings

Find elements with specific UUIDs

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Video Upload

Operations dealing with adding video or audio. PeerTube supports two upload modes, and three import modes.

Upload

  • legacy, where the video file is sent in a single request
  • resumable, where the video file is sent in chunks

You can upload videos more reliably by using the resumable variant. Its protocol lets you resume an upload operation after a network interruption or other transmission failure, saving time and bandwidth in the event of network failures.

Favor using resumable uploads in any of the following cases:

  • You are transferring large files
  • The likelihood of a network interruption is high
  • Uploads are originating from a device with a low-bandwidth or unstable Internet connection, such as a mobile device

Import

  • URL-based: where the URL points to any service supported by youtube-dl
  • magnet-based: where the URI resolves to a BitTorrent resource containing a single supported video file
  • torrent-based: where the metainfo file resolves to a BitTorrent resource containing a single supported video file

The import function is practical when the desired video/audio is available online. It makes PeerTube download it for you, saving you as much bandwidth and avoiding any instability or limitation your network might have.

Upload a video

Uses a single request to upload a video.

Authorizations:
OAuth2
Request Body schema: multipart/form-data
channelId
required
integer >= 1

Channel id that will contain this video

name
required
string [ 3 .. 120 ] characters

Video name

videofile
required
string <binary>

Video file

category
integer (VideoCategorySet)

category id of the video (see /videos/categories)

commentsPolicy
integer (VideoCommentsPolicySet)
Enum: 1 2 3

Comments policy of the video (Enabled = 1, Disabled = 2, Requires Approval = 3)

description
string

Video description

downloadEnabled
boolean

Enable or disable downloading for this video

generateTranscription
boolean

PeerTube >= 6.2 If enabled by the admin, automatically generate a subtitle of the video

language
string (VideoLanguageSet)

language id of the video (see /videos/languages)

licence
integer (VideoLicenceSet)

licence id of the video (see /videos/licences)

nsfw
boolean

Whether or not this video contains sensitive content

nsfwFlags
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwSummary
any

More information about the sensitive content of the video

originallyPublishedAt
string <date-time>

Date when the content was originally published

previewfile
string <binary>
Deprecated

Deprecated in PeerTube v8.1, use thumbnailfile instead

privacy
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

privacy id of the video (see /videos/privacies)

object (VideoScheduledUpdate)
support
string

A text tell the audience how to support the video creator

tags
Array of strings [ 1 .. 5 ] items unique [ items [ 2 .. 30 ] characters ]

Video tags (maximum 5 tags each between 2 and 30 characters)

thumbnailfile
string <binary>

Video thumbnail file

videoPasswords
Array of strings (AddVideoPasswords) unique [ items >= 2 characters ]
waitTranscoding
boolean

Whether or not we wait transcoding before publish the video

Responses

Request samples

## DEPENDENCIES: jq
USERNAME="<your_username>"
PASSWORD="<your_password>"
FILE_PATH="<your_file_path>"
CHANNEL_ID="<your_channel_id>"
NAME="<video_name>"
API="https://peertube2.cpy.re/api/v1"

## AUTH
client_id=$(curl -s "$API/oauth-clients/local" | jq -r ".client_id")
client_secret=$(curl -s "$API/oauth-clients/local" | jq -r ".client_secret")
token=$(curl -s "$API/users/token" \
  --data client_id="$client_id" \
  --data client_secret="$client_secret" \
  --data grant_type=password \
  --data username="$USERNAME" \
  --data password="$PASSWORD" \
  | jq -r ".access_token")

## VIDEO UPLOAD
curl -s "$API/videos/upload" \
  -H "Authorization: Bearer $token" \
  --max-time 600 \
  --form videofile=@"$FILE_PATH" \
  --form channelId=$CHANNEL_ID \
  --form name="$NAME"

Response samples

Content type
application/json
{
  • "video": {
    }
}

Initialize the resumable upload of a video

Uses a resumable protocol to initialize the upload of a video

Authorizations:
OAuth2
header Parameters
X-Upload-Content-Length
required
number
Example: 2469036

Number of bytes that will be uploaded in subsequent requests. Set this value to the size of the file you are uploading.

X-Upload-Content-Type
required
string <mimetype>
Example: video/mp4

MIME type of the file that you are uploading. Depending on your instance settings, acceptable values might vary.

Request Body schema: application/json
channelId
required
integer >= 1

Channel id that will contain this video

filename
required
string <filename>

Video filename including extension

name
required
string [ 3 .. 120 ] characters

Video name

category
integer (VideoCategorySet)

category id of the video (see /videos/categories)

commentsPolicy
integer (VideoCommentsPolicySet)
Enum: 1 2 3

Comments policy of the video (Enabled = 1, Disabled = 2, Requires Approval = 3)

description
string

Video description

downloadEnabled
boolean

Enable or disable downloading for this video

generateTranscription
boolean

PeerTube >= 6.2 If enabled by the admin, automatically generate a subtitle of the video

language
string (VideoLanguageSet)

language id of the video (see /videos/languages)

licence
integer (VideoLicenceSet)

licence id of the video (see /videos/licences)

nsfw
boolean

Whether or not this video contains sensitive content

nsfwFlags
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwSummary
any

More information about the sensitive content of the video

originallyPublishedAt
string <date-time>

Date when the content was originally published

previewfile
string <binary>
Deprecated

Deprecated in PeerTube v8.1, use thumbnailfile instead

privacy
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

privacy id of the video (see /videos/privacies)

object (VideoScheduledUpdate)
support
string

A text tell the audience how to support the video creator

tags
Array of strings [ 1 .. 5 ] items unique [ items [ 2 .. 30 ] characters ]

Video tags (maximum 5 tags each between 2 and 30 characters)

thumbnailfile
string <binary>

Video thumbnail file

videoPasswords
Array of strings (AddVideoPasswords) unique [ items >= 2 characters ]
waitTranscoding
boolean

Whether or not we wait transcoding before publish the video

Responses

Request samples

Content type
application/json
{
  • "name": "What is PeerTube?",
  • "channelId": 3,
  • "privacy": 1,
  • "category": 15,
  • "licence": 2,
  • "language": "en",
  • "description": "**[Want to help to translate this video?](https://weblate.framasoft.org/projects/what-is-peertube-video/)**\\r\\n\\r\\n**Take back the control of your videos! [#JoinPeertube](https://joinpeertube.org)**\n",
  • "waitTranscoding": true,
  • "generateTranscription": true,
  • "support": "Please support our work on https://soutenir.framasoft.org/en/ <3",
  • "nsfw": true,
  • "nsfwSummary": null,
  • "nsfwFlags": 0,
  • "tags": [
    ],
  • "commentsPolicy": 1,
  • "downloadEnabled": true,
  • "originallyPublishedAt": "2019-08-24T14:15:22Z",
  • "scheduleUpdate": {
    },
  • "thumbnailfile": "string",
  • "previewfile": "string",
  • "videoPasswords": [
    ],
  • "filename": "what_is_peertube.mp4"
}

Send chunk for the resumable upload of a video

Uses a resumable protocol to continue, pause or resume the upload of a video

Authorizations:
OAuth2
query Parameters
upload_id
required
string

Created session id to proceed with. If you didn't send chunks in the last hour, it is not valid anymore and you need to initialize a new upload.

header Parameters
Content-Length
required
number
Example: 262144

Size of the chunk that the request is sending.

Remember that larger chunks are more efficient. PeerTube's web client uses chunks varying from 1048576 bytes (~1MB) and increases or reduces size depending on connection health.

Content-Range
required
string
Example: bytes 0-262143/2469036

Specifies the bytes in the file that the request is uploading.

For example, a value of bytes 0-262143/1000000 shows that the request is sending the first 262144 bytes (256 x 1024) in a 2,469,036 byte file.

Request Body schema: application/octet-stream
string <binary>

Responses

Response samples

Content type
application/json
{
  • "video": {
    }
}

Cancel the resumable upload of a video, deleting any data uploaded so far

Uses a resumable protocol to cancel the upload of a video

Authorizations:
OAuth2
query Parameters
upload_id
required
string

Created session id to proceed with. If you didn't send chunks in the last hour, it is not valid anymore and you need to initialize a new upload.

header Parameters
Content-Length
required
number
Example: 0

Responses

Import a video

Import a torrent or magnetURI or HTTP resource (if enabled by the instance administrator)

Authorizations:
OAuth2
Request Body schema: multipart/form-data
One of
channelId
required
integer >= 1

Channel id that will contain this video

name
required
string [ 3 .. 120 ] characters

Video name

targetUrl
required
string <url>

remote URL where to find the import's source video

category
integer (VideoCategorySet)

category id of the video (see /videos/categories)

commentsPolicy
integer (VideoCommentsPolicySet)
Enum: 1 2 3

Comments policy of the video (Enabled = 1, Disabled = 2, Requires Approval = 3)

description
string

Video description

downloadEnabled
boolean

Enable or disable downloading for this video

generateTranscription
boolean

PeerTube >= 6.2 If enabled by the admin, automatically generate a subtitle of the video

language
string (VideoLanguageSet)

language id of the video (see /videos/languages)

licence
integer (VideoLicenceSet)

licence id of the video (see /videos/licences)

nsfw
boolean

Whether or not this video contains sensitive content

nsfwFlags
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwSummary
any

More information about the sensitive content of the video

originallyPublishedAt
string <date-time>

Date when the content was originally published

previewfile
string <binary>
Deprecated

Deprecated in PeerTube v8.1, use thumbnailfile instead

privacy
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

privacy id of the video (see /videos/privacies)

object (VideoScheduledUpdate)
support
string

A text tell the audience how to support the video creator

tags
Array of strings [ 1 .. 5 ] items unique [ items [ 2 .. 30 ] characters ]

Video tags (maximum 5 tags each between 2 and 30 characters)

thumbnailfile
string <binary>

Video thumbnail file

videoPasswords
Array of strings (AddVideoPasswords) unique [ items >= 2 characters ]
waitTranscoding
boolean

Whether or not we wait transcoding before publish the video

Responses

Response samples

Content type
application/json
{
  • "video": {
    }
}

Initialize the resumable replacement of a video

PeerTube >= 6.0 Uses a resumable protocol to initialize the replacement of a video

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

header Parameters
X-Upload-Content-Length
required
number
Example: 2469036

Number of bytes that will be uploaded in subsequent requests. Set this value to the size of the file you are uploading.

X-Upload-Content-Type
required
string <mimetype>
Example: video/mp4

MIME type of the file that you are uploading. Depending on your instance settings, acceptable values might vary.

Request Body schema: application/json
filename
string <filename>

Video filename including extension

Responses

Request samples

Content type
application/json
{
  • "filename": "what_is_peertube.mp4"
}

Send chunk for the resumable replacement of a video

PeerTube >= 6.0 Uses a resumable protocol to continue, pause or resume the replacement of a video

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

query Parameters
upload_id
required
string

Created session id to proceed with. If you didn't send chunks in the last hour, it is not valid anymore and you need to initialize a new upload.

header Parameters
Content-Length
required
number
Example: 262144

Size of the chunk that the request is sending.

Remember that larger chunks are more efficient. PeerTube's web client uses chunks varying from 1048576 bytes (~1MB) and increases or reduces size depending on connection health.

Content-Range
required
string
Example: bytes 0-262143/2469036

Specifies the bytes in the file that the request is uploading.

For example, a value of bytes 0-262143/1000000 shows that the request is sending the first 262144 bytes (256 x 1024) in a 2,469,036 byte file.

Request Body schema: application/octet-stream
string <binary>

Responses

Cancel the resumable replacement of a video

PeerTube >= 6.0 Uses a resumable protocol to cancel the replacement of a video

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

query Parameters
upload_id
required
string

Created session id to proceed with. If you didn't send chunks in the last hour, it is not valid anymore and you need to initialize a new upload.

header Parameters
Content-Length
required
number
Example: 0

Responses

Video Imports

Operations dealing with listing, adding and removing video imports.

Import a video

Import a torrent or magnetURI or HTTP resource (if enabled by the instance administrator)

Authorizations:
OAuth2
Request Body schema: multipart/form-data
One of
channelId
required
integer >= 1

Channel id that will contain this video

name
required
string [ 3 .. 120 ] characters

Video name

targetUrl
required
string <url>

remote URL where to find the import's source video

category
integer (VideoCategorySet)

category id of the video (see /videos/categories)

commentsPolicy
integer (VideoCommentsPolicySet)
Enum: 1 2 3

Comments policy of the video (Enabled = 1, Disabled = 2, Requires Approval = 3)

description
string

Video description

downloadEnabled
boolean

Enable or disable downloading for this video

generateTranscription
boolean

PeerTube >= 6.2 If enabled by the admin, automatically generate a subtitle of the video

language
string (VideoLanguageSet)

language id of the video (see /videos/languages)

licence
integer (VideoLicenceSet)

licence id of the video (see /videos/licences)

nsfw
boolean

Whether or not this video contains sensitive content

nsfwFlags
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwSummary
any

More information about the sensitive content of the video

originallyPublishedAt
string <date-time>

Date when the content was originally published

previewfile
string <binary>
Deprecated

Deprecated in PeerTube v8.1, use thumbnailfile instead

privacy
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

privacy id of the video (see /videos/privacies)

object (VideoScheduledUpdate)
support
string

A text tell the audience how to support the video creator

tags
Array of strings [ 1 .. 5 ] items unique [ items [ 2 .. 30 ] characters ]

Video tags (maximum 5 tags each between 2 and 30 characters)

thumbnailfile
string <binary>

Video thumbnail file

videoPasswords
Array of strings (AddVideoPasswords) unique [ items >= 2 characters ]
waitTranscoding
boolean

Whether or not we wait transcoding before publish the video

Responses

Response samples

Content type
application/json
{
  • "video": {
    }
}

Cancel video import

Cancel a pending video import

Authorizations:
OAuth2
path Parameters
id
required
integer (id) >= 1
Example: 42

Entity id

Responses

Retry video import

PeerTube >= 8.0 Retry a pending video import

Authorizations:
OAuth2
path Parameters
id
required
integer (id) >= 1
Example: 42

Entity id

Responses

Delete video import

Delete ended video import

Authorizations:
OAuth2
path Parameters
id
required
integer (id) >= 1
Example: 42

Entity id

Responses

Video Captions

Operations dealing with listing, adding and removing closed captions of a video.

List captions of a video

path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

header Parameters
x-peertube-video-password
string

Required on password protected video

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Generate a video caption

PeerTube >= 6.2 This feature has to be enabled by the administrator

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Request Body schema: application/json
forceTranscription
boolean
Default: false

Responses

Request samples

Content type
application/json
{
  • "forceTranscription": false
}

Add or replace a video caption

Authorizations:
OAuth2
path Parameters
captionLanguage
required
string (VideoLanguageSet)
Example: en

The caption language

required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Request Body schema: multipart/form-data
captionfile
string <binary>

The file to upload.

Responses

Delete a video caption

Authorizations:
OAuth2
path Parameters
captionLanguage
required
string (VideoLanguageSet)
Example: en

The caption language

required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Responses

Video Chapters

Operations dealing with managing chapters of a video.

Get chapters of a video

PeerTube >= 6.0

path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

header Parameters
x-peertube-video-password
string

Required on password protected video

Responses

Response samples

Content type
application/json
{
  • "chapters": {
    }
}

Replace video chapters

PeerTube >= 6.0

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Request Body schema: application/json
Array of objects

Responses

Request samples

Content type
application/json
{
  • "chapters": [
    ]
}

Video Channels

Operations dealing with the creation, modification and listing of videos within a channel.

List video channels

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Create a video channel

Authorizations:
OAuth2
Request Body schema: application/json
displayName
required
any

Channel display name

name
required
string [ 1 .. 50 ] characters /^[a-zA-Z0-9\\-_.:]+$/

username of the channel to create

description
any

Channel description

publicEmail
string or null <email>

Public email visible in podcast RSS feeds

support
any

How to support/fund the channel

Responses

Request samples

Content type
application/json
{
  • "displayName": null,
  • "description": null,
  • "support": null,
  • "publicEmail": "user@example.com",
  • "name": "framasoft_videos"
}

Response samples

Content type
application/json
{
  • "videoChannel": {
    }
}

Get a video channel

path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

Responses

Response samples

Content type
application/json
{
  • "id": 42,
  • "url": "string",
  • "name": "chocobozzz",
  • "avatars": [
    ],
  • "host": "example.com",
  • "hostRedundancyAllowed": true,
  • "followingCount": 0,
  • "followersCount": 0,
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "displayName": "Videos of Framasoft",
  • "description": "Videos made with <3 by Framasoft",
  • "support": "Please support our work on https://soutenir.framasoft.org/en/ <3",
  • "publicEmail": "user@example.com",
  • "isLocal": true,
  • "banners": [
    ],
  • "ownerAccount": {
    }
}

Update a video channel

Authorizations:
OAuth2
path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

Request Body schema: application/json
bulkVideosSupportUpdate
boolean

Update the support field for all videos of this channel

description
any

Channel description

displayName
any

Channel display name

publicEmail
string or null <email>

Public email visible in podcast RSS feeds

support
any

How to support/fund the channel

Responses

Request samples

Content type
application/json
{
  • "displayName": null,
  • "description": null,
  • "support": null,
  • "publicEmail": "user@example.com",
  • "bulkVideosSupportUpdate": true
}

Delete a video channel

Authorizations:
OAuth2
path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

Responses

List videos of a video channel

path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

query Parameters
string or Array of strings

PeerTube >= 6.2 Admins and moderators only filter on videos that contain one of these automatic tags

VideoCategorySet (integer) or Array of VideoCategorySet (integers)

category id of the video (see /videos/categories)

count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

excludeAlreadyWatched
boolean

Whether or not to exclude videos that are in the user's video history

hasHLSFiles
boolean

PeerTube >= 4.0 Display only videos that have HLS files

hasWebVideoFiles
boolean

PeerTube >= 6.0 Display only videos that have Web Video files

host
string

Find elements owned by this host

include
integer
Enum: 0 1 2 4 8 16 32

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator)

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
includeScheduledLive
boolean

whether or not include live that are scheduled for later

isLive
boolean

whether or not the video is a live

isLocal
boolean

PeerTube >= 4.0 Display only local or remote objects

VideoLanguageSet (string) or Array of VideoLanguageSet (strings)

language id of the video (see /videos/languages). Use _unknown to filter on videos that don't have a video language

VideoLicenceSet (integer) or Array of VideoLicenceSet (integers)

licence id of the video (see /videos/licences)

nsfw
string
Enum: "true" "false"

whether to include nsfw videos, if any

nsfwFlagsExcluded
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwFlagsIncluded
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
privacyOneOf
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

PeerTube >= 4.0 Display only videos in this specific privacy/privacies

search
string

Plain text search, applied to various parts of the model depending on endpoint

skipCount
string
Default: "false"
Enum: "true" "false"

if you don't need the total in the response

sort
string
Enum: "name" "-duration" "-createdAt" "-publishedAt" "-views" "-likes" "-comments" "-trending" "-hot" "-best"

Sort videos by criteria (prefixing with - means DESC order):

  • hot - Adaptation of Reddit "hot" algorithm taking into account video views, likes, dislikes and comments and publication date
  • best - Same than hot, but also takes into account user video history
  • trending - Sort videos by recent views ("recent" is defined by the admin)
  • views - Sort videos using their views counter
  • publishedAt - Sort by video publication date (when it became publicly available)
start
integer >= 0

Offset used to paginate results

integer or Array of integers

PeerTube >= 8.2 Admins and moderators only filter on videos that have one of these states

string or Array of strings

tag(s) of the video, where all should be present in the video

string or Array of strings

tag(s) of the video

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

List activities of a video channel

PeerTube >= 8.0

path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

List playlists of a channel

path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

playlistType
integer (VideoPlaylistTypeSet)
Enum: 1 2

The video playlist type (Regular = 1, Watch Later = 2)

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Reorder channel playlists

Authorizations:
OAuth2
path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

Request Body schema: application/json
insertAfterPosition
required
integer >= 0

New position for the block to reorder, to add the block before the first element

startPosition
required
integer >= 1

Start position of the element to reorder

reorderLength
integer >= 1

How many element from startPosition to reorder

Responses

Request samples

Content type
application/json
{
  • "startPosition": 1,
  • "insertAfterPosition": 0,
  • "reorderLength": 1
}

List followers of a video channel

Authorizations:
OAuth2
path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

search
string

Plain text search, applied to various parts of the model depending on endpoint

sort
string
Value: "createdAt"

Sort followers by criteria

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Update channel avatar

Authorizations:
OAuth2
path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

Request Body schema: multipart/form-data
avatarfile
string <binary>

The file to upload.

Responses

Response samples

Content type
application/json
{
  • "avatars": [
    ]
}

Delete channel avatar

Authorizations:
OAuth2
path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

Responses

Update channel banner

Authorizations:
OAuth2
path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

Request Body schema: multipart/form-data
bannerfile
string <binary>

The file to upload.

Responses

Response samples

Content type
application/json
{
  • "banners": [
    ]
}

Delete channel banner

Authorizations:
OAuth2
path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

Responses

Import videos in channel

Import a remote channel/playlist videos into a channel

Authorizations:
OAuth2
path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

Request Body schema: application/json
externalChannelUrl
required
string
videoChannelSyncId
integer

If part of a channel sync process, specify its id to assign video imports to this channel synchronization

Responses

Request samples

Content type
application/json
{}

List video channels of an account

path Parameters
name
required
string
Example: chocobozzz | chocobozzz@example.org

The username or handle of the account

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

includeCollaborations
boolean

PeerTube >= 8.0 Include objects from collaborated channels

search
string

Plain text search, applied to various parts of the model depending on endpoint

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

withStats
boolean

include daily view statistics for the last 30 days and total views (only if authenticated as the account user)

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

List the synchronizations of video channels of an account

path Parameters
name
required
string
Example: chocobozzz | chocobozzz@example.org

The username or handle of the account

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

includeCollaborations
boolean

PeerTube >= 8.0 Include objects from collaborated channels

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Search channels

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

handles
Array of strings

Find elements with these handles

host
string

Find elements owned by this host

search
required
string

String to search. If the user can make a remote URI search, and the string is an URI then the PeerTube instance will fetch the remote object and add it to its database. Then, you can use the REST API to fetch the complete channel information and interact with it.

searchTarget
string
Enum: "local" "search-index"

If the administrator enabled search index support, you can override the default search target.

Warning: If you choose to make an index search, PeerTube will get results from a third party service. It means the instance may not yet know the objects you fetched. If you want to load video/channel information:

  • If the current user has the ability to make a remote URI search (this information is available in the config endpoint), then reuse the search API to make a search using the object URI so PeerTube instance fetches the remote object and fill its database. After that, you can use the classic REST API endpoints to fetch the complete object or interact with it
  • If the current user doesn't have the ability to make a remote URI search, then redirect the user on the origin instance or fetch the data from the origin instance API
sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

List channel collaborators

PeerTube >= 8.0

Authorizations:
OAuth2
path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Invite a collaborator

PeerTube >= 8.0 Invite a local user to collaborate on the specified video channel.

Authorizations:
OAuth2
path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

Request Body schema: application/json
required
accountHandle
string

Local user username to invite

Responses

Request samples

Content type
application/json
{
  • "accountHandle": "string"
}

Response samples

Content type
application/json
{
  • "collaborator": {
    }
}

Accept a collaboration invitation

PeerTube >= 8.0

Authorizations:
OAuth2
path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

collaboratorId
required
integer (id) >= 1
Example: 42

The collaborator id

Responses

Reject a collaboration invitation

PeerTube >= 8.0

Authorizations:
OAuth2
path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

collaboratorId
required
integer (id) >= 1
Example: 42

The collaborator id

Responses

Remove a channel collaborator

PeerTube >= 8.0 Only the channel owner or the collaborator themselves can remove a collaborator from a channel

Authorizations:
OAuth2
path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

collaboratorId
required
integer (id) >= 1
Example: 42

The collaborator id

Responses

Video Comments

Operations dealing with comments to a video. Comments are organized in threads: adding a comment in response to the video starts a thread, adding a reply to a comment adds it to its root comment thread.

List comments on user's videos

PeerTube >= 6.2

Authorizations:
OAuth2
query Parameters
string or Array of strings

PeerTube >= 6.2 filter on comments that contain one of these automatic tags

includeCollaborations
boolean

PeerTube >= 8.0 Include objects from collaborated channels

isHeldForReview
boolean

only display comments that are held for review

search
string

Plain text search, applied to various parts of the model depending on endpoint

searchAccount
string

Filter comments by searching on the account

searchVideo
string

Filter comments by searching on the video

videoChannelId
integer

Limit results on this specific video channel

videoId
integer

Limit results on this specific video

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

List threads of a video

path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

sort
string
Enum: "-createdAt" "-totalReplies"

Sort comments by criteria

start
integer >= 0

Offset used to paginate results

header Parameters
x-peertube-video-password
string

Required on password protected video

Responses

Response samples

Content type
application/json
{
  • "total": 0,
  • "totalNotDeletedComments": 0,
  • "data": [
    ]
}

Create a thread

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Request Body schema: application/json
text
required
string <html> [ 1 .. 10000 ] characters

Text of the comment

Responses

Request samples

Content type
application/json
{
  • "text": "This video is wonderful!"
}

Response samples

Content type
application/json
{
  • "comment": {
    }
}

Get a thread

path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

threadId
required
integer

The thread id (root comment id)

header Parameters
x-peertube-video-password
string

Required on password protected video

Responses

Response samples

Content type
application/json
{
  • "comment": {
    },
  • "children": [
    ]
}

List instance comments

Authorizations:
OAuth2
query Parameters
string or Array of strings

PeerTube >= 6.2 filter on comments that contain one of these automatic tags

includeMuted
boolean

PeerTube >= 8.2 Include comments from muted accounts

isLocal
boolean

PeerTube >= 4.0 Display only local or remote objects

onLocalVideo
boolean

Display only objects of local or remote videos

search
string

Plain text search, applied to various parts of the model depending on endpoint

searchAccount
string

Filter comments by searching on the account

searchVideo
string

Filter comments by searching on the video

videoChannelId
integer

Limit results on this specific video channel

videoId
integer

Limit results on this specific video

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Reply to a thread of a video

Authorizations:
OAuth2
path Parameters
commentId
required
integer >= 1
Example: 42

The comment id

required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

header Parameters
x-peertube-video-password
string

Required on password protected video

Request Body schema: application/json
text
required
string <html> [ 1 .. 10000 ] characters

Text of the comment

Responses

Request samples

Content type
application/json
{
  • "text": "This video is wonderful!"
}

Response samples

Content type
application/json
{
  • "comment": {
    }
}

Delete a comment or a reply

Authorizations:
OAuth2
path Parameters
commentId
required
integer >= 1
Example: 42

The comment id

required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Responses

Approve a comment

PeerTube >= 6.2 Approve a comment that requires a review

Authorizations:
OAuth2
path Parameters
commentId
required
integer >= 1
Example: 42

The comment id

required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Responses

Video Rates

Like/dislike a video.

Get rate of my user for a video

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

Video id or UUID

Responses

Response samples

Content type
application/json
{
  • "id": 42,
  • "rating": "like"
}

Like/dislike a video

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

header Parameters
x-peertube-video-password
string

Required on password protected video

Request Body schema: application/json
rating
required
string
Enum: "like" "dislike"

Responses

Request samples

Content type
application/json
{
  • "rating": "like"
}

Video Playlists

Operations dealing with playlists of videos. Playlists are bound to users and/or channels.

List playlists of a channel

path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

playlistType
integer (VideoPlaylistTypeSet)
Enum: 1 2

The video playlist type (Regular = 1, Watch Later = 2)

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Reorder channel playlists

Authorizations:
OAuth2
path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

Request Body schema: application/json
insertAfterPosition
required
integer >= 0

New position for the block to reorder, to add the block before the first element

startPosition
required
integer >= 1

Start position of the element to reorder

reorderLength
integer >= 1

How many element from startPosition to reorder

Responses

Request samples

Content type
application/json
{
  • "startPosition": 1,
  • "insertAfterPosition": 0,
  • "reorderLength": 1
}

List available playlist privacy policies

Responses

Response samples

Content type
application/json
{
  • "1": "Public",
  • "2": "Unlisted",
  • "3": "Private"
}

List video playlists

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

playlistType
integer (VideoPlaylistTypeSet)
Enum: 1 2

The video playlist type (Regular = 1, Watch Later = 2)

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Create a video playlist

If the video playlist is set as public, videoChannelId is mandatory.

Authorizations:
OAuth2
Request Body schema: multipart/form-data
displayName
required
string [ 1 .. 120 ] characters

Video playlist display name

description
string [ 3 .. 1000 ] characters

Video playlist description

privacy
integer (VideoPlaylistPrivacySet)
Enum: 1 2 3

Video playlist privacy policy (see /video-playlists/privacies)

thumbnailfile
string <binary>

Video playlist thumbnail file

videoChannelId
integer >= 1

Video channel in which the playlist will be published

Responses

Response samples

Content type
application/json
{
  • "videoPlaylist": {
    }
}

Get a video playlist

path Parameters
playlistId
required
integer >= 1
Example: 42

Playlist id

Responses

Response samples

Content type
application/json
{
  • "id": 42,
  • "uuid": "9c9de5e8-0a1e-484a-b099-e80766180a6d",
  • "shortUUID": "2y84q2MQUMWPbiEcxNXMgC",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "description": "string",
  • "displayName": "string",
  • "isLocal": true,
  • "videoLength": 0,
  • "thumbnailPath": "string",
  • "thumbnails": [
    ],
  • "privacy": {
    },
  • "type": {
    },
  • "ownerAccount": {
    },
  • "videoChannel": {
    },
  • "videoChannelPosition": 1
}

Update a video playlist

If the video playlist is set as public, the playlist must have a assigned channel.

Authorizations:
OAuth2
path Parameters
playlistId
required
integer >= 1
Example: 42

Playlist id

Request Body schema: multipart/form-data
description
string

Video playlist description

displayName
string [ 1 .. 120 ] characters

Video playlist display name

privacy
integer (VideoPlaylistPrivacySet)
Enum: 1 2 3

Video playlist privacy policy (see /video-playlists/privacies)

thumbnailfile
string <binary>

Video playlist thumbnail file

videoChannelId
integer >= 1

Video channel in which the playlist will be published

Responses

Delete a video playlist

Authorizations:
OAuth2
path Parameters
playlistId
required
integer >= 1
Example: 42

Playlist id

Responses

List videos of a playlist

path Parameters
playlistId
required
integer >= 1
Example: 42

Playlist id

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Add a video in a playlist

Authorizations:
OAuth2
path Parameters
playlistId
required
integer >= 1
Example: 42

Playlist id

Request Body schema: application/json
required
string or integer

Video to add in the playlist

startTimestamp
integer <seconds>

Start the video at this specific timestamp

stopTimestamp
integer <seconds>

Stop the video at this specific timestamp

Responses

Request samples

Content type
application/json
{
  • "videoId": "9c9de5e8-0a1e-484a-b099-e80766180a6d",
  • "startTimestamp": 0,
  • "stopTimestamp": 0
}

Response samples

Content type
application/json
{
  • "videoPlaylistElement": {
    }
}

Reorder playlist elements

Authorizations:
OAuth2
path Parameters
playlistId
required
integer >= 1
Example: 42

Playlist id

Request Body schema: application/json
insertAfterPosition
required
integer >= 0

New position for the block to reorder, to add the block before the first element

startPosition
required
integer >= 1

Start position of the element to reorder

reorderLength
integer >= 1

How many element from startPosition to reorder

Responses

Request samples

Content type
application/json
{
  • "startPosition": 1,
  • "insertAfterPosition": 0,
  • "reorderLength": 1
}

Update a playlist element

Authorizations:
OAuth2
path Parameters
playlistElementId
required
integer (id) >= 1
Example: 42

Playlist element id

playlistId
required
integer >= 1
Example: 42

Playlist id

Request Body schema: application/json
startTimestamp
integer <seconds>

Start the video at this specific timestamp

stopTimestamp
integer <seconds>

Stop the video at this specific timestamp

Responses

Request samples

Content type
application/json
{
  • "startTimestamp": 0,
  • "stopTimestamp": 0
}

Delete an element from a playlist

Authorizations:
OAuth2
path Parameters
playlistElementId
required
integer (id) >= 1
Example: 42

Playlist element id

playlistId
required
integer >= 1
Example: 42

Playlist id

Responses

Check video exists in my playlists

Authorizations:
OAuth2
query Parameters
videoIds
required
Array of integers[ items >= 1 ]
Example: videoIds=42

The video ids to check

Responses

Response samples

Content type
application/json
{
  • "videoId": [
    ]
}

List playlists of an account

path Parameters
name
required
string
Example: chocobozzz | chocobozzz@example.org

The username or handle of the account

query Parameters
string or Array of strings

PeerTube >= 8.0 Filter on playlists that are published on a channel with one of these names

count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

includeCollaborations
boolean

PeerTube >= 8.0 Include objects from collaborated channels

playlistType
integer (VideoPlaylistTypeSet)
Enum: 1 2

The video playlist type (Regular = 1, Watch Later = 2)

search
string

Plain text search, applied to various parts of the model depending on endpoint

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Search playlists

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

host
string

Find elements owned by this host

search
required
string

String to search. If the user can make a remote URI search, and the string is an URI then the PeerTube instance will fetch the remote object and add it to its database. Then, you can use the REST API to fetch the complete playlist information and interact with it.

searchTarget
string
Enum: "local" "search-index"

If the administrator enabled search index support, you can override the default search target.

Warning: If you choose to make an index search, PeerTube will get results from a third party service. It means the instance may not yet know the objects you fetched. If you want to load video/channel information:

  • If the current user has the ability to make a remote URI search (this information is available in the config endpoint), then reuse the search API to make a search using the object URI so PeerTube instance fetches the remote object and fill its database. After that, you can use the classic REST API endpoints to fetch the complete object or interact with it
  • If the current user doesn't have the ability to make a remote URI search, then redirect the user on the origin instance or fetch the data from the origin instance API
sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

uuids
Array of strings

Find elements with specific UUIDs

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Video Stats

Video statistics

Get overall stats of a video

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

query Parameters
endDate
string <date-time>

Filter stats by end date

startDate
string <date-time>

Filter stats by start date

Responses

Response samples

Content type
application/json
{
  • "averageWatchTime": 0,
  • "totalWatchTime": 0,
  • "viewersPeak": 0,
  • "totalViewers": 0,
  • "viewersPeakDate": "2019-08-24T14:15:22Z",
  • "countries": [
    ],
  • "subdivisions": [
    ]
}

Get user agent stats of a video

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

query Parameters
endDate
string <date-time>

Filter stats by end date

startDate
string <date-time>

Filter stats by start date

Responses

Response samples

Content type
application/json
{
  • "clients": [
    ],
  • "devices": [
    ],
  • "operatingSystem": [
    ]
}

Get retention stats of a video

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Get timeserie stats of a video

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

metric
required
string
Enum: "viewers" "aggregateWatchTime"

The metric to get

query Parameters
endDate
string <date-time>

Filter stats by end date

startDate
string <date-time>

Filter stats by start date

Responses

Response samples

Content type
application/json
{
  • "data": [
    ]
}

Ownership Change

List video ownership changes

List ownership change requests received by the authenticated user and requests sent by a channel managed by the authenticated user

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

sort
string
Enum: "-createdAt" "createdAt"
start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Accept ownership change request

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Request Body schema: application/json
required
channelId
required
integer

Target channel id owned by the authenticated user

Responses

Request samples

Content type
application/json
{
  • "channelId": 0
}

Refuse ownership change request

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Responses

Delete ownership change request

Delete an ownership change request. Only users who can manage the video can delete the request.

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Responses

List ownership change requests for a video

List all ownership change requests for a specific video. The authenticated user must be able to manage the video.

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

Video id or UUID

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

sort
string
Enum: "-createdAt" "createdAt"
start
integer >= 0

Offset used to paginate results

state
integer (ChangeOwnershipState)
Enum: 1 2 3

Filter by ownership change state

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Request ownership change

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

Video id or UUID

Request Body schema: application/json
required
username
required
string

Responses

Request samples

Content type
application/json
{
  • "username": "string"
}

List channel ownership changes

List ownership change requests received by the authenticated user and requests sent by channels managed by the authenticated user

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

sort
string
Enum: "-createdAt" "createdAt"
start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Accept channel ownership change request

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Responses

Refuse channel ownership change request

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Responses

Delete channel ownership change request

Delete a channel ownership change request. Only channel owners can delete the request.

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Responses

List ownership change requests for a channel

List all ownership change requests for a specific channel. The authenticated user must be able to manage the channel.

Authorizations:
OAuth2
path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

sort
string
Enum: "-createdAt" "createdAt"
start
integer >= 0

Offset used to paginate results

state
integer (ChangeOwnershipState)
Enum: 1 2 3

Filter by ownership change state

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Request channel ownership change

Authorizations:
OAuth2
path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

Request Body schema: application/json
required
username
required
string

Responses

Request samples

Content type
application/json
{
  • "username": "string"
}

Video Mirroring

PeerTube instances can mirror videos from one another, and help distribute some videos.

For importing videos as your own, refer to video imports.

List videos being mirrored

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

sort
string
Value: "name"

Sort abuses by criteria

start
integer >= 0

Offset used to paginate results

target
required
string
Enum: "my-videos" "remote-videos"

direction of the mirror

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Mirror a video

Authorizations:
OAuth2
Request Body schema: application/json
videoId
required
integer >= 1

object id for the video

Responses

Request samples

Content type
application/json
{
  • "videoId": 42
}

Delete a mirror done on a video

Authorizations:
OAuth2
path Parameters
redundancyId
required
string

id of an existing redundancy on a video

Responses

Video Files

Operations on video files

Delete video HLS files

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Responses

Delete video Web Video files

PeerTube >= 6.0

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Responses

Video Transcoding

Video transcoding related operations

Create a studio task

Create a task to edit a video (cut, add intro/outro etc)

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Request Body schema: multipart/form-data
required
Array
Any of
name
string
Value: "cut"
object

Responses

Create a transcoding job

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Request Body schema: application/json
transcodingType
required
string
Enum: "hls" "web-video"
forceTranscoding
boolean
Default: false

If the video is stuck in transcoding state, do it anyway

Responses

Request samples

Content type
application/json
{
  • "transcodingType": "hls",
  • "forceTranscoding": false
}

Live Videos

Create a live

Authorizations:
OAuth2
Request Body schema: multipart/form-data
channelId
required
integer

Channel id that will contain this live video

name
required
string [ 3 .. 120 ] characters

Live video/replay name

category
integer (VideoCategorySet)

category id of the video (see /videos/categories)

commentsPolicy
integer (VideoCommentsPolicySet)
Enum: 1 2 3

Comments policy of the video (Enabled = 1, Disabled = 2, Requires Approval = 3)

description
string

Live video/replay description

downloadEnabled
boolean

Enable or disable downloading for the replay of this live video

language
string (VideoLanguageSet)

language id of the video (see /videos/languages)

latencyMode
integer
Enum: 1 2 3

User can select live latency mode if enabled by the instance

licence
integer (VideoLicenceSet)

licence id of the video (see /videos/licences)

nsfw
boolean

Whether or not this live video/replay contains sensitive content

nsfwFlags
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwSummary
any

More information about the sensitive content of the video

permanentLive
boolean

User can stream multiple times in a permanent live

previewfile
string <binary>
Deprecated

Deprecated in PeerTube v8.1, use thumbnailfile instead

privacy
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

privacy id of the video (see /videos/privacies)

object (LiveVideoReplaySettings)
saveReplay
boolean
Array of objects (LiveSchedule)
support
string

A text tell the audience how to support the creator

tags
Array of strings [ 1 .. 5 ] items [ items [ 2 .. 30 ] characters ]

Live video/replay tags (maximum 5 tags each between 2 and 30 characters)

thumbnailfile
string <binary>

Live video/replay thumbnail file

Responses

Response samples

Content type
application/json
{
  • "video": {
    }
}

Get information about a live

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Responses

Response samples

Content type
application/json
{
  • "rtmpUrl": "string",
  • "rtmpsUrl": "string",
  • "streamKey": "string",
  • "saveReplay": true,
  • "replaySettings": {
    },
  • "permanentLive": true,
  • "latencyMode": 1,
  • "schedules": [
    ]
}

Update information about a live

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Request Body schema: application/json
latencyMode
integer
Enum: 1 2 3

User can select live latency mode if enabled by the instance

permanentLive
boolean

User can stream multiple times in a permanent live

object (LiveVideoReplaySettings)
saveReplay
boolean
Array of objects (LiveSchedule)

Responses

Request samples

Content type
application/json
{
  • "saveReplay": true,
  • "replaySettings": {
    },
  • "permanentLive": true,
  • "latencyMode": 1,
  • "schedules": [
    ]
}

List live sessions

List all sessions created in a particular live

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

query Parameters
sort
string
Example: sort=-createdAt

Sort column

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Get live session of a replay

If the video is a replay of a live, you can find the associated live session using this endpoint

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

header Parameters
x-peertube-video-password
string

Required on password protected video

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "startDate": "2019-08-24T14:15:22Z",
  • "endDate": "2019-08-24T14:15:22Z",
  • "error": 1,
  • "replayVideo": {
    }
}

Channels Sync

Operations dealing with synchronizing PeerTube user's channel with channels of other platforms

Import videos in channel

Import a remote channel/playlist videos into a channel

Authorizations:
OAuth2
path Parameters
channelHandle
required
string
Example: my_username | my_username@example.com

The video channel handle

Request Body schema: application/json
externalChannelUrl
required
string
videoChannelSyncId
integer

If part of a channel sync process, specify its id to assign video imports to this channel synchronization

Responses

Request samples

Content type
application/json
{}

Create a synchronization for a video channel

Authorizations:
OAuth2
Request Body schema: application/json
externalChannelUrl
string
videoChannelId
integer (id) >= 1
videoPrivacy
integer

Privacy of imported videos (1 = PUBLIC, 2 = UNLISTED, 3 = PRIVATE, 4 = INTERNAL). Password protected privacy is not supported

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{
  • "videoChannelSync": {
    }
}

Delete a video channel synchronization

Authorizations:
OAuth2
path Parameters
channelSyncId
required
integer >= 1
Example: 42

Channel Sync id

Responses

Triggers the channel synchronization job, fetching all the videos from the remote channel

Authorizations:
OAuth2
path Parameters
channelSyncId
required
integer >= 1
Example: 42

Channel Sync id

Responses

List the synchronizations of video channels of an account

path Parameters
name
required
string
Example: chocobozzz | chocobozzz@example.org

The username or handle of the account

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

includeCollaborations
boolean

PeerTube >= 8.0 Include objects from collaborated channels

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Video Passwords

Operations on video passwords.

List video passwords

PeerTube >= 6.0

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Update video passwords

PeerTube >= 6.0

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Request Body schema: application/json
passwords
Array of strings (AddVideoPasswords) unique [ items >= 2 characters ]

Responses

Request samples

Content type
application/json
{
  • "passwords": [
    ]
}

Add a video password

PeerTube >= 8.0

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Request Body schema: application/json
password
string

Responses

Request samples

Content type
application/json
{
  • "password": "string"
}

Delete a video password

PeerTube >= 6.0

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

passwordId
required
integer (id) >= 1
Example: 42

The video password id

Responses

Video Embed Privacy

Get video embed privacy

PeerTube >= 8.1

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Responses

Response samples

Content type
application/json
{
  • "policy": {
    },
  • "domains": [
    ]
}

Update video embed privacy

PeerTube >= 8.1

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Request Body schema: application/json
domains
Array of strings
policy
integer (VideoEmbedPrivacy)
Enum: 1 2 3 4

The video embed privacy level:

  • 1 All allowed: anyone can embed the video
  • 2 Allowlist: only the domains in the allowlist can embed the video
  • 3 Remote restrictions: the remote instance has restrictions on where the video can be embedded
  • 4 Nobody can embed this video

Responses

Request samples

Content type
application/json
{
  • "policy": 1,
  • "domains": [
    ]
}

Check if embed is allowed

PeerTube >= 8.1 Check if video embed is allowed on a specific domain according to the video embed privacy settings

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

query Parameters
domain
required
string

The domain to check if embed is allowed

Responses

Response samples

Content type
application/json
{
  • "domainAllowed": true,
  • "userBypassAllowed": true
}

Search

The search helps to find videos or channels from within the instance and beyond. Videos from other instances federated by the instance (that is, instances followed by the instance) can be found via keywords and other criteria of the advanced search.

Administrators can also enable the use of a remote search system, indexing videos and channels that may not be federated by the instance.

Search videos

query Parameters
string or Array of strings

PeerTube >= 6.2 Admins and moderators only filter on videos that contain one of these automatic tags

VideoCategorySet (integer) or Array of VideoCategorySet (integers)

category id of the video (see /videos/categories)

count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

durationMax
integer

Get videos that have this maximum duration

durationMin
integer

Get videos that have this minimum duration

endDate
string <date-time>

Get videos that are published before this date

excludeAlreadyWatched
boolean

Whether or not to exclude videos that are in the user's video history

hasHLSFiles
boolean

PeerTube >= 4.0 Display only videos that have HLS files

hasWebVideoFiles
boolean

PeerTube >= 6.0 Display only videos that have Web Video files

host
string

Find elements owned by this host

include
integer
Enum: 0 1 2 4 8 16 32

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator)

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
includeScheduledLive
boolean

whether or not include live that are scheduled for later

isLive
boolean

whether or not the video is a live

isLocal
boolean

PeerTube >= 4.0 Display only local or remote objects

VideoLanguageSet (string) or Array of VideoLanguageSet (strings)

language id of the video (see /videos/languages). Use _unknown to filter on videos that don't have a video language

VideoLicenceSet (integer) or Array of VideoLicenceSet (integers)

licence id of the video (see /videos/licences)

nsfw
string
Enum: "true" "false"

whether to include nsfw videos, if any

nsfwFlagsExcluded
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
nsfwFlagsIncluded
integer (NSFWFlag)
Enum: 0 1 2 4

NSFW flags (can be combined using bitwise or operator)

  • 0 NONE
  • 1 VIOLENT
  • 2 EXPLICIT_SEX
originallyPublishedEndDate
string <date-time>

Get videos that are originally published before this date

originallyPublishedStartDate
string <date-time>

Get videos that are originally published after this date

privacyOneOf
integer (VideoPrivacySet)
Enum: 1 2 3 4 5

PeerTube >= 4.0 Display only videos in this specific privacy/privacies

search
required
string

String to search. If the user can make a remote URI search, and the string is an URI then the PeerTube instance will fetch the remote object and add it to its database. Then, you can use the REST API to fetch the complete video information and interact with it.

searchTarget
string
Enum: "local" "search-index"

If the administrator enabled search index support, you can override the default search target.

Warning: If you choose to make an index search, PeerTube will get results from a third party service. It means the instance may not yet know the objects you fetched. If you want to load video/channel information:

  • If the current user has the ability to make a remote URI search (this information is available in the config endpoint), then reuse the search API to make a search using the object URI so PeerTube instance fetches the remote object and fill its database. After that, you can use the classic REST API endpoints to fetch the complete object or interact with it
  • If the current user doesn't have the ability to make a remote URI search, then redirect the user on the origin instance or fetch the data from the origin instance API
skipCount
string
Default: "false"
Enum: "true" "false"

if you don't need the total in the response

sort
string
Enum: "name" "-duration" "-createdAt" "-publishedAt" "-views" "-likes" "-comments" "-trending" "-hot" "-best"

Sort videos by criteria (prefixing with - means DESC order):

  • hot - Adaptation of Reddit "hot" algorithm taking into account video views, likes, dislikes and comments and publication date
  • best - Same than hot, but also takes into account user video history
  • trending - Sort videos by recent views ("recent" is defined by the admin)
  • views - Sort videos using their views counter
  • publishedAt - Sort by video publication date (when it became publicly available)
start
integer >= 0

Offset used to paginate results

startDate
string <date-time>

Get videos that are published after this date

integer or Array of integers

PeerTube >= 8.2 Admins and moderators only filter on videos that have one of these states

string or Array of strings

tag(s) of the video, where all should be present in the video

string or Array of strings

tag(s) of the video

uuids
Array of strings

Find elements with specific UUIDs

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Search channels

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

handles
Array of strings

Find elements with these handles

host
string

Find elements owned by this host

search
required
string

String to search. If the user can make a remote URI search, and the string is an URI then the PeerTube instance will fetch the remote object and add it to its database. Then, you can use the REST API to fetch the complete channel information and interact with it.

searchTarget
string
Enum: "local" "search-index"

If the administrator enabled search index support, you can override the default search target.

Warning: If you choose to make an index search, PeerTube will get results from a third party service. It means the instance may not yet know the objects you fetched. If you want to load video/channel information:

  • If the current user has the ability to make a remote URI search (this information is available in the config endpoint), then reuse the search API to make a search using the object URI so PeerTube instance fetches the remote object and fill its database. After that, you can use the classic REST API endpoints to fetch the complete object or interact with it
  • If the current user doesn't have the ability to make a remote URI search, then redirect the user on the origin instance or fetch the data from the origin instance API
sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Search playlists

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

host
string

Find elements owned by this host

search
required
string

String to search. If the user can make a remote URI search, and the string is an URI then the PeerTube instance will fetch the remote object and add it to its database. Then, you can use the REST API to fetch the complete playlist information and interact with it.

searchTarget
string
Enum: "local" "search-index"

If the administrator enabled search index support, you can override the default search target.

Warning: If you choose to make an index search, PeerTube will get results from a third party service. It means the instance may not yet know the objects you fetched. If you want to load video/channel information:

  • If the current user has the ability to make a remote URI search (this information is available in the config endpoint), then reuse the search API to make a search using the object URI so PeerTube instance fetches the remote object and fill its database. After that, you can use the classic REST API endpoints to fetch the complete object or interact with it
  • If the current user doesn't have the ability to make a remote URI search, then redirect the user on the origin instance or fetch the data from the origin instance API
sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

uuids
Array of strings

Find elements with specific UUIDs

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Abuses

Abuses deal with reports of local or remote videos/comments/accounts alike.

List my abuses

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

id
integer

only list the report with this id

sort
string
Enum: "-id" "-createdAt" "-state"

Sort abuses by criteria

start
integer >= 0

Offset used to paginate results

state
integer (AbuseStateSet)
Enum: 1 2 3

The abuse state (Pending = 1, Rejected = 2, Accepted = 3)

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

List abuses

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

filter
string
Enum: "video" "comment" "account"

only list account, comment or video reports

id
integer

only list the report with this id

predefinedReason
Array of strings (PredefinedAbuseReasons) <= 8 items
Items Enum: "violentOrAbusive" "hatefulOrAbusive" "spamOrMisleading" "privacy" "rights" "serverRules" "thumbnails" "captions"

predefined reason the listed reports should contain

search
string

plain search that will match with video titles, reporter names and more

searchReportee
string

only list reports of a specific reportee

searchReporter
string

only list reports of a specific reporter

searchVideo
string

only list reports of a specific video

searchVideoChannel
string

only list reports of a specific video channel

sort
string
Enum: "-id" "-createdAt" "-state"

Sort abuses by criteria

start
integer >= 0

Offset used to paginate results

state
integer (AbuseStateSet)
Enum: 1 2 3

The abuse state (Pending = 1, Rejected = 2, Accepted = 3)

videoIs
string
Enum: "deleted" "blacklisted"

only list deleted or blocklisted videos

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Report an abuse

Authorizations:
OAuth2
Request Body schema: application/json
required
reason
required
string [ 2 .. 3000 ] characters

Reason why the user reports this video

object
object
predefinedReasons
Array of strings (PredefinedAbuseReasons) <= 8 items
Items Enum: "violentOrAbusive" "hatefulOrAbusive" "spamOrMisleading" "privacy" "rights" "serverRules" "thumbnails" "captions"

Reason categories that help triage reports

object

Responses

Request samples

Content type
application/json
{
  • "reason": "string",
  • "predefinedReasons": [
    ],
  • "video": {
    },
  • "comment": {
    },
  • "account": {
    }
}

Response samples

Content type
application/json
{
  • "abuse": {
    }
}

Update an abuse

Authorizations:
OAuth2
path Parameters
abuseId
required
integer >= 1
Example: 42

Abuse id

Request Body schema: application/json
moderationComment
string [ 2 .. 3000 ] characters

Update the report comment visible only to the moderation team

state
integer (AbuseStateSet)
Enum: 1 2 3

The abuse state (Pending = 1, Rejected = 2, Accepted = 3)

Responses

Request samples

Content type
application/json
{
  • "state": 1,
  • "moderationComment": "string"
}

Delete an abuse

Authorizations:
OAuth2
path Parameters
abuseId
required
integer >= 1
Example: 42

Abuse id

Responses

List messages of an abuse

Authorizations:
OAuth2
path Parameters
abuseId
required
integer >= 1
Example: 42

Abuse id

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Add message to an abuse

Authorizations:
OAuth2
path Parameters
abuseId
required
integer >= 1
Example: 42

Abuse id

Request Body schema: application/json
required
message
required
string [ 2 .. 3000 ] characters

Message to send

Responses

Request samples

Content type
application/json
{
  • "message": "string"
}

Delete an abuse message

Authorizations:
OAuth2
path Parameters
abuseId
required
integer >= 1
Example: 42

Abuse id

abuseMessageId
required
integer >= 1
Example: 42

Abuse message id

Responses

Video Blocks

Operations dealing with blocking videos (removing them from view and preventing interactions).

Block a video

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Request Body schema: application/json
internalNote
string

Internal note for moderators/admins

reason
string

Reason for the block (public)

unfederate
boolean

Whether to unfederate the video

Responses

Request samples

Content type
application/json
{
  • "reason": "string",
  • "unfederate": true,
  • "internalNote": "string"
}

Update a video block

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Request Body schema: application/json
internalNote
string

Internal note for moderators/admins

reason
string

Reason for the block (displayed publicly)

Responses

Request samples

Content type
application/json
{
  • "reason": "string",
  • "internalNote": "string"
}

Unblock a video by its id

Authorizations:
OAuth2
path Parameters
required
id (integer) or UUIDv4 (string) or shortUUID (string)

The object id, uuid or short uuid

Responses

List video blocks

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

search
string

plain search that will match with video titles, and more

sort
string
Enum: "-id" "name" "-duration" "-views" "-likes" "-dislikes" "-uuid" "-createdAt"

Sort blocklists by criteria

start
integer >= 0

Offset used to paginate results

type
integer
Enum: 1 2

list only blocks that match this type:

  • 1: manual block
  • 2: automatic block that needs review

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Account Blocklist

Get block status of accounts/hosts

query Parameters
accounts
Array of strings
Example: accounts=goofy@example.com&accounts=donald@example.com

Check if these accounts are blocked

hosts
Array of strings
Example: hosts=example.com

Check if these hosts are blocked

Responses

Response samples

Content type
application/json
{
  • "accounts": {
    },
  • "hosts": {
    }
}

List accounts blocked by my account

Get the list of accounts that the authenticated user has blocked

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

search
string

Search query string

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Block an account by my account

Add an account to the authenticated user's blocklist

Authorizations:
OAuth2
Request Body schema: application/json
required
accountName
required
string

Account name to block (format: name@host)

Responses

Request samples

Content type
application/json
{
  • "accountName": "user@example.com"
}

Unblock an account by my account

Remove an account from the authenticated user's blocklist

Authorizations:
OAuth2
path Parameters
accountName
required
string
Example: user@example.com

Account name to unblock (format: name@host)

Responses

List servers blocked by my account

Get the list of servers that the authenticated user has blocked

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

search
string

Search query string

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Block a server by my account

Add a server to the authenticated user's blocklist

Authorizations:
OAuth2
Request Body schema: application/json
required
host
required
string

Server host to block

Responses

Request samples

Content type
application/json
{
  • "host": "example.com"
}

Unblock a server by my account

Remove a server from the authenticated user's blocklist

Authorizations:
OAuth2
path Parameters
host
required
string
Example: example.com

Server host to unblock

Responses

Server Blocklist

Get block status of accounts/hosts

query Parameters
accounts
Array of strings
Example: accounts=goofy@example.com&accounts=donald@example.com

Check if these accounts are blocked

hosts
Array of strings
Example: hosts=example.com

Check if these hosts are blocked

Responses

Response samples

Content type
application/json
{
  • "accounts": {
    },
  • "hosts": {
    }
}

List blocked accounts by server

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

subscriptionName
string

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Block an account by server

Authorizations:
OAuth2
Request Body schema: application/json
accountName
required
string

account to block, in the form username@domain

Responses

Request samples

Content type
application/json
{
  • "accountName": "chocobozzz@example.org"
}

Unblock an account by server

Authorizations:
OAuth2
path Parameters
accountName
required
string

account to unblock, in the form username@domain

Responses

List blocked servers by server

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

subscriptionName
string

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Block a server by server

Authorizations:
OAuth2
Request Body schema: application/json
host
required
string <hostname>

server domain to block

Responses

Request samples

Content type
application/json
{
  • "host": "example.com"
}

Unblock a server by server

Authorizations:
OAuth2
path Parameters
host
required
string <hostname>

server domain to unblock

Responses

List server blocklist subscriptions

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

search
string

Plain text search, applied to various parts of the model depending on endpoint

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Add a server blocklist subscription

Authorizations:
OAuth2
Request Body schema: application/json
url
required
string <url>

Responses

Request samples

Content type
application/json
{
  • "url": "string"
}

Response samples

Content type
application/json
{
  • "id": 42,
  • "name": "string",
  • "url": "string",
  • "mutedAccountsCount": 0,
  • "mutedServersCount": 0,
  • "lastSyncAt": "2019-08-24T14:15:22Z",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}

Delete a server blocklist subscription

Authorizations:
OAuth2
path Parameters
id
required
integer

Responses

List publicly shared server blocklist log entries

query Parameters
startDate
required
string <date-time>

Responses

Response samples

Content type
application/json
{
  • "name": "string",
  • "actions": [
    ]
}

Automatic Tags

Automatic tags set on objects (like comments or videos) by specific rules (external link, watched words, etc.)

Get account auto tag policies on comments

PeerTube >= 6.2

Authorizations:
OAuth2
path Parameters
accountName
required
string

account name to get auto tag policies

Responses

Response samples

Content type
application/json
{
  • "review": [
    ]
}

Update account auto tag policies on comments

PeerTube >= 6.2

Authorizations:
OAuth2
path Parameters
accountName
required
string

account name to update auto tag policies

Request Body schema: application/json
review
Array of strings

Auto tags that automatically set the comment in review state

Responses

Request samples

Content type
application/json
{
  • "review": [
    ]
}

Get account available auto tags

PeerTube >= 6.2

Authorizations:
OAuth2
path Parameters
accountName
required
string

account name to get auto tag policies

Responses

Response samples

Content type
application/json
{
  • "available": [
    ]
}

Get server available auto tags

PeerTube >= 6.2

Authorizations:
OAuth2

Responses

Response samples

Content type
application/json
{
  • "available": [
    ]
}

Get server auto tag policies for videos

PeerTube >= 8.3

Authorizations:
OAuth2

Responses

Response samples

Content type
application/json
{
  • "autoBlock": [
    ]
}

Update server auto tag policies for videos

PeerTube >= 8.3

Authorizations:
OAuth2
Request Body schema: application/json
autoBlock
Array of strings

Auto tags that will automatically block videos matching these tags

Responses

Request samples

Content type
application/json
{
  • "autoBlock": [
    ]
}

Watched Words

Manage list of watched words to detect patterns on objects (like comments of videos)

List account watched words

PeerTube >= 6.2

Authorizations:
OAuth2
path Parameters
accountName
required
string

account name to list watched words

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Add account watched words

PeerTube >= 6.2

Authorizations:
OAuth2
path Parameters
accountName
required
string
Request Body schema: application/json
listName
string
words
Array of strings

Responses

Request samples

Content type
application/json
{
  • "listName": "string",
  • "words": [
    ]
}

Response samples

Content type
application/json
{
  • "watchedWordsList": {
    }
}

Update account watched words

PeerTube >= 6.2

Authorizations:
OAuth2
path Parameters
accountName
required
string
listId
required
string

list of watched words to update

Request Body schema: application/json
listName
string
words
Array of strings

Responses

Request samples

Content type
application/json
{
  • "listName": "string",
  • "words": [
    ]
}

Delete account watched words

PeerTube >= 6.2

Authorizations:
OAuth2
path Parameters
accountName
required
string
listId
required
string

list of watched words to delete

Responses

List server watched words

PeerTube >= 6.2

Authorizations:
OAuth2

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Add server watched words

PeerTube >= 6.2

Authorizations:
OAuth2
Request Body schema: application/json
listName
string
words
Array of strings

Responses

Request samples

Content type
application/json
{
  • "listName": "string",
  • "words": [
    ]
}

Response samples

Content type
application/json
{
  • "watchedWordsList": {
    }
}

Update server watched words

PeerTube >= 6.2

Authorizations:
OAuth2
path Parameters
listId
required
string

list of watched words to update

Request Body schema: application/json
listName
string
words
Array of strings

Responses

Request samples

Content type
application/json
{
  • "listName": "string",
  • "words": [
    ]
}

Delete server watched words

PeerTube >= 6.2

Authorizations:
OAuth2
path Parameters
listId
required
string

list of watched words to delete

Responses

List account watched words subscriptions

Authorizations:
OAuth2
path Parameters
accountName
required
string

account name to list watched words subscriptions

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

search
string

Plain text search, applied to various parts of the model depending on endpoint

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Add account watched words subscription

Authorizations:
OAuth2
path Parameters
accountName
required
string
Request Body schema: application/json
url
required
string <url>

Responses

Request samples

Content type
application/json
{
  • "url": "string"
}

Response samples

Content type
application/json
{
  • "id": 42,
  • "name": "string",
  • "url": "string",
  • "importedWordsCount": 0,
  • "lastSyncAt": "2021-05-04T08:01:01.502Z",
  • "state": {
    },
  • "updatedAt": "2021-05-04T08:01:01.502Z",
  • "createdAt": "2021-05-04T08:01:01.502Z"
}

Delete account watched words subscription

Authorizations:
OAuth2
path Parameters
accountName
required
string
id
required
integer

Responses

List server watched words subscriptions

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

search
string

Plain text search, applied to various parts of the model depending on endpoint

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Add server watched words subscription

Authorizations:
OAuth2
Request Body schema: application/json
url
required
string <url>

Responses

Request samples

Content type
application/json
{
  • "url": "string"
}

Response samples

Content type
application/json
{
  • "id": 42,
  • "name": "string",
  • "url": "string",
  • "importedWordsCount": 0,
  • "lastSyncAt": "2021-05-04T08:01:01.502Z",
  • "state": {
    },
  • "updatedAt": "2021-05-04T08:01:01.502Z",
  • "createdAt": "2021-05-04T08:01:01.502Z"
}

Delete server watched words subscription

Authorizations:
OAuth2
path Parameters
id
required
integer

Responses

Config

Each server exposes public information regarding supported videos and options.

Get instance public configuration

Responses

Response samples

Content type
application/json
{
  • "client": {
    },
  • "defaults": {
    },
  • "webadmin": {
    },
  • "instance": {},
  • "search": {
    },
  • "plugin": {
    },
  • "theme": {
    },
  • "email": {
    },
  • "contactForm": {
    },
  • "serverVersion": "8.2.4-nightly-2026-08-05",
  • "serverCommit": "",
  • "transcoding": {
    },
  • "live": {
    },
  • "videoStudio": {
    },
  • "videoFile": {
    },
  • "videoTranscription": {
    },
  • "import": {
    },
  • "export": {
    },
  • "autoBlacklist": {
    },
  • "avatar": {
    },
  • "banner": {
    },
  • "logo": {
    },
  • "video": {
    },
  • "videoCaption": {
    },
  • "user": {
    },
  • "videoChannels": {
    },
  • "trending": {
    },
  • "tracker": {
    },
  • "followings": {},
  • "blocklist": {
    },
  • "federation": {
    },
  • "broadcastMessage": {
    },
  • "homepage": {
    },
  • "openTelemetry": {
    },
  • "views": {
    },
  • "storyboards": {
    },
  • "webrtc": {
    },
  • "nsfwFlagsSettings": {
    },
  • "fieldsConstraints": {
    },
  • "signup": {
    }
}

Get instance "About" information

Responses

Response samples

Content type
application/json
{}

Get instance runtime configuration

Authorizations:
OAuth2

Responses

Response samples

Content type
application/json
{
  • "instance": {
    },
  • "theme": {
    },
  • "services": {
    },
  • "cache": {
    },
  • "signup": {
    },
  • "admin": {
    },
  • "contactForm": {
    },
  • "user": {
    },
  • "transcoding": {
    },
  • "import": {
    },
  • "autoBlacklist": {
    },
  • "blocklist": {
    },
  • "followers": {
    },
  • "storyboard": {
    },
  • "defaults": {
    }
}

Set instance runtime configuration

Authorizations:
OAuth2

Responses

Delete instance runtime configuration

Authorizations:
OAuth2

Responses

Update instance banner

Authorizations:
OAuth2
Request Body schema: multipart/form-data
bannerfile
string <binary>

The file to upload.

Responses

Delete instance banner

Authorizations:
OAuth2

Responses

Update instance avatar

Authorizations:
OAuth2
Request Body schema: multipart/form-data
avatarfile
string <binary>

The file to upload.

Responses

Delete instance avatar

Authorizations:
OAuth2

Responses

Update instance logo

Authorizations:
OAuth2
path Parameters
logoType
required
string
Enum: "favicon" "header-wide" "header-square" "opengraph"
Request Body schema: multipart/form-data
logofile
string <binary>

The file to upload.

Responses

Delete instance logo

Authorizations:
OAuth2
path Parameters
logoType
required
string
Enum: "favicon" "header-wide" "header-square" "opengraph"

Responses

Client Config

Configuration of the web client.

Update client language Deprecated

Set a cookie so that the next time the client refreshes the HTML of the web interface, PeerTube uses the selected language.

Request Body schema: application/json
required
language
required
string or null

Language code to set

Responses

Request samples

Content type
application/json
{
  • "language": "en-US"
}

Update client language

Set a cookie so that the next time the client refreshes the HTML of the web interface, PeerTube uses the selected language.

Request Body schema: application/json
required
language
required
string or null

Language code to set, or null to clear the preference

Responses

Request samples

Content type
application/json
{
  • "language": "en-US"
}

Homepage

Get and update the custom homepage

Get instance custom homepage

Responses

Response samples

Content type
application/json
{
  • "content": "string"
}

Set instance custom homepage

Authorizations:
OAuth2
Request Body schema: application/json
content
string

content of the homepage, that will be injected in the client

Responses

Request samples

Content type
application/json
{
  • "content": "string"
}

Instance Follows

Managing servers which the instance interacts with is crucial to the concept of federation in PeerTube and external video indexation. The PeerTube server then deals with inter-server ActivityPub operations and propagates information across its social graph by posting activities to actors' inbox endpoints.

List instances following the server

query Parameters
actorType
string
Enum: "Person" "Application" "Group" "Service" "Organization"
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

state
string
Enum: "pending" "accepted"

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Remove or reject a follower to your server

Authorizations:
OAuth2
path Parameters
handle
required
string <email>

The remote actor handle to remove from your followers

Responses

Reject a pending follower to your server

Authorizations:
OAuth2
path Parameters
handle
required
string <email>

The remote actor handle to remove from your followers

Responses

Accept a pending follower to your server

Authorizations:
OAuth2
path Parameters
handle
required
string <email>

The remote actor handle to remove from your followers

Responses

List instances followed by the server

query Parameters
actorType
string
Enum: "Person" "Application" "Group" "Service" "Organization"
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

state
string
Enum: "pending" "accepted"

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Follow a list of actors (PeerTube instance, channel or account)

Authorizations:
OAuth2
Request Body schema: application/json
handles
Array of strings unique
hosts
Array of strings <hostname> unique [ items <hostname > ]

Responses

Request samples

Content type
application/json
{
  • "hosts": [
    ],
  • "handles": [
    ]
}

Unfollow an actor (PeerTube instance, channel or account)

Authorizations:
OAuth2
path Parameters
hostOrHandle
required
string

The hostOrHandle to unfollow

Responses

Instance Redundancy

Redundancy is part of the inter-server solidarity that PeerTube fosters. Manage the list of instances you wish to help by seeding their videos according to the policy of video selection of your choice. Note that you have a similar functionality to mirror individual videos, see video mirroring.

Update a server redundancy policy

Authorizations:
OAuth2
path Parameters
host
required
string <hostname>

server domain to mirror

Request Body schema: application/json
redundancyAllowed
required
boolean

allow mirroring of the host's local videos

Responses

Request samples

Content type
application/json
{
  • "redundancyAllowed": true
}

Plugins

Managing plugins installed from a local path or from NPM, or search for new ones.

List plugins

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

pluginType
integer
sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

uninstalled
boolean

Responses

Response samples

Content type
application/json
{}

List available plugins

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

currentPeerTubeEngine
string
pluginType
integer
search
string
sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{}

Install a plugin

Authorizations:
OAuth2
Request Body schema: application/json
One of
npmName
required
string

Responses

Request samples

Content type
application/json
{
  • "path": "string"
}

Update a plugin

Authorizations:
OAuth2
Request Body schema: application/json
One of
npmName
required
string

Responses

Request samples

Content type
application/json
{
  • "path": "string"
}

Uninstall a plugin

Authorizations:
OAuth2
Request Body schema: application/json
npmName
required
string

name of the plugin/theme in its package.json

Responses

Request samples

Content type
application/json
{
  • "npmName": "peertube-plugin-auth-ldap"
}

Get a plugin

Authorizations:
OAuth2
path Parameters
npmName
required
string
Example: peertube-plugin-auth-ldap

name of the plugin/theme on npmjs.com or in its package.json

Responses

Response samples

Content type
application/json
{}

Set a plugin's settings

Authorizations:
OAuth2
path Parameters
npmName
required
string
Example: peertube-plugin-auth-ldap

name of the plugin/theme on npmjs.com or in its package.json

Request Body schema: application/json
object

Responses

Request samples

Content type
application/json
{
  • "settings": { }
}

Get a plugin's public settings

path Parameters
npmName
required
string
Example: peertube-plugin-auth-ldap

name of the plugin/theme on npmjs.com or in its package.json

Responses

Response samples

Content type
application/json
{ }

Get a plugin's registered settings

Authorizations:
OAuth2
path Parameters
npmName
required
string
Example: peertube-plugin-auth-ldap

name of the plugin/theme on npmjs.com or in its package.json

Responses

Response samples

Content type
application/json
{ }

Stats

Statistics

Get instance stats

Get instance public statistics. This endpoint is cached.

Responses

Response samples

Content type
application/json
{
  • "totalUsers": 0,
  • "totalDailyActiveUsers": 0,
  • "totalWeeklyActiveUsers": 0,
  • "totalMonthlyActiveUsers": 0,
  • "totalModerators": 0,
  • "totalAdmins": 0,
  • "totalLocalVideos": 0,
  • "totalLocalVideoViews": 0,
  • "totalLocalVideoDownloads": 0,
  • "totalLocalVideoComments": 0,
  • "totalLocalVideoFilesSize": 0,
  • "totalVideos": 0,
  • "totalVideoComments": 0,
  • "totalLocalVideoChannels": 0,
  • "totalLocalDailyActiveVideoChannels": 0,
  • "totalLocalWeeklyActiveVideoChannels": 0,
  • "totalLocalMonthlyActiveVideoChannels": 0,
  • "totalLocalPlaylists": 0,
  • "totalInstanceFollowers": 0,
  • "totalInstanceFollowing": 0,
  • "videosRedundancy": [
    ],
  • "totalActivityPubMessagesProcessed": 0,
  • "totalActivityPubMessagesSuccesses": 0,
  • "totalActivityPubMessagesErrors": 0,
  • "activityPubMessagesProcessedPerSecond": 0,
  • "totalActivityPubMessagesWaiting": 0,
  • "averageRegistrationRequestResponseTimeMs": 0,
  • "totalRegistrationRequestsProcessed": 0,
  • "totalRegistrationRequests": 0,
  • "averageAbuseResponseTimeMs": 0,
  • "totalAbusesProcessed": 0,
  • "totalAbuses": 0
}

Create playback metrics

These metrics are exposed by OpenTelemetry metrics exporter if enabled.

Request Body schema: application/json
downloadedBytesHTTP
required
number

How many bytes were downloaded with HTTP since the last metric creation

downloadedBytesP2P
required
number

How many bytes were downloaded with P2P since the last metric creation

errors
required
number

How many errors occurred since the last metric creation

p2pEnabled
required
boolean
playerMode
required
string
Enum: "p2p-media-loader" "web-video"
resolutionChanges
required
number

How many resolution changes occurred since the last metric creation

uploadedBytesP2P
required
number

How many bytes were uploaded with P2P since the last metric creation

required
id (integer) or UUIDv4 (string) or shortUUID (string)
bufferStalled
number

How many times buffer has been stalled since the last metric creation

fps
number

Current player video fps

p2pPeers
number

P2P peers connected (doesn't include WebSeed peers)

resolution
number

Current player video resolution

Responses

Request samples

Content type
application/json
{
  • "playerMode": "p2p-media-loader",
  • "resolution": 0,
  • "fps": 0,
  • "p2pEnabled": true,
  • "p2pPeers": 0,
  • "resolutionChanges": 0,
  • "bufferStalled": 0,
  • "errors": 0,
  • "downloadedBytesP2P": 0,
  • "downloadedBytesHTTP": 0,
  • "uploadedBytesP2P": 0,
  • "videoId": 42
}

Logs

Operations dealing with client, server and audit logs.

Send client log

Request Body schema: application/json
level
required
any
Enum: "error" "warn"
message
required
string
url
required
string

URL of the current user page

meta
string

Additional information regarding this log

stackTrace
string

Stack trace of the error if there is one

userAgent
string

User agent of the web browser that sends the message

Responses

Request samples

Content type
application/json
{
  • "message": "string",
  • "url": "string",
  • "level": "error",
  • "stackTrace": "string",
  • "userAgent": "string",
  • "meta": "string"
}

Get instance logs

Authorizations:
OAuth2

Responses

Response samples

Content type
application/json
[
  • "string"
]

Get instance audit logs

Authorizations:
OAuth2

Responses

Response samples

Content type
application/json
[
  • "string"
]

Job

Jobs are long-running tasks enqueued and processed by the instance itself. No additional worker registration is currently available.

Pause job queue

Authorizations:
OAuth2

Responses

Resume job queue

Authorizations:
OAuth2

Responses

List instance jobs

Authorizations:
OAuth2
path Parameters
state
required
string
Enum: "" "active" "completed" "failed" "waiting" "delayed"

The state of the job ('' for for no filter)

query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

jobType
string (JobType)
Enum: "activitypub-cleaner" "activitypub-follow" "activitypub-http-broadcast" "activitypub-http-broadcast-parallel" "activitypub-http-fetcher" "activitypub-http-unicast" "activitypub-refresher" "actor-keys" "after-video-channel-import" "build-automatic-tags" "create-user-export" "email" "federate-video" "generate-video-storyboard" "import-user-archive" "manage-video-torrent" "move-to-file-system" "move-to-object-storage" "notify" "transcoding-job-builder" "video-channel-import" "video-file-import" "video-import" "video-live-ending" "video-redundancy" "video-studio-edition" "video-transcoding" "video-transcription" "videos-stats"

job type

sort
string
Example: sort=-createdAt

Sort column

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Cancel a job

Abort a running job and its underlying ffmpeg/child process. Only active jobs that support cancellation can be cancelled.

Authorizations:
OAuth2
path Parameters
jobId
required
string

The id of the job to cancel

jobType
required
string (JobType)
Enum: "activitypub-cleaner" "activitypub-follow" "activitypub-http-broadcast" "activitypub-http-broadcast-parallel" "activitypub-http-fetcher" "activitypub-http-unicast" "activitypub-refresher" "actor-keys" "after-video-channel-import" "build-automatic-tags" "create-user-export" "email" "federate-video" "generate-video-storyboard" "import-user-archive" "manage-video-torrent" "move-to-file-system" "move-to-object-storage" "notify" "transcoding-job-builder" "video-channel-import" "video-file-import" "video-import" "video-live-ending" "video-redundancy" "video-studio-edition" "video-transcoding" "video-transcription" "videos-stats"

The type of the job to cancel

Responses

Runner Registration Token

Manage runner registration tokens.

Generate registration token

Generate a new runner registration token

Authorizations:
OAuth2

Responses

Remove registration token

Remove a registration token. Runners that used this token for their registration are automatically removed.

Authorizations:
OAuth2
path Parameters
registrationTokenId
required
integer

Responses

List registration tokens

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

sort
string
Value: "createdAt"

Sort registration tokens by criteria

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Runner Jobs

Manage runner jobs and runner-side job execution.

Request a new job

API used by PeerTube runners

Request Body schema: application/json
runnerToken
required
string
jobTypes
Array of strings

Filter jobs depending on their types

Responses

Request samples

Content type
application/json
{
  • "runnerToken": "string",
  • "jobTypes": [
    ]
}

Response samples

Content type
application/json
{
  • "availableJobs": [
    ]
}

Accept job

API used by PeerTube runners

path Parameters
jobUUID
required
string <uuid> (UUIDv4) = 36 characters ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]...
Example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
Request Body schema: application/json
runnerToken
required
string

Responses

Request samples

Content type
application/json
{
  • "runnerToken": "string"
}

Response samples

Content type
application/json
{
  • "job": {
    }
}

Abort job

API used by PeerTube runners

path Parameters
jobUUID
required
string <uuid> (UUIDv4) = 36 characters ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]...
Example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
Request Body schema: application/json
jobToken
required
string
reason
required
string

Why the runner aborts this job

runnerToken
required
string

Responses

Request samples

Content type
application/json
{
  • "runnerToken": "string",
  • "jobToken": "string",
  • "reason": "string"
}

Update job

API used by PeerTube runners

path Parameters
jobUUID
required
string <uuid> (UUIDv4) = 36 characters ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]...
Example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
Request Body schema: application/json
jobToken
required
string
runnerToken
required
string
object
progress
integer

Update job progression percentage (optional)

Responses

Request samples

Content type
application/json
{
  • "runnerToken": "string",
  • "jobToken": "string",
  • "progress": 0,
  • "payload": {
    }
}

Post job error

API used by PeerTube runners

path Parameters
jobUUID
required
string <uuid> (UUIDv4) = 36 characters ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]...
Example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
Request Body schema: application/json
jobToken
required
string
message
required
string

Why the runner failed to process this job

runnerToken
required
string

Responses

Request samples

Content type
application/json
{
  • "runnerToken": "string",
  • "jobToken": "string",
  • "message": "string"
}

Post job success

API used by PeerTube runners

path Parameters
jobUUID
required
string <uuid> (UUIDv4) = 36 characters ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]...
Example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
Request Body schema: application/json
jobToken
required
string
required
VOD web video transcoding (object) or VOD HLS transcoding (object) or VOD audio merge transcoding (object) or Live RTMP to HLS transcoding (object)
runnerToken
required
string

Responses

Request samples

Content type
application/json
{
  • "runnerToken": "string",
  • "jobToken": "string",
  • "payload": {
    }
}

Download the max-quality audio file for a job video

API used by PeerTube runners.

path Parameters
jobUUID
required
string <uuid> (UUIDv4) = 36 characters ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]...
Example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
required
id (integer) or UUIDv4 (string) or shortUUID (string)

Video id or UUID

Request Body schema: application/json
required
jobToken
required
string
runnerToken
required
string

Responses

Request samples

Content type
application/json
{
  • "runnerToken": "string",
  • "jobToken": "string"
}

Download the max-quality video file for a job video

API used by PeerTube runners.

path Parameters
jobUUID
required
string <uuid> (UUIDv4) = 36 characters ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]...
Example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
required
id (integer) or UUIDv4 (string) or shortUUID (string)

Video id or UUID

Request Body schema: application/json
required
jobToken
required
string
runnerToken
required
string

Responses

Request samples

Content type
application/json
{
  • "runnerToken": "string",
  • "jobToken": "string"
}

Download the max-quality thumbnail for a job video

API used by PeerTube runners.

path Parameters
jobUUID
required
string <uuid> (UUIDv4) = 36 characters ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]...
Example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
required
id (integer) or UUIDv4 (string) or shortUUID (string)

Video id or UUID

Request Body schema: application/json
required
jobToken
required
string
runnerToken
required
string

Responses

Request samples

Content type
application/json
{
  • "runnerToken": "string",
  • "jobToken": "string"
}

Download the max-quality preview for a job video

API used by PeerTube runners.

path Parameters
jobUUID
required
string <uuid> (UUIDv4) = 36 characters ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]...
Example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
required
id (integer) or UUIDv4 (string) or shortUUID (string)

Video id or UUID

Request Body schema: application/json
required
jobToken
required
string
runnerToken
required
string

Responses

Request samples

Content type
application/json
{
  • "runnerToken": "string",
  • "jobToken": "string"
}

Download a video studio task file for a job video

API used by PeerTube runners.

path Parameters
filename
required
string

Name of the task file to download

jobUUID
required
string <uuid> (UUIDv4) = 36 characters ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]...
Example: 9c9de5e8-0a1e-484a-b099-e80766180a6d
required
id (integer) or UUIDv4 (string) or shortUUID (string)

Video id or UUID

Request Body schema: application/json
required
jobToken
required
string
runnerToken
required
string

Responses

Request samples

Content type
application/json
{
  • "runnerToken": "string",
  • "jobToken": "string"
}

Cancel a job

Authorizations:
OAuth2
path Parameters
jobUUID
required
string <uuid> (UUIDv4) = 36 characters ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]...
Example: 9c9de5e8-0a1e-484a-b099-e80766180a6d

Responses

Delete a job

The endpoint will first cancel the job if needed, and then remove it from the database. Children jobs will also be removed

Authorizations:
OAuth2
path Parameters
jobUUID
required
string <uuid> (UUIDv4) = 36 characters ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]...
Example: 9c9de5e8-0a1e-484a-b099-e80766180a6d

Responses

List jobs

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

search
string

Plain text search, applied to various parts of the model depending on endpoint

sort
string
Enum: "updatedAt" "createdAt" "priority" "state" "progress"

Sort runner jobs by criteria

start
integer >= 0

Offset used to paginate results

stateOneOf
Array of integers (RunnerJobState)
Items Enum: 1 2 3 4 5 6 7 8
typeOneOf
Array of strings (RunnerJobType)
Items Enum: "vod-web-video-transcoding" "vod-hls-transcoding" "vod-audio-merge-transcoding" "live-rtmp-hls-transcoding"

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}

Runners

Register, list and remove remote runners.

Register a new runner

API used by PeerTube runners

Request Body schema: application/json
name
required
string
registrationToken
required
string
description
string

Responses

Request samples

Content type
application/json
{
  • "registrationToken": "string",
  • "name": "string",
  • "description": "string"
}

Response samples

Content type
application/json
{
  • "id": 0,
  • "runnerToken": "string"
}

Unregister a runner

API used by PeerTube runners

Request Body schema: application/json
runnerToken
required
string

Responses

Request samples

Content type
application/json
{
  • "runnerToken": "string"
}

Delete a runner

Authorizations:
OAuth2
path Parameters
runnerId
required
integer
Request Body schema: application/json
runnerToken
required
string

Responses

Request samples

Content type
application/json
{
  • "runnerToken": "string"
}

List runners

Authorizations:
OAuth2
query Parameters
count
integer [ 1 .. 100 ]
Default: 15

Number of items to return

sort
string
Value: "createdAt"

Sort runners by criteria

start
integer >= 0

Offset used to paginate results

Responses

Response samples

Content type
application/json
{
  • "total": 1,
  • "data": [
    ]
}