PeerTube (7.0.0)

Download OpenAPI specification:Download

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. The spec API is fully compatible with openapi-generator which generates a client SDK in the language of your choice - we generate some client SDKs automatically:

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
videoId
required
integer >= 1
Example: 42

The video id

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 featureful ; 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>Tue, 18 Mar 2025 04:10:38 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/client/assets/images/icons/icon-96x96.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[New Webkit browser for Linux, NVK becomes default, KDE splits X11 code: Linux & Open Source News - PenguinTrinity :verified_neko:]]></title>
            <link>https://peertube2.cpy.re/w/rb2w4iHTzARN5ThvStQumY;threadId=180665</link>
            <guid>https://peertube2.cpy.re/w/rb2w4iHTzARN5ThvStQumY;threadId=180665</guid>
            <pubDate>Mon, 17 Mar 2025 17:12:09 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://tilvids.com/accounts/thelinuxexperiment" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>thelinuxexperiment</span></a></span> I am glad that they are not f*ing up this one. I am still a little concerned about chat control, as you are.</p>]]></content:encoded>
            <dc:creator>PenguinTrinity :verified_neko:</dc:creator>
        </item>
        <item>
            <title><![CDATA[Hors norme S1 E2 - Cédric, le Furry - Mundo_Desconocido]]></title>
            <link>https://peertube2.cpy.re/w/sP8teC2CE9zQueLthymwDs;threadId=180663</link>
            <guid>https://peertube2.cpy.re/w/sP8teC2CE9zQueLthymwDs;threadId=180663</guid>
            <pubDate>Mon, 17 Mar 2025 02:59:49 GMT</pubDate>
            <content:encoded><![CDATA[<p>This people can't be saved. There is no redemption for them anymore.</p>
<p>Jer 6:30 KJVPCE Reprobate silver shall men call them, because the Lord hath rejected them.</p>
]]></content:encoded>
            <dc:creator>Mundo_Desconocido</dc:creator>
        </item>
        <item>
            <title><![CDATA[S11 E09: UFOs, Gaza Protests & Islamophobia: 4/21/24: Last Week Tonight with John Oliver - Mundo_Desconocido]]></title>
            <link>https://peertube2.cpy.re/w/q2gxPV9UN7RE1mYmguW5A3;threadId=180662</link>
            <guid>https://peertube2.cpy.re/w/q2gxPV9UN7RE1mYmguW5A3;threadId=180662</guid>
            <pubDate>Mon, 17 Mar 2025 02:51:33 GMT</pubDate>
            <content:encoded><![CDATA[<p>UFO's are a deception to unify the world governments against a single threat. In reality they are just demons</p>
]]></content:encoded>
            <dc:creator>Mundo_Desconocido</dc:creator>
        </item>
        <item>
            <title><![CDATA[Carbofascisme : comment l'extrême droite organise la destruction du monde - Olivier Fouchard]]></title>
            <link>https://peertube2.cpy.re/w/uwAbfJTenrygUimsaLnJQm;threadId=180661</link>
            <guid>https://peertube2.cpy.re/w/uwAbfJTenrygUimsaLnJQm;threadId=180661</guid>
            <pubDate>Sun, 16 Mar 2025 23:37:30 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://video.blast-info.fr/accounts/blast" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>blast</span></a></span></p>]]></content:encoded>
            <dc:creator>Olivier Fouchard</dc:creator>
        </item>
        <item>
            <title><![CDATA[Effort de guerre : les pauvres seront les 1er à payer le prix - Olivier Fouchard]]></title>
            <link>https://peertube2.cpy.re/w/rygTEFV9DrdQXHTHfyb4Sn;threadId=180660</link>
            <guid>https://peertube2.cpy.re/w/rygTEFV9DrdQXHTHfyb4Sn;threadId=180660</guid>
            <pubDate>Sun, 16 Mar 2025 23:36:53 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://video.blast-info.fr/accounts/blast" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>blast</span></a></span></p>]]></content:encoded>
            <dc:creator>Olivier Fouchard</dc:creator>
        </item>
        <item>
            <title><![CDATA[[short] Play Tetris in Krita 🎨 - David Revoy]]></title>
            <link>https://peertube2.cpy.re/w/9Y7M2tKH4x4vVcULnn5Rtp;threadId=180653</link>
            <guid>https://peertube2.cpy.re/w/9Y7M2tKH4x4vVcULnn5Rtp;threadId=180653</guid>
            <pubDate>Sun, 16 Mar 2025 07:51:10 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://mstdn.social/@usamafirdous" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>usamafirdous</span></a></span> <span><a href="https://peertube.touhoppai.moe/accounts/shichimi" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>shichimi</span></a></span> hey, no problem, I still think that was a legit question ☺️ Thanks for watching my channel!</p>]]></content:encoded>
            <dc:creator>David Revoy</dc:creator>
        </item>
        <item>
            <title><![CDATA[Krita common issues and how to solve them - Marcel Costa]]></title>
            <link>https://peertube2.cpy.re/w/bKmm5mU6zLdAGZZYUUxsoZ;threadId=180658</link>
            <guid>https://peertube2.cpy.re/w/bKmm5mU6zLdAGZZYUUxsoZ;threadId=180658</guid>
            <pubDate>Sun, 16 Mar 2025 07:36:01 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://peertube.touhoppai.moe/accounts/shichimi" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>shichimi</span></a></span> Thanks for always giving that much to the community! 😻</p>]]></content:encoded>
            <dc:creator>Marcel Costa</dc:creator>
        </item>
        <item>
            <title><![CDATA[guitar chunking patch - pizzapal]]></title>
            <link>https://peertube2.cpy.re/w/3YsBT2v874RHYH42JLKCRr;threadId=180657</link>
            <guid>https://peertube2.cpy.re/w/3YsBT2v874RHYH42JLKCRr;threadId=180657</guid>
            <pubDate>Sun, 16 Mar 2025 01:07:42 GMT</pubDate>
            <content:encoded><![CDATA[<p>wow this sounds like butt the cellphone doesnt pick up bass very good</p>
]]></content:encoded>
            <dc:creator>pizzapal</dc:creator>
        </item>
        <item>
            <title><![CDATA[I'm ditching Firefox & Mozilla, and I think you should too... - Remy Rose]]></title>
            <link>https://peertube2.cpy.re/w/fAvzwwK2abKCGUea6FT9va;threadId=180656</link>
            <guid>https://peertube2.cpy.re/w/fAvzwwK2abKCGUea6FT9va;threadId=180656</guid>
            <pubDate>Sat, 15 Mar 2025 23:20:23 GMT</pubDate>
            <content:encoded><![CDATA[<p>I've been enjoying LibreWolf for a while now, but how much danger are all the firefox forks in if Mozilla keeps getting worse? Can they keep functioning without Firefox? Can't wait for Ladybird to get here... Are there any other alternative engines out there?</p>
]]></content:encoded>
            <dc:creator>Remy Rose</dc:creator>
        </item>
        <item>
            <title><![CDATA[[short] Play Tetris in Krita 🎨 - Usama Firdous]]></title>
            <link>https://peertube2.cpy.re/w/9Y7M2tKH4x4vVcULnn5Rtp;threadId=180653</link>
            <guid>https://peertube2.cpy.re/w/9Y7M2tKH4x4vVcULnn5Rtp;threadId=180653</guid>
            <pubDate>Sat, 15 Mar 2025 22:41:26 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://framapiaf.org/@davidrevoy" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>davidrevoy</span></a></span> <span><a href="https://peertube.touhoppai.moe/accounts/shichimi" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>shichimi</span></a></span> </p><p>OMG, I was having such a dumb moment, I didn't read the user name, I thought someone else had shared your video here. I learnt a lot from your yt videos over the time! I'll follow you on peertube now.</p>]]></content:encoded>
            <dc:creator>Usama Firdous</dc:creator>
        </item>
        <item>
            <title><![CDATA[[short] Play Tetris in Krita 🎨 - David Revoy]]></title>
            <link>https://peertube2.cpy.re/w/9Y7M2tKH4x4vVcULnn5Rtp;threadId=180653</link>
            <guid>https://peertube2.cpy.re/w/9Y7M2tKH4x4vVcULnn5Rtp;threadId=180653</guid>
            <pubDate>Sat, 15 Mar 2025 18:28:35 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://mstdn.social/@usamafirdous" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>usamafirdous</span></a></span> <span><a href="https://peertube.touhoppai.moe/accounts/shichimi" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>shichimi</span></a></span> If you ask for Shichimi: yes that's the name of the account I control on the Peertube instance peertube.touhoppai.moe (they nicely allow me to host my videos there).</p><p>If you ask about the 43 y/o dude on the video with a Dungeon and Dragon Tee shirt, a heavy French accent and with a slight overweight and "salt and pepper" beard, yes 😆 That's how I look right now IRL.</p>]]></content:encoded>
            <dc:creator>David Revoy</dc:creator>
        </item>
        <item>
            <title><![CDATA[[short] Play Tetris in Krita 🎨 - Usama Firdous]]></title>
            <link>https://peertube2.cpy.re/w/9Y7M2tKH4x4vVcULnn5Rtp;threadId=180653</link>
            <guid>https://peertube2.cpy.re/w/9Y7M2tKH4x4vVcULnn5Rtp;threadId=180653</guid>
            <pubDate>Sat, 15 Mar 2025 16:47:40 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://peertube.touhoppai.moe/accounts/shichimi" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>shichimi</span></a></span> that david revoy?</p>]]></content:encoded>
            <dc:creator>Usama Firdous</dc:creator>
        </item>
        <item>
            <title><![CDATA[New Webkit browser for Linux, NVK becomes default, KDE splits X11 code: Linux & Open Source News - johnteachestech]]></title>
            <link>https://peertube2.cpy.re/w/rb2w4iHTzARN5ThvStQumY;threadId=180652</link>
            <guid>https://peertube2.cpy.re/w/rb2w4iHTzARN5ThvStQumY;threadId=180652</guid>
            <pubDate>Sat, 15 Mar 2025 16:10:44 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://tilvids.com/accounts/thelinuxexperiment" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>thelinuxexperiment</span></a></span> </p><p>There are still a lot of things wayland breaks, with no workaround, my hope is that <span><a href="https://floss.social/@kde" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>kde</span></a></span> uses the time before plasma 7 to fix/integrate fixes as many of things as possible.</p><p>I get the value and excitement around Wayland, but its important that it doesnt break the work flow that countless people rely on, by KDE being too eager. </p><p>On a related note, doesn't <span><a href="https://linuxrocks.online/@tuxedocomputers" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>tuxedocomputers</span></a></span> still use x11?</p>]]></content:encoded>
            <dc:creator>johnteachestech</dc:creator>
        </item>
        <item>
            <title><![CDATA[New Webkit browser for Linux, NVK becomes default, KDE splits X11 code: Linux & Open Source News - cardiozibi]]></title>
            <link>https://peertube2.cpy.re/w/rb2w4iHTzARN5ThvStQumY;threadId=180651</link>
            <guid>https://peertube2.cpy.re/w/rb2w4iHTzARN5ThvStQumY;threadId=180651</guid>
            <pubDate>Sat, 15 Mar 2025 11:32:29 GMT</pubDate>
            <content:encoded><![CDATA[<p>360p max?</p>
]]></content:encoded>
            <dc:creator>cardiozibi</dc:creator>
        </item>
        <item>
            <title><![CDATA[Clarifying what's happening at Mozilla: an Interview with Ryan Sipes from Thunderbird - johnteachestech]]></title>
            <link>https://peertube2.cpy.re/w/ssV7mEKnwhFfJhnxSWGCTk;threadId=180628</link>
            <guid>https://peertube2.cpy.re/w/ssV7mEKnwhFfJhnxSWGCTk;threadId=180628</guid>
            <pubDate>Fri, 14 Mar 2025 14:51:28 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://fedia.io/u/falseprophet" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>falseprophet</span></a></span> <span><a href="https://tilvids.com/accounts/thelinuxexperiment" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>thelinuxexperiment</span></a></span> </p><p>Where does the money come from on other FOSS projects tgat don't steal your data?</p><p>This is not rocket science, and money does not justify unethical practices.</p>]]></content:encoded>
            <dc:creator>johnteachestech</dc:creator>
        </item>
        <item>
            <title><![CDATA[Clarifying what's happening at Mozilla: an Interview with Ryan Sipes from Thunderbird - Radote Chill Pépère 🌶️]]></title>
            <link>https://peertube2.cpy.re/w/ssV7mEKnwhFfJhnxSWGCTk;threadId=180647</link>
            <guid>https://peertube2.cpy.re/w/ssV7mEKnwhFfJhnxSWGCTk;threadId=180647</guid>
            <pubDate>Fri, 14 Mar 2025 13:39:15 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://tilvids.com/accounts/thelinuxexperiment" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>thelinuxexperiment</span></a></span> 
Thanks for the vidéo. 👍</p>]]></content:encoded>
            <dc:creator>Radote Chill Pépère 🌶️</dc:creator>
        </item>
        <item>
            <title><![CDATA[Clarifying what's happening at Mozilla: an Interview with Ryan Sipes from Thunderbird - falseprophet]]></title>
            <link>https://peertube2.cpy.re/w/ssV7mEKnwhFfJhnxSWGCTk;threadId=180628</link>
            <guid>https://peertube2.cpy.re/w/ssV7mEKnwhFfJhnxSWGCTk;threadId=180628</guid>
            <pubDate>Fri, 14 Mar 2025 10:54:06 GMT</pubDate>
            <content:encoded><![CDATA[<p>They are working at companies that sell products, Firefox is free software where do you expect the money will come from?</p>
]]></content:encoded>
            <dc:creator>falseprophet</dc:creator>
        </item>
        <item>
            <title><![CDATA[heliko - hal9000]]></title>
            <link>https://peertube2.cpy.re/w/kQQa6Wy6ETx7PT7JkoRjdN;threadId=180646</link>
            <guid>https://peertube2.cpy.re/w/kQQa6Wy6ETx7PT7JkoRjdN;threadId=180646</guid>
            <pubDate>Fri, 14 Mar 2025 06:59:26 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://toobnix.org/accounts/tanakian" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>tanakian</span></a></span>  that's dope!</p>]]></content:encoded>
            <dc:creator>hal9000</dc:creator>
        </item>
        <item>
            <title><![CDATA[Clarifying what's happening at Mozilla: an Interview with Ryan Sipes from Thunderbird - Karl-Åke Johansson]]></title>
            <link>https://peertube2.cpy.re/w/ssV7mEKnwhFfJhnxSWGCTk;threadId=180645</link>
            <guid>https://peertube2.cpy.re/w/ssV7mEKnwhFfJhnxSWGCTk;threadId=180645</guid>
            <pubDate>Fri, 14 Mar 2025 06:34:58 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://tilvids.com/accounts/thelinuxexperiment" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>thelinuxexperiment</span></a></span> a crash course in psychology and one on public relations. It's one thing to be able to write a text well but a communicator has to be able to understand how people outside the organisation, without any prior knowledge, will read the signals you are sending.</p>]]></content:encoded>
            <dc:creator>Karl-Åke Johansson</dc:creator>
        </item>
        <item>
            <title><![CDATA[heliko - արշակ խառնող :artsakh: :SFR:]]></title>
            <link>https://peertube2.cpy.re/w/kQQa6Wy6ETx7PT7JkoRjdN;threadId=180642</link>
            <guid>https://peertube2.cpy.re/w/kQQa6Wy6ETx7PT7JkoRjdN;threadId=180642</guid>
            <pubDate>Fri, 14 Mar 2025 00:05:05 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://toobnix.org/accounts/tanakian" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>tanakian</span></a></span> օհ, փաստորեն ռիդմին նշում էլ ա, որ inspired by oberon :))</p>]]></content:encoded>
            <dc:creator>արշակ խառնող :artsakh: :SFR:</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 featureful ; 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 64 128
Examples:
  • include=3 - Include not published and blacklisted videos (1 + 2)
  • include=24 - Add files and captions to video JSON representation (8 + 16)

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator). By default PeerTube only list published videos that are not blocked.

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
  • 64: AUTOMATIC_TAGS
  • 128: TAGS
isLocal
boolean

PeerTube >= 4.0 Display only local or remote objects

nsfw
string
Enum: "true" "false" "both"

Whether to include nsfw videos, if any. The default value is set by the admin.

privacyOneOf
integer
Enum: 1 2 3 4 5
Examples:
  • privacyOneOf=5 - Display only password protected videos

Only administrators and moderators can use this parameter

Display only videos in this specific privacy/privacies. By default, list public videos for anonymous users and public/internal videos for authenticated users

  • 1 PUBLIC
  • 2 UNLISTED
  • 3 PRIVATE
  • 4 INTERNAL
  • 5 PASSWORD_PROTECTED
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>Tue, 18 Mar 2025 04:10:38 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/client/assets/images/icons/icon-96x96.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[L'armée ukrainienne en grande difficulté dans la région de Koursk, en Russie]]></title>
            <link>https://peertube2.cpy.re/w/cWLZBnMmK8BDPux5hRyRZn</link>
            <guid>https://peertube2.cpy.re/w/cWLZBnMmK8BDPux5hRyRZn</guid>
            <pubDate>Mon, 17 Mar 2025 21:01:24 GMT</pubDate>
            <description><![CDATA[Depuis le jeudi 13 mars, la Russie a publié plusieurs vidéos montrant des soldats marchant dans la ville de Soudja, située dans l’oblast de Koursk, en Russie. La ville était passée sous contrôle de Kiev depuis l’incursion des troupes ukrainiennes ...]]></description>
            <content:encoded><![CDATA[<p>Depuis le jeudi 13 mars, la Russie a publié plusieurs vidéos montrant des soldats marchant dans la ville de Soudja, située dans l’oblast de Koursk, en Russie. La ville était passée sous contrôle de Kiev depuis l’incursion des troupes ukrainiennes en territoire russe en août 2024.</p>
<p>Dimanche matin, l’état-major ukrainien a publié une carte confirmant le retrait total de ses forces armées de la ville de Soudja. Ce retrait témoigne des difficultés de Kiev dans la région de Koursk, notamment depuis le 5 mars, date à laquelle les Etats-Unis ont annoncé ne plus fournir de renseignement militaire à l’Ukraine.</p>
<p>#shorts #russia #ukrainewar</p>
]]></content:encoded>
            <dc:creator>Main lemonde channel</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="9326415" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/60ba6abb-f51f-4571-8174-965271ec8c73?videoFileIds=5445149"/>
            <media:community>
                <media:statistics views="1"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/cWLZBnMmK8BDPux5hRyRZn"/>
            <media:player url="https://peertube2.cpy.re/w/cWLZBnMmK8BDPux5hRyRZn"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/8c125216-bd13-4812-ac9e-eb7b031e1db2-480-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="9326415" url="https://tube.fede.re/static/streaming-playlists/hls/60ba6abb-f51f-4571-8174-965271ec8c73/6fde4932-5520-4b6a-808a-21a96834c720-480-fragmented.mp4" framerate="25" duration="102" isDefault="true"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/a354b0de-9e71-40b0-a778-02301f0def0d.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/17e4144a-c812-4e60-a1d9-4671da17e3b4.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">L'armée ukrainienne en grande difficulté dans la région de Koursk, en Russie</media:title>
            <media:description type="plain">Depuis le jeudi 13 mars, la Russie a publié plusieurs vidéos montrant des soldats marchant dans la ville de Soudja, située dans l’oblast de Koursk, en Russie. La ville était passée sous contrôle de Kiev depuis l’incursion des troupes ukrainiennes ...</media:description>
        </item>
        <item>
            <title><![CDATA[L'armée ukrainienne en grande difficulté dans la région de Koursk, en Russie]]></title>
            <link>https://peertube2.cpy.re/w/1QHRJqvCbDdCHTNVFfCQpt</link>
            <guid>https://peertube2.cpy.re/w/1QHRJqvCbDdCHTNVFfCQpt</guid>
            <pubDate>Mon, 17 Mar 2025 17:01:48 GMT</pubDate>
            <description><![CDATA[Depuis le jeudi 13 mars, la Russie a publié plusieurs vidéos montrant des soldats marchant dans la ville de Soudja, située dans l’oblast de Koursk, en Russie. La ville était passée sous contrôle de Kiev depuis l’incursion des troupes ukrainiennes ...]]></description>
            <content:encoded><![CDATA[<p>Depuis le jeudi 13 mars, la Russie a publié plusieurs vidéos montrant des soldats marchant dans la ville de Soudja, située dans l’oblast de Koursk, en Russie. La ville était passée sous contrôle de Kiev depuis l’incursion des troupes ukrainiennes en territoire russe en août 2024.</p>
<p>Dimanche matin, l’état-major ukrainien a publié une carte confirmant le retrait total de ses forces armées de la ville de Soudja. Ce retrait témoigne des difficultés de Kiev dans la région de Koursk, notamment depuis le 5 mars, date à laquelle les Etats-Unis ont annoncé ne plus fournir de renseignement militaire à l’Ukraine.</p>
]]></content:encoded>
            <dc:creator>Main lemonde channel</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="32582278" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/06cd7f1c-200a-43b2-88bd-9b52974e7731?videoFileIds=5445147"/>
            <media:community>
                <media:statistics views="4"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/1QHRJqvCbDdCHTNVFfCQpt"/>
            <media:player url="https://peertube2.cpy.re/w/1QHRJqvCbDdCHTNVFfCQpt"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/0236128e-b7a8-4cde-b24e-61a886dca235-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/93bf460b-8c48-4072-a2c9-89626c7004c7-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/f1129c0b-43ef-4491-a1d5-55f506565023-480-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="32582278" url="https://tube.fede.re/static/streaming-playlists/hls/06cd7f1c-200a-43b2-88bd-9b52974e7731/f4c08c1b-cffe-435f-965d-8da7ebc7b3d1-1080-fragmented.mp4" framerate="25" duration="110" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="19460647" url="https://tube.fede.re/static/streaming-playlists/hls/06cd7f1c-200a-43b2-88bd-9b52974e7731/018d8a57-8a1f-42f9-930e-6a7c6f024385-720-fragmented.mp4" framerate="25" duration="110" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="11132542" url="https://tube.fede.re/static/streaming-playlists/hls/06cd7f1c-200a-43b2-88bd-9b52974e7731/066ea850-c5f9-4b5e-aa96-40d455b5954a-480-fragmented.mp4" framerate="25" duration="110" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/662ec885-fbeb-490a-ab74-5ce570ff8db8.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/be7a4b91-932a-474b-8d90-402a6a42bbe5.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">L'armée ukrainienne en grande difficulté dans la région de Koursk, en Russie</media:title>
            <media:description type="plain">Depuis le jeudi 13 mars, la Russie a publié plusieurs vidéos montrant des soldats marchant dans la ville de Soudja, située dans l’oblast de Koursk, en Russie. La ville était passée sous contrôle de Kiev depuis l’incursion des troupes ukrainiennes ...</media:description>
        </item>
        <item>
            <title><![CDATA[Œuvre libre 12-Mushroom observer]]></title>
            <link>https://peertube2.cpy.re/w/mrgteHYrHYYmaeXEm7yEXp</link>
            <guid>https://peertube2.cpy.re/w/mrgteHYrHYYmaeXEm7yEXp</guid>
            <pubDate>Mon, 17 Mar 2025 13:58:59 GMT</pubDate>
            <description><![CDATA[Œuvre libre 12-Mushroom observer Enregistrement d’observations au sujet des champignons.]]></description>
            <content:encoded><![CDATA[<p>Œuvre libre 12-Mushroom observer<br />
Enregistrement d’observations au sujet des champignons.</p>
]]></content:encoded>
            <dc:creator>De la graine à l'humus</dc:creator>
            <category>Science &amp; Technology</category>
            <enclosure length="9966029" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/a57de6a3-3009-42ee-890d-a106c2f939c5?videoFileIds=5445133"/>
            <media:community>
                <media:statistics views="1"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/mrgteHYrHYYmaeXEm7yEXp"/>
            <media:player url="https://peertube2.cpy.re/w/mrgteHYrHYYmaeXEm7yEXp"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/a8faf900-0e4b-4abc-aa1f-0a12fd1835a7-1080.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/951eb97b-c302-4f5f-b003-5c45a55bc10a-720.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/3eaa9131-3edb-4305-aae7-47054250c1e8-480.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/064da63f-ede1-42fa-81b9-5302795f0e41-360.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/56e4339a-5b4c-4191-98f7-052fe77636ce-0.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/b2ff59bd-9778-4cb6-90b0-dae88ce4d408-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/63823645-9cc9-4cad-a659-99ac01d2054d-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/d4a653aa-f03a-4437-b03e-ea0e75c6812c-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/121e293f-a7a6-4d10-a0d6-53fd8629bf7d-360-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/3017e73c-c048-4796-ae77-31cb6afc048f-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="9966029" url="https://tube.hoga.fr/static/web-videos/c0047250-0ad6-4b6a-a5ed-2bd7236e578c-1080.mp4" framerate="25" duration="66" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="7990715" url="https://tube.hoga.fr/static/web-videos/8108c66b-37c0-4b69-ac8e-9dfeebcd0197-720.mp4" framerate="25" duration="66" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="5370548" url="https://tube.hoga.fr/static/web-videos/284fef7a-694f-463f-970c-9be601b313a0-480.mp4" framerate="25" duration="66" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="360" fileSize="4152956" url="https://tube.hoga.fr/static/web-videos/a614b08d-a7ba-4d9a-8145-2657c7bcf087-360.mp4" framerate="25" duration="66" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="2086719" url="https://tube.hoga.fr/static/web-videos/eeea8979-0097-4685-93b5-2e71ff4d53ab-0.mp4" framerate="0" duration="66" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="9959307" url="https://tube.hoga.fr/static/streaming-playlists/hls/a57de6a3-3009-42ee-890d-a106c2f939c5/4b216eff-a503-4170-83d8-769724d03392-1080-fragmented.mp4" framerate="25" duration="66" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="7983761" url="https://tube.hoga.fr/static/streaming-playlists/hls/a57de6a3-3009-42ee-890d-a106c2f939c5/a3bc6dcb-b707-4ea2-ac93-c75ec37b943f-720-fragmented.mp4" framerate="25" duration="66" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="5363482" url="https://tube.hoga.fr/static/streaming-playlists/hls/a57de6a3-3009-42ee-890d-a106c2f939c5/3ad8b180-97e2-4300-8a88-cedcfed96382-480-fragmented.mp4" framerate="25" duration="66" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="360" fileSize="4145774" url="https://tube.hoga.fr/static/streaming-playlists/hls/a57de6a3-3009-42ee-890d-a106c2f939c5/18fe8630-12d7-4b7c-b28a-2524bc82bee4-360-fragmented.mp4" framerate="25" duration="66" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="2089805" url="https://tube.hoga.fr/static/streaming-playlists/hls/a57de6a3-3009-42ee-890d-a106c2f939c5/6df91a8e-6674-408f-9d28-5f162550ea10-0-fragmented.mp4" framerate="0" duration="66" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/1ccb6a0e-5158-4d95-864e-32d55a74d56a.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/9cd08527-d1ec-4543-a654-ba0b3f781480.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Œuvre libre 12-Mushroom observer</media:title>
            <media:description type="plain">Œuvre libre 12-Mushroom observer Enregistrement d’observations au sujet des champignons.</media:description>
        </item>
        <item>
            <title><![CDATA[heliko as of 2025-03-17]]></title>
            <link>https://peertube2.cpy.re/w/41mCUgh13MrmPKjVsFRiMS</link>
            <guid>https://peertube2.cpy.re/w/41mCUgh13MrmPKjVsFRiMS</guid>
            <pubDate>Mon, 17 Mar 2025 13:42:37 GMT</pubDate>
            <description><![CDATA[https://github.com/norayr/heliko https://norayr.am/weblog/2025/03/14/27581431/]]></description>
            <content:encoded><![CDATA[<p><a href="https://github.com/norayr/heliko" target="_blank" rel="noopener noreferrer">https://github.com/norayr/heliko</a><br />
<a href="https://norayr.am/weblog/2025/03/14/27581431/" target="_blank" rel="noopener noreferrer">https://norayr.am/weblog/2025/03/14/27581431/</a></p>
]]></content:encoded>
            <dc:creator>tanakian's tech channel</dc:creator>
            <category>Education</category>
            <enclosure length="22771613" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/1858222d-71fd-4fb0-ae48-60ef47e5bc60?videoFileIds=5445121"/>
            <media:community>
                <media:statistics views="27"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/41mCUgh13MrmPKjVsFRiMS"/>
            <media:player url="https://peertube2.cpy.re/w/41mCUgh13MrmPKjVsFRiMS"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/a3398c0b-22ee-482f-b76b-cd671f31aeaf-1504.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/71b3326e-00a8-4431-8673-399f3d20c421-1080.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/4ad1d72f-fa28-4525-b758-11bf5cd46742-720.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/02658646-63b7-4cea-a213-dd7d382d4ebb-480.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/0de4d608-2de1-4cbc-961d-0224f7d0584d-360.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/474a7fb6-9fa8-4137-830f-68c9bb506bae-240.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/c3b9feba-cfa7-488f-abd3-13d575713de6-1504-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/70d14ec1-f07c-4f30-a5f3-ef7d4278b62c-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/cef902dd-fdd2-440f-a29c-4cf8f3941756-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/e93dbc33-bcdb-47c2-a26d-1ef5a3f0ab7a-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/3df14f61-29ef-454a-99c7-9cd11e6ac1b5-360-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/700403bd-ab73-431c-af47-27b1f82cfbd9-240-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1504" fileSize="22771613" url="https://toobnix.org/static/web-videos/5fb0e48e-3cc0-4d4f-a8f3-081e020fd64b-1504.mp4" framerate="25" duration="288" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="14851334" url="https://toobnix.org/static/web-videos/91e7789f-d74f-4ab8-b67c-9f2a2c75c38f-1080.mp4" framerate="25" duration="288" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="10456032" url="https://toobnix.org/static/web-videos/fd01b46a-0ecb-4b67-be3a-a880bd67ffbe-720.mp4" framerate="25" duration="288" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="6624810" url="https://toobnix.org/static/web-videos/ace3e247-55df-4e15-bf7e-172bb7295512-480.mp4" framerate="25" duration="288" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="360" fileSize="4399981" url="https://toobnix.org/static/web-videos/5489b23b-b939-4326-b1a6-068d07d2c02f-360.mp4" framerate="25" duration="288" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="2346463" url="https://toobnix.org/static/web-videos/1164bc46-55ec-44ae-86fd-0e5dd0072351-240.mp4" framerate="25" duration="288" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1504" fileSize="22814545" url="https://toobnix.org/static/streaming-playlists/hls/1858222d-71fd-4fb0-ae48-60ef47e5bc60/5ce8c126-9497-4358-bdb6-d26df89be087-1504-fragmented.mp4" framerate="25" duration="288" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="14893790" url="https://toobnix.org/static/streaming-playlists/hls/1858222d-71fd-4fb0-ae48-60ef47e5bc60/f912727f-8276-44d0-8f44-ebbcb6a9c029-1080-fragmented.mp4" framerate="25" duration="288" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="10497864" url="https://toobnix.org/static/streaming-playlists/hls/1858222d-71fd-4fb0-ae48-60ef47e5bc60/22f0c7d7-5a86-4da1-b047-7234076db175-720-fragmented.mp4" framerate="25" duration="288" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="6668922" url="https://toobnix.org/static/streaming-playlists/hls/1858222d-71fd-4fb0-ae48-60ef47e5bc60/a0426819-7a89-40d8-b849-20e5ad18410f-480-fragmented.mp4" framerate="25" duration="288" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="360" fileSize="4444485" url="https://toobnix.org/static/streaming-playlists/hls/1858222d-71fd-4fb0-ae48-60ef47e5bc60/7d2dfe1c-f7ed-4b11-9f0f-1f6a71da1f3f-360-fragmented.mp4" framerate="25" duration="288" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="2389859" url="https://toobnix.org/static/streaming-playlists/hls/1858222d-71fd-4fb0-ae48-60ef47e5bc60/9034490f-58ae-4c2e-8be9-3a2febdcb782-240-fragmented.mp4" framerate="25" duration="288" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/15b296bd-0c1b-454a-bfe2-bedb82d2f763.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/69e72319-8b78-475f-ba56-a0a0dde8d0ae.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">heliko as of 2025-03-17</media:title>
            <media:description type="plain">https://github.com/norayr/heliko https://norayr.am/weblog/2025/03/14/27581431/</media:description>
        </item>
        <item>
            <title><![CDATA[Sports Betting: Last Week Tonight with John Oliver (HBO)]]></title>
            <link>https://peertube2.cpy.re/w/4jjXDGJQp3LxqUeQkVGePs</link>
            <guid>https://peertube2.cpy.re/w/4jjXDGJQp3LxqUeQkVGePs</guid>
            <pubDate>Mon, 17 Mar 2025 09:10:18 GMT</pubDate>
            <description><![CDATA[John Oliver discusses sports betting, how it became so popular, why it can be so damaging, and – of course – how toned John’s shoulders are. Very toned. According to him. Connect with Last Week Tonight online... Subscribe to the Last Week Tonig...]]></description>
            <content:encoded><![CDATA[<p>John Oliver discusses sports betting, how it became so popular, why it can be so damaging, and – of course – how toned John’s shoulders are. Very toned. According to him.</p>
<p>Connect with Last Week Tonight online...</p>
<p>Subscribe to the Last Week Tonight YouTube channel for more almost news as it almost happens: <a href="http://www.youtube.com/lastweektonight" target="_blank" rel="noopener noreferrer">www.youtube.com/lastweektonight</a></p>
<p>Find Last Week Tonight on Facebook like your mom would: <a href="http://www.facebook.com/lastweektonight" target="_blank" rel="noopener noreferrer">www.facebook.com/lastweektonight</a></p>
<p>Follow us on Twitter for news about jokes and jokes about news: <a href="http://www.twitter.com/lastweektonight" target="_blank" rel="noopener noreferrer">www.twitter.com/lastweektonight</a></p>
<p>Visit our official site for all that other stuff at once: <a href="http://www.hbo.com/lastweektonight" target="_blank" rel="noopener noreferrer">www.hbo.com/lastweektonight</a></p>
]]></content:encoded>
            <dc:creator>LastWeekTonight (unofficial mirror)</dc:creator>
            <category>Entertainment</category>
            <enclosure length="381259150" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/1ada7cef-facb-4605-bb5b-81bde9e2cf84?videoFileIds=5445119"/>
            <media:community>
                <media:statistics views="8"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/4jjXDGJQp3LxqUeQkVGePs"/>
            <media:player url="https://peertube2.cpy.re/w/4jjXDGJQp3LxqUeQkVGePs"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/d158d1d8-13f9-48fd-8091-392efac9a8ba-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/6e9dff68-0b9a-48fd-a7f7-021e732c73ee-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/810ddde3-50fb-4070-a9ad-48271a524aaf-480-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="381259150" url="https://tube.fede.re/static/streaming-playlists/hls/1ada7cef-facb-4605-bb5b-81bde9e2cf84/2d2240f4-3c9d-49bb-aa3c-6d75b97c9006-1080-fragmented.mp4" framerate="30" duration="1941" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="226346140" url="https://tube.fede.re/static/streaming-playlists/hls/1ada7cef-facb-4605-bb5b-81bde9e2cf84/f6126309-3050-477f-8056-4db59b65914a-720-fragmented.mp4" framerate="30" duration="1941" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="139573680" url="https://tube.fede.re/static/streaming-playlists/hls/1ada7cef-facb-4605-bb5b-81bde9e2cf84/5a9f4c09-16ae-42b3-8058-8d44626d2fa3-480-fragmented.mp4" framerate="30" duration="1941" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/c95da6af-8da7-4ffb-ada9-cdcd5bd221fe.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/d27afe75-8a1d-44d3-be89-ecb549e8e749.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Sports Betting: Last Week Tonight with John Oliver (HBO)</media:title>
            <media:description type="plain">John Oliver discusses sports betting, how it became so popular, why it can be so damaging, and – of course – how toned John’s shoulders are. Very toned. According to him. Connect with Last Week Tonight online... Subscribe to the Last Week Tonig...</media:description>
        </item>
        <item>
            <title><![CDATA[Parigo #263 - Grand Paris Express : la 15 sud se fait attendre]]></title>
            <link>https://peertube2.cpy.re/w/wcJ6J3za6DnqjZcQYeBHt2</link>
            <guid>https://peertube2.cpy.re/w/wcJ6J3za6DnqjZcQYeBHt2</guid>
            <pubDate>Mon, 17 Mar 2025 08:07:54 GMT</pubDate>
            <description><![CDATA[La ligne 15 sud, ce sont 16 gares, 37 km de voies et une multitude de correspondances destinées à faciliter les trajets de banlieue à banlieue, entre Boulogne et Noisy-le-Grand. Cette ligne du Grand Paris Express aurait dû être livrée avant les Je...]]></description>
            <content:encoded><![CDATA[<p>La ligne 15 sud, ce sont 16 gares, 37 km de voies et une multitude de correspondances destinées à faciliter les trajets de banlieue à banlieue, entre Boulogne et Noisy-le-Grand.<br />
Cette ligne du Grand Paris Express aurait dû être livrée avant les Jeux Olympiques, mais sa mise en service est désormais décalée fin 2026.<br />
Parigo vous explique tout et vous emmène en coulisses.</p>
<p>Abonnez-vous à notre chaîne YouTube :<br />
▶ <a href="https://www.youtube.com/user/France3Paris" target="_blank" rel="noopener noreferrer">https://www.youtube.com/user/France3Paris</a></p>
<p>Retrouvez-nous sur nos sites :<br />
▶ Replays : <a href="http://france.tv/idf" target="_blank" rel="noopener noreferrer">france.tv/idf</a><br />
<a href="https://www.france.tv/france-3/paris-ile-de-france/" target="_blank" rel="noopener noreferrer">https://www.france.tv/france-3/paris-ile-de-france/</a></p>
<p>▶ Info :  <a href="http://idf.france3.fr" target="_blank" rel="noopener noreferrer">idf.france3.fr</a><br />
<a href="http://france3-regions.francetvinfo.fr/paris-ile-de-france/" target="_blank" rel="noopener noreferrer">http://france3-regions.francetvinfo.fr/paris-ile-de-france/</a></p>
<p>Sur Instagram :<br />
▶ <a href="https://www.instagram.com/france3paris/" target="_blank" rel="noopener noreferrer">https://www.instagram.com/france3paris/</a></p>
<p>Sur Facebook :<br />
▶ <a href="https://www.facebook.com/france3paris" target="_blank" rel="noopener noreferrer">https://www.facebook.com/france3paris</a></p>
<p>Sur X :<br />
▶ <a href="https://x.com/france3_paris" target="_blank" rel="noopener noreferrer">https://x.com/france3_paris</a></p>
<p>Sur TikTok<br />
▶  <a href="https://www.tiktok.com/@france3paris_idf" target="_blank" rel="noopener noreferrer">https://www.tiktok.com/@france3paris_idf</a></p>
]]></content:encoded>
            <dc:creator>Parigo</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="158528673" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/f4954917-bede-4541-b907-a06122339dab?videoFileIds=5445112"/>
            <media:community>
                <media:statistics views="2"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/wcJ6J3za6DnqjZcQYeBHt2"/>
            <media:player url="https://peertube2.cpy.re/w/wcJ6J3za6DnqjZcQYeBHt2"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/fba82ea2-7029-44f1-853c-e0275ce1146b-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/cb8875ae-d3b2-45fd-9f4b-9e7c9e161322-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/60a4a851-c077-4d99-b3ca-ddc01a0eb4ca-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/8dbd0188-c259-4c9d-8087-90df2e4ac764-360-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="158528673" url="https://tube.anjara.eu/static/streaming-playlists/hls/f4954917-bede-4541-b907-a06122339dab/02d19db6-7141-4730-90b0-2c077911ea65-1080-fragmented.mp4" framerate="25" duration="839" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="121401075" url="https://tube.anjara.eu/static/streaming-playlists/hls/f4954917-bede-4541-b907-a06122339dab/2c6262a2-cf08-42ea-bd0b-dbe0f1cc54c7-720-fragmented.mp4" framerate="25" duration="839" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="75689407" url="https://tube.anjara.eu/static/streaming-playlists/hls/f4954917-bede-4541-b907-a06122339dab/fde6d5ba-e1a9-4465-9247-b43ea95b8acf-480-fragmented.mp4" framerate="25" duration="839" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="360" fileSize="56013302" url="https://tube.anjara.eu/static/streaming-playlists/hls/f4954917-bede-4541-b907-a06122339dab/feef14b7-4c66-480c-bd58-f4c8c4d10e36-360-fragmented.mp4" framerate="25" duration="839" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/6022e402-090a-42c9-b314-76d7a7faf1ed.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/158057c3-2fac-447c-9a18-febc1a5d9b22.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Parigo #263 - Grand Paris Express : la 15 sud se fait attendre</media:title>
            <media:description type="plain">La ligne 15 sud, ce sont 16 gares, 37 km de voies et une multitude de correspondances destinées à faciliter les trajets de banlieue à banlieue, entre Boulogne et Noisy-le-Grand. Cette ligne du Grand Paris Express aurait dû être livrée avant les Je...</media:description>
        </item>
        <item>
            <title><![CDATA[announcement_scitech]]></title>
            <link>https://peertube2.cpy.re/w/uKs3oEpogG6tvAGPSFrNMs</link>
            <guid>https://peertube2.cpy.re/w/uKs3oEpogG6tvAGPSFrNMs</guid>
            <pubDate>Mon, 17 Mar 2025 07:50:06 GMT</pubDate>
            <description><![CDATA[With this video I say goodbye to Tom and this scitech.video instance he hosted for six years now 🤝. Find me on https://makertube.net/c/cnc_corner/videos where I'll upload my content to in the future. All the best Schallbert]]></description>
            <content:encoded><![CDATA[<p>With this video I say goodbye to Tom and this scitech.video instance he hosted for six years now 🤝.</p>
<p>Find me on <a href="https://makertube.net/c/cnc_corner/videos" target="_blank" rel="noopener noreferrer">https://makertube.net/c/cnc_corner/videos</a> where I'll upload my content to in the future.</p>
<p>All the best<br />
<em>Schallbert</em></p>
]]></content:encoded>
            <dc:creator>Schallbert's Tech Shack</dc:creator>
            <category>Science &amp; Technology</category>
            <enclosure length="10493592" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/e8d0e9be-63d1-4c25-ae4b-dd17dc4c7d1c?videoFileIds=5445108"/>
            <media:community>
                <media:statistics views="2"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/uKs3oEpogG6tvAGPSFrNMs"/>
            <media:player url="https://peertube2.cpy.re/w/uKs3oEpogG6tvAGPSFrNMs"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/0f3ff43d-d4e7-4906-a645-7fcab566bf1e-894.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/2fffedbb-624e-45da-a15a-5dbb49fc058b-720.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/13110861-9674-4da9-b3f7-9bba6abd4115-480.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/ed9a29c0-7c48-4d34-8fad-61ee5a4b37f0-240.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="894" fileSize="10493592" url="https://scitech.video/static/webseed/05211ad9-33f0-4aa5-8858-5458404ddd1e-894.mp4" framerate="10" duration="98" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="7680660" url="https://scitech.video/static/webseed/14c145fb-159c-4b63-8e9d-21ee44159dbb-720.mp4" framerate="10" duration="98" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="5043617" url="https://scitech.video/static/webseed/5efef4c0-741e-4ca3-8548-ae1a4d70c8c0-480.mp4" framerate="10" duration="98" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="3016633" url="https://scitech.video/static/webseed/1e256b0a-2342-45f7-afe5-2489fd6122ae-240.mp4" framerate="10" duration="98" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/b5d741ad-345f-426e-bc75-490d7d42ebbc.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/72da48f5-346b-4765-a316-3cbe64722d65.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">announcement_scitech</media:title>
            <media:description type="plain">With this video I say goodbye to Tom and this scitech.video instance he hosted for six years now 🤝. Find me on https://makertube.net/c/cnc_corner/videos where I'll upload my content to in the future. All the best Schallbert</media:description>
        </item>
        <item>
            <title><![CDATA[Toute petite cour]]></title>
            <link>https://peertube2.cpy.re/w/fbKNMNdVqGvMUyDx4LicR2</link>
            <guid>https://peertube2.cpy.re/w/fbKNMNdVqGvMUyDx4LicR2</guid>
            <pubDate>Mon, 17 Mar 2025 07:14:00 GMT</pubDate>
            <description><![CDATA[Une minuscule cour d'immeuble en centre-ville à Saint-Étienne. Sans voiture, sans poubelle non plus - ce qui est beaucoup plus rare -, proprette, elle montre, comme souvent, une grande diversité de matières, de passages, d'histoires, de matériaux,...]]></description>
            <content:encoded><![CDATA[<p>Une minuscule cour d'immeuble en centre-ville à Saint-Étienne. Sans voiture, sans poubelle non plus - ce qui est beaucoup plus rare -, proprette, elle montre, comme souvent, une grande diversité de matières, de passages, d'histoires, de matériaux, de fonctions - ici, surtout refroidisseurs de climatiseurs.</p>
]]></content:encoded>
            <dc:creator>Petits paysages</dc:creator>
            <category>Travels</category>
            <enclosure length="168506679" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/72e06033-ae56-4f10-96b6-c297cafce22f?videoFileIds=5445103"/>
            <media:community>
                <media:statistics views="2"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/fbKNMNdVqGvMUyDx4LicR2"/>
            <media:player url="https://peertube2.cpy.re/w/fbKNMNdVqGvMUyDx4LicR2"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/5129ceac-46b3-4f94-8d02-b4a0da6dfb1a-1920-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/e2b13c2e-d6c8-410a-98ce-23ac0837a316-1280-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/2b98f99a-7642-42a8-a981-54e1f5b6f8d5-854-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/0879f528-8905-4381-8635-5a9931bd90f8-426-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/1a907089-f61d-4b81-8565-b1630f8d314c-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1920" fileSize="168506679" url="https://static.indymotion.fr/streaming-playlists/hls/72e06033-ae56-4f10-96b6-c297cafce22f/63275788-5bd0-4c11-9d79-96c420e65dce-1080-fragmented.mp4" framerate="30" duration="260" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="1280" fileSize="78056158" url="https://static.indymotion.fr/streaming-playlists/hls/72e06033-ae56-4f10-96b6-c297cafce22f/d356a14a-931e-4d6e-a124-1cb757bab0df-720-fragmented.mp4" framerate="30" duration="260" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="854" fileSize="38591941" url="https://static.indymotion.fr/streaming-playlists/hls/72e06033-ae56-4f10-96b6-c297cafce22f/59e2de1a-fe6b-44b8-85f5-289d33934e08-480-fragmented.mp4" framerate="30" duration="260" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="426" fileSize="13815054" url="https://static.indymotion.fr/streaming-playlists/hls/72e06033-ae56-4f10-96b6-c297cafce22f/e8ded807-0c5d-4e52-879a-412c3e802d66-240-fragmented.mp4" framerate="30" duration="260" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="4201774" url="https://static.indymotion.fr/streaming-playlists/hls/72e06033-ae56-4f10-96b6-c297cafce22f/b2314d03-daf5-4324-9e5a-bbb98feda6ee-0-fragmented.mp4" framerate="0" duration="260" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/171e5c02-b92a-4ca3-8e53-2ad53b6b64bd.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/95ca2245-411b-4864-803b-35a6b26237e8.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Toute petite cour</media:title>
            <media:description type="plain">Une minuscule cour d'immeuble en centre-ville à Saint-Étienne. Sans voiture, sans poubelle non plus - ce qui est beaucoup plus rare -, proprette, elle montre, comme souvent, une grande diversité de matières, de passages, d'histoires, de matériaux,...</media:description>
        </item>
        <item>
            <title><![CDATA[S12 E05: Mahmoud Khalil & Sports Betting: 3/16/25: Last Week Tonight with John Oliver]]></title>
            <link>https://peertube2.cpy.re/w/xyhM3k5U21wvMvQSJf9snE</link>
            <guid>https://peertube2.cpy.re/w/xyhM3k5U21wvMvQSJf9snE</guid>
            <pubDate>Mon, 17 Mar 2025 05:12:22 GMT</pubDate>
            <description><![CDATA[John Oliver discusses the arrest of Mahmoud Khalil, the continued firing of federal workers, the world of sports betting, and what John likes to read in his spare time. You’ll see. Connect with Last Week Tonight online... Subscribe to the Last ...]]></description>
            <content:encoded><![CDATA[<p>John Oliver discusses the arrest of Mahmoud Khalil, the continued firing of federal workers, the world of sports betting, and what John likes to read in his spare time. You’ll see.</p>
<p>Connect with Last Week Tonight online...</p>
<p>Subscribe to the Last Week Tonight YouTube channel for more almost news as it almost happens: <a href="http://www.youtube.com/lastweektonight" target="_blank" rel="noopener noreferrer">www.youtube.com/lastweektonight</a></p>
<p>Find Last Week Tonight on Facebook like your mom would: <a href="http://www.facebook.com/lastweektonight" target="_blank" rel="noopener noreferrer">www.facebook.com/lastweektonight</a></p>
<p>Follow us on Twitter for news about jokes and jokes about news: <a href="http://www.twitter.com/lastweektonight" target="_blank" rel="noopener noreferrer">www.twitter.com/lastweektonight</a></p>
<p>Visit our official site for all that other stuff at once: <a href="http://www.hbo.com/lastweektonight" target="_blank" rel="noopener noreferrer">www.hbo.com/lastweektonight</a></p>
]]></content:encoded>
            <dc:creator>LastWeekTonight (unofficial mirror)</dc:creator>
            <category>Entertainment</category>
            <enclosure length="513745208" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/ff8d7021-fdc0-4481-bf30-037514967270?videoFileIds=5445094"/>
            <media:community>
                <media:statistics views="35"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/xyhM3k5U21wvMvQSJf9snE"/>
            <media:player url="https://peertube2.cpy.re/w/xyhM3k5U21wvMvQSJf9snE"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/e0e321bc-fd4b-4020-9479-8d9651854163-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/e5f51ff3-9866-47f7-af3d-aea2a20ac9f9-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/9341ec6a-b200-4e02-8859-b4d1dafac42e-480-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="513745208" url="https://tube.fede.re/static/streaming-playlists/hls/ff8d7021-fdc0-4481-bf30-037514967270/1fa02728-f62a-4448-ab77-c36e92363e8c-1080-fragmented.mp4" framerate="30" duration="2616" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="305703806" url="https://tube.fede.re/static/streaming-playlists/hls/ff8d7021-fdc0-4481-bf30-037514967270/294f10a9-5634-40d7-af0a-8c74f1895192-720-fragmented.mp4" framerate="30" duration="2616" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="188580510" url="https://tube.fede.re/static/streaming-playlists/hls/ff8d7021-fdc0-4481-bf30-037514967270/b4b45f35-8ddc-43b2-9e6c-2a68bd27be0d-480-fragmented.mp4" framerate="30" duration="2616" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/d1473b43-c7f4-4e92-8531-e89741a03613.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/cd87fdb6-f124-464a-9cf1-01644ee5c7c7.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">S12 E05: Mahmoud Khalil &amp; Sports Betting: 3/16/25: Last Week Tonight with John Oliver</media:title>
            <media:description type="plain">John Oliver discusses the arrest of Mahmoud Khalil, the continued firing of federal workers, the world of sports betting, and what John likes to read in his spare time. You’ll see. Connect with Last Week Tonight online... Subscribe to the Last ...</media:description>
        </item>
        <item>
            <title><![CDATA[Syrie : enquête sur les fosses communes de Bachar Al-Assad #enquêtevidéo #shorts]]></title>
            <link>https://peertube2.cpy.re/w/2Sz5eyGmyMj51KptBbQwJZ</link>
            <guid>https://peertube2.cpy.re/w/2Sz5eyGmyMj51KptBbQwJZ</guid>
            <pubDate>Sun, 16 Mar 2025 21:01:32 GMT</pubDate>
            <description><![CDATA[Dans les jours et semaines qui ont suivi la chute du dictateur Bachar Al-Assad, des centaines de Syriens ont ouvert les portes des infrastructures répressives de l’État. Dans les prisons et hôpitaux de l’appareil militaire, ils ont découvert ce qu...]]></description>
            <content:encoded><![CDATA[<p>Dans les jours et semaines qui ont suivi la chute du dictateur Bachar Al-Assad, des centaines de Syriens ont ouvert les portes des infrastructures répressives de l’État. Dans les prisons et hôpitaux de l’appareil militaire, ils ont découvert ce que de nombreux témoins avaient déjà décrit : une machine à emprisonner, torturer et tuer rebelles et opposants par milliers.<br />
Pour le régime, c’est autant de corps qu’il a fallu enterrer. Plusieurs fosses communes ont été creusées à travers le pays. C’est ce que montrent des dizaines de vidéos authentifiées et géolocalisées par « Le Monde ». Filmées par témoins et journalistes, elles montrent des restes humains exhumés de longues tranchées ou de plus petits charniers à travers le pays, le plus souvent à proximité de bases militaires de l’armée syrienne.<br />
Ces découvertes alimentent l’espoir des familles de retrouver leurs proches disparus, mais génèrent aussi des complications : les sites sont fouillés par les personnes qui les trouvent, et les ossements sont parfois manipulés, déplacés voire mélangés, ce qui compromet leur intégrité en tant que preuves.</p>

<p>✅ Pour comprendre l'actualité, abonnez-vous à la chaîne YouTube du Monde (et activez la cloche pour les notifications 🔔 !) 👉<a href="http://www.youtube.com/subscription_center?add_user=LeMonde" target="_blank" rel="noopener noreferrer">http://www.youtube.com/subscription_center?add_user=LeMonde</a></p>
]]></content:encoded>
            <dc:creator>Main lemonde channel</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="13864719" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/0f28b588-d0ea-4e68-a6f6-e6abd32a2835?videoFileIds=5445080"/>
            <media:community>
                <media:statistics views="6"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/2Sz5eyGmyMj51KptBbQwJZ"/>
            <media:player url="https://peertube2.cpy.re/w/2Sz5eyGmyMj51KptBbQwJZ"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/e06da778-340c-41e9-9d7d-204816386743-480-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="13864719" url="https://tube.fede.re/static/streaming-playlists/hls/0f28b588-d0ea-4e68-a6f6-e6abd32a2835/d5e08dd9-8ddd-4bd1-bca5-3e9798e3e6ad-480-fragmented.mp4" framerate="25" duration="121" isDefault="true"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/785d6bb7-d361-4f38-9893-e2fb520eb699.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/df6ad6c0-1d5c-445d-b769-d4a6a1f5243e.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Syrie : enquête sur les fosses communes de Bachar Al-Assad #enquêtevidéo #shorts</media:title>
            <media:description type="plain">Dans les jours et semaines qui ont suivi la chute du dictateur Bachar Al-Assad, des centaines de Syriens ont ouvert les portes des infrastructures répressives de l’État. Dans les prisons et hôpitaux de l’appareil militaire, ils ont découvert ce qu...</media:description>
        </item>
        <item>
            <title><![CDATA[RADIO GARAP Episode 11 (Trump ou la sauvagerie capitaliste aux commandes - février 2025)]]></title>
            <link>https://peertube2.cpy.re/w/fmjtbcUhwuCN6L68hZsofE</link>
            <guid>https://peertube2.cpy.re/w/fmjtbcUhwuCN6L68hZsofE</guid>
            <pubDate>Sun, 16 Mar 2025 20:37:12 GMT</pubDate>
            <description><![CDATA[Emission enregistrée le 2 février 2025 00:00:00 Générique 00:00:25 Présentation de l'émission, l'avènement au pouvoir de Trump et son gang 00:06:58 La généalogie du trumpisme, la crise de 2008 et ses conséquences 00:20:32 Pause musicale : Patrick...]]></description>
            <content:encoded><![CDATA[<p>Emission enregistrée le 2 février 2025</p>
<p>00:00:00 Générique<br />
00:00:25 Présentation de l'émission, l'avènement au pouvoir de Trump et son gang<br />
00:06:58 La généalogie du trumpisme, la crise de 2008 et ses conséquences<br />
00:20:32 Pause musicale : Patrick Juvet - I love America<br />
00:24:10 La généalogie du trumpisme, l'après Obama et la défaite du Parti Démocrate<br />
00:35:11 La polarisation anti-Trump par la gauche et la crise du covid<br />
00:42:23 Pause musicale : Leadbelly - Mr Hitler<br />
00:46:50 L'hypocrisie d'Elon Musk et la croissance verte<br />
01:00:17 L'impérialisme a de beaux jours devant lui<br />
01:04:18 Pause musicale : Gil Scott-Heron &amp; Brian Jackson - Delta Man<br />
01:09:18 Le rôle de Trump pour sauver le capital américain face à la concurrence chinoise<br />
01:24:01 Les premières mesures de Trump au pouvoir et la politique spectacle<br />
01:40:21 Pause musicale : The Guillotine - The coup<br />
01:45:00 Une politique de dérèglementation pour attirer les capitaux<br />
01:49:35 La réceptivité du trumpisme en France et les rapports de classes<br />
01:54:03 L'Union Européenne face à Trump et les droits de douanes<br />
02:00:02 La question militaire et la dissuasion nucléaire<br />
02:05:39 L'avenir fantasmé des milliardaires et les limites mortifères du capital<br />
02:14:21 Socialisme ou barbarie</p>
<p>Pour nous contacter:<br />
<a target="_blank" rel="noopener noreferrer">contact.garap@protonmail.com</a></p>
<p>Voir aussi :<br />
Le capitalisme de l'apocalypse : quand les milliardaires défient la démocratie<br />
<a href="https://www.youtube.com/watch?v=WKYooZEIBvU" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=WKYooZEIBvU</a></p>
<p>Noam Chomsky on RussiaGate<br />
<a href="https://www.youtube.com/watch?v=2vVXlLgifxQ&amp;ab_channel=PrimoRadical" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=2vVXlLgifxQ&amp;ab_channel=PrimoRadical</a></p>
<p>Trump, Musk et les milliardaires : pourquoi c'est bien pire que ce qu'on imaginait<br />
<a href="https://www.youtube.com/watch?v=ce1-63wUlc0" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=ce1-63wUlc0</a></p>
<p>Musk, Trump, etc.: la révolution technofasciste<br />
<a href="https://www.youtube.com/watch?v=slNlQKG1qss&amp;ab_channel=BLAST%2CLesouffledel%27info" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=slNlQKG1qss&amp;ab_channel=BLAST%2CLesouffledel'info</a></p>
<p>Gaza: les gourous de la Silicon Valley derrière le projet fou de Trump<br />
<a href="https://www.youtube.com/watch?v=Cckdcz6LbjI&amp;ab_channel=LeM%C3%A9dia" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=Cckdcz6LbjI&amp;ab_channel=LeMédia</a></p>
<p>Quoi qu'il en coûte - Tom Thomas<br />
<a href="https://www.youtube.com/watch?v=3Zl3Z_NYp5Y&amp;ab_channel=%C3%89ditionsCritiques" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=3Zl3Z_NYp5Y&amp;ab_channel=ÉditionsCritiques</a></p>
<p>Chine/Etats-unis: le capitalisme contre la mondialisation - Benjamin Bürbaumer<br />
<a href="https://www.youtube.com/watch?v=KBitur3cg4o" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=KBitur3cg4o</a></p>
<p>La Chine remet en cause la mondialisation sous supervision américaine qui lui a donné sa puissance<br />
<a href="https://www.youtube.com/watch?v=ZFqhfF0Yr1A" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=ZFqhfF0Yr1A</a></p>
<p>Bernard Arnault se lâche lors de son discours de présentation des résultats annuels 2024 de LVMH<br />
<a href="https://mastodon.social/@paul_denton/113910242752949559" target="_blank" rel="noopener noreferrer">https://mastodon.social/@paul_denton/113910242752949559</a></p>
<p>Les nazis n'ont pas pris le pouvoir, on leur a donné<br />
<a href="https://www.youtube.com/watch?v=b2XytnxW5x8" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=b2XytnxW5x8</a></p>
<p>Du nazisme zombie - Johann Chapoutot<br />
<a href="https://www.youtube.com/watch?v=RDioThIzv5M&amp;ab_channel=lundimatin" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=RDioThIzv5M&amp;ab_channel=lundimatin</a></p>
]]></content:encoded>
            <dc:creator>GARAP TV</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="806981521" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/743632c3-0cd8-4295-a28e-078ac259754a?videoFileIds=5445076"/>
            <media:community>
                <media:statistics views="4"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/fmjtbcUhwuCN6L68hZsofE"/>
            <media:player url="https://peertube2.cpy.re/w/fmjtbcUhwuCN6L68hZsofE"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/bbe62c1e-f432-43ed-a0ff-8303c2b26bc7-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/66abbcff-37d3-4ffd-89d7-ee0c152829d1-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/6ac75c75-0fe9-44c7-96d2-af1c9ee103e0-240-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/9c91bac3-84b9-486b-b3ab-273dea81afbe-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="806981521" url="https://static.indymotion.fr/streaming-playlists/hls/743632c3-0cd8-4295-a28e-078ac259754a/e459250d-c89f-476c-9dec-05ac63f4ace6-720-fragmented.mp4" framerate="30" duration="8353" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="571926251" url="https://static.indymotion.fr/streaming-playlists/hls/743632c3-0cd8-4295-a28e-078ac259754a/8f3f7eb3-5801-4498-ac21-5b95cd093b15-480-fragmented.mp4" framerate="30" duration="8353" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="313749360" url="https://static.indymotion.fr/streaming-playlists/hls/743632c3-0cd8-4295-a28e-078ac259754a/8a1ea2a9-5e77-4cff-9bbe-07c3415626dc-240-fragmented.mp4" framerate="30" duration="8353" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="134737221" url="https://static.indymotion.fr/streaming-playlists/hls/743632c3-0cd8-4295-a28e-078ac259754a/16b23c3d-b4fd-4335-b481-503105c3674c-0-fragmented.mp4" framerate="0" duration="8353" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/fe049c2d-3775-4f45-a3a4-5a58e2a661cc.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/000791f7-ac3b-4db9-91f5-daf3b2df8c13.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">RADIO GARAP Episode 11 (Trump ou la sauvagerie capitaliste aux commandes - février 2025)</media:title>
            <media:description type="plain">Emission enregistrée le 2 février 2025 00:00:00 Générique 00:00:25 Présentation de l'émission, l'avènement au pouvoir de Trump et son gang 00:06:58 La généalogie du trumpisme, la crise de 2008 et ses conséquences 00:20:32 Pause musicale : Patrick...</media:description>
        </item>
        <item>
            <title><![CDATA[RADIO GARAP Episode 8 (sur la réforme des retraites, les émeutes et la guerre - août 2023)]]></title>
            <link>https://peertube2.cpy.re/w/jWRz38JzVzJEvwGq9Yskcr</link>
            <guid>https://peertube2.cpy.re/w/jWRz38JzVzJEvwGq9Yskcr</guid>
            <pubDate>Sun, 16 Mar 2025 20:33:49 GMT</pubDate>
            <description><![CDATA[Emission enregistrée le 6 août 2023 00:00:00 Présentation 00:01:30 Situation économique générale 00:07:10 La bataille contre la réforme des retraites 00:14:58 La stratégie de l'intersyndicale 00:30:55 Les différents secteurs en grève 00:35:21 La ...]]></description>
            <content:encoded><![CDATA[<p>Emission enregistrée le 6 août 2023</p>
<p>00:00:00 Présentation<br />
00:01:30 Situation économique générale<br />
00:07:10 La bataille contre la réforme des retraites<br />
00:14:58 La stratégie de l'intersyndicale<br />
00:30:55 Les différents secteurs en grève<br />
00:35:21 La grève parcellaire au lieu de la grève générale illimitée<br />
00:39:20 Les assemblées générales décisionnelles<br />
00:42:55 Le spectacle de la gauche institutionnelle<br />
00:48:50 La loi dans le droit bourgeois<br />
00:51:15 La volonté d'en découdre<br />
00:57:55 A propos du syndicalisme<br />
01:00:30 La jeunesse dans la lutte et les manifestations sauvages suite au 49.3<br />
01:06:10 Une bavure de plus<br />
01:07:48 Des émeutes partout<br />
01:09:22 La répression massive<br />
01:13:12 L'unité politicienne contre les émeutiers<br />
01:15:20 Le rôle des forces répressives<br />
01:17:38 Pause musicale La Canaille "Le soulèvement aura lieu"<br />
01:21:17 Les émeutiers<br />
01:27:56 Le moralisme bourgeois et la décomposition sociale<br />
01:33:15 L'extrême-droite, la crise du régime et la crise de l'état<br />
01:42:00 La guerre<br />
01:46:20 La restructuration de l'économie<br />
01:54:10 La loi de programmation militaire<br />
01:59:08 La notion d'impérialisme<br />
02:06:01 La lutte des classes</p>
]]></content:encoded>
            <dc:creator>GARAP TV</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="520786909" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/996d3533-1a24-46bd-9b74-d8a229cd2ed3?videoFileIds=5445071"/>
            <media:community>
                <media:statistics views="1"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/jWRz38JzVzJEvwGq9Yskcr"/>
            <media:player url="https://peertube2.cpy.re/w/jWRz38JzVzJEvwGq9Yskcr"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/bee141b3-2729-458e-8f21-c70d78a3408e-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/59c3da1d-8e22-4b94-a9e5-18a2d8f1f896-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/cec61611-9764-40e9-ad7f-eba85274f0fa-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/a865ec3c-7fdf-48aa-8270-8793a1652363-240-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/78ae4963-fd6e-464c-926e-e557fe416e21-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="520786909" url="https://static.indymotion.fr/streaming-playlists/hls/996d3533-1a24-46bd-9b74-d8a229cd2ed3/ca7cd94b-a4b1-4a93-9cbe-3aefb34cebfa-1080-fragmented.mp4" framerate="30" duration="7733" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="408528520" url="https://static.indymotion.fr/streaming-playlists/hls/996d3533-1a24-46bd-9b74-d8a229cd2ed3/888e0f5a-2e4c-4464-9071-b64f0b465015-720-fragmented.mp4" framerate="30" duration="7733" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="318939644" url="https://static.indymotion.fr/streaming-playlists/hls/996d3533-1a24-46bd-9b74-d8a229cd2ed3/64f67ef2-b178-42a7-93be-b7c4c3927e73-480-fragmented.mp4" framerate="30" duration="7733" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="198133641" url="https://static.indymotion.fr/streaming-playlists/hls/996d3533-1a24-46bd-9b74-d8a229cd2ed3/6f0cb360-880f-48e7-a5ee-eb00fcb99a28-240-fragmented.mp4" framerate="30" duration="7733" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="126652661" url="https://static.indymotion.fr/streaming-playlists/hls/996d3533-1a24-46bd-9b74-d8a229cd2ed3/3f62bc44-cdaf-47e8-9a27-79c30be18e82-0-fragmented.mp4" framerate="0" duration="7733" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/bc9ff0da-e7d1-4232-91a1-8164c70d97e6.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/c143b6ea-79f0-4d80-8fef-04bfd981116d.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">RADIO GARAP Episode 8 (sur la réforme des retraites, les émeutes et la guerre - août 2023)</media:title>
            <media:description type="plain">Emission enregistrée le 6 août 2023 00:00:00 Présentation 00:01:30 Situation économique générale 00:07:10 La bataille contre la réforme des retraites 00:14:58 La stratégie de l'intersyndicale 00:30:55 Les différents secteurs en grève 00:35:21 La ...</media:description>
        </item>
        <item>
            <title><![CDATA[RADIO GARAP Episode 10 (sept ans de macro-lepénisme: bilan & perspectives - octobre 2024)]]></title>
            <link>https://peertube2.cpy.re/w/pLCko2NBGGbZYe1btqmc8x</link>
            <guid>https://peertube2.cpy.re/w/pLCko2NBGGbZYe1btqmc8x</guid>
            <pubDate>Sun, 16 Mar 2025 20:24:46 GMT</pubDate>
            <description><![CDATA[Emission enregistrée le 27 octobre 2024 00:00:20 Présentation 00:01:16 La situation en France: des exploités souvent défaits mais toujours pugnaces 00:09:30 Le régime macroniste 00:15:25 Le soutien au régime de Kiev et à l'Etat sioniste 00:22:28...]]></description>
            <content:encoded><![CDATA[<p>Emission enregistrée le 27 octobre 2024</p>
<p>00:00:20 Présentation<br />
00:01:16 La situation en France: des exploités souvent défaits mais<br />
toujours pugnaces<br />
00:09:30 Le régime macroniste<br />
00:15:25 Le soutien au régime de Kiev et à l'Etat sioniste<br />
00:22:28 Retour sur la dictature sanitaire<br />
00:28:51 Pause musicale Jacques Brel "Au suivant"<br />
00:31:55 Les élections européennes<br />
00:34:55 Les élections législatives<br />
00:38:55 La gauche du capital<br />
00:42:02 La coalition des droites Renaissance-LR-RN<br />
00:44:50 Un gouvernement marqué à l'extrême-droite<br />
00:53:25 Un approfondissement de la crise politique<br />
00:55:40 L'austérité : retour sur l'exemple grec<br />
00:59:52 Pause musicale Remito/Dégâts Rap "Palais des horreurs 2"<br />
01:01:58 Retour sur l'exemple grec (suite): la gauche du capital là-bas et ici<br />
01:09:17 Le RN: béquille du Système<br />
01:13:43 La lutte des classes dans les colonies françaises<br />
01:24:34 L'impasse des luttes de libération nationale<br />
01:29:35 La lutte des classes dans les colonies françaises (suite)<br />
01:35:42 Conclusion</p>
<p>Pour nous contacter:<br />
<a target="_blank" rel="noopener noreferrer">contact.garap@protonmail.com</a></p>
<p><a href="http://GARAP.ORG" target="_blank" rel="noopener noreferrer">GARAP.ORG</a></p>
]]></content:encoded>
            <dc:creator>GARAP TV</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="451410780" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/c07d4e88-3ae3-4dc3-bd15-78d1afd6ae41?videoFileIds=5445066"/>
            <media:community>
                <media:statistics views="0"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/pLCko2NBGGbZYe1btqmc8x"/>
            <media:player url="https://peertube2.cpy.re/w/pLCko2NBGGbZYe1btqmc8x"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/52f72373-594c-4dc0-9e46-e4025c2a018e-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/82ca9b95-a06b-4c5c-bcf5-dd66e9fd6cdb-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/c609cd30-b6a9-4287-a044-7a5279fb1f73-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/5422ac8d-47a2-4eb5-861d-1fd47f260aa6-240-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/ee090e9e-59ef-476f-af2f-627cc55b86e4-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="451410780" url="https://static.indymotion.fr/streaming-playlists/hls/c07d4e88-3ae3-4dc3-bd15-78d1afd6ae41/bee42ac8-5b39-43f7-9628-faed292066a9-1080-fragmented.mp4" framerate="30" duration="5820" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="359790721" url="https://static.indymotion.fr/streaming-playlists/hls/c07d4e88-3ae3-4dc3-bd15-78d1afd6ae41/a40dedff-0da0-4683-b269-41133dc49997-720-fragmented.mp4" framerate="30" duration="5820" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="260291602" url="https://static.indymotion.fr/streaming-playlists/hls/c07d4e88-3ae3-4dc3-bd15-78d1afd6ae41/9b08e8da-29cc-420d-8cd8-6a1b54fc9ed8-480-fragmented.mp4" framerate="30" duration="5820" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="159322214" url="https://static.indymotion.fr/streaming-playlists/hls/c07d4e88-3ae3-4dc3-bd15-78d1afd6ae41/48b83aa8-1958-4272-829e-e84efb2d7e6d-240-fragmented.mp4" framerate="30" duration="5820" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="95095272" url="https://static.indymotion.fr/streaming-playlists/hls/c07d4e88-3ae3-4dc3-bd15-78d1afd6ae41/d5ec163a-7c91-423e-b88a-374174045450-0-fragmented.mp4" framerate="0" duration="5820" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/4dff733b-ab98-47d3-9b85-568414eeab58.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/d763ca9f-2c4c-4fda-9329-23bb48b9f5b2.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">RADIO GARAP Episode 10 (sept ans de macro-lepénisme: bilan &amp; perspectives - octobre 2024)</media:title>
            <media:description type="plain">Emission enregistrée le 27 octobre 2024 00:00:20 Présentation 00:01:16 La situation en France: des exploités souvent défaits mais toujours pugnaces 00:09:30 Le régime macroniste 00:15:25 Le soutien au régime de Kiev et à l'Etat sioniste 00:22:28...</media:description>
        </item>
        <item>
            <title><![CDATA[RADIO GARAP Episode 2 (sur la situation actuelle et la conscience de classe - octobre 2020)]]></title>
            <link>https://peertube2.cpy.re/w/bYL4MToch3Jvxrr6Upxhvf</link>
            <guid>https://peertube2.cpy.re/w/bYL4MToch3Jvxrr6Upxhvf</guid>
            <pubDate>Sun, 16 Mar 2025 20:18:03 GMT</pubDate>
            <description><![CDATA[Emission enregistrée le 25 octobre 2020 Radio Garap Episode 2 avec les invités : Alex de Matière et Révolution https://www.matierevolution.fr/, Mouss de Jeu de la Guerre https://www.youtube.com/channel/UCRNF9OYF80iApSiE1k37fIw, 00:00:00 Présen...]]></description>
            <content:encoded><![CDATA[<p>Emission enregistrée le 25 octobre 2020</p>
<p>Radio Garap Episode 2 avec les invités :</p>
<ul>
<li>Alex de Matière et Révolution <a href="https://www.matierevolution.fr/" target="_blank" rel="noopener noreferrer">https://www.matierevolution.fr/</a></li>
<li>Mouss de Jeu de la Guerre <a href="https://www.youtube.com/channel/UCRNF9OYF80iApSiE1k37fIw" target="_blank" rel="noopener noreferrer">https://www.youtube.com/channel/UCRNF9OYF80iApSiE1k37fIw</a></li>
</ul>
<p>00:00:00 Présentation<br />
00:04:30 Quels sont les grands traits de la situation actuelle ?<br />
00:05:09 Selon Alex de Matière et Révolution<br />
00:19:55 Selon Mouss de Jeu de la Guerre<br />
00:24:21 Point sur la situation sanitaire actuelle par le Garap<br />
00:37:33 L'épidémie comme prétexte: casser la mystification par le Garap<br />
00:42:34 Dévalorisation et perspectives de la bourgeoisie par le Garap<br />
00:52:20 Lecture par Mouss d'un extrait du livre de Cédric Durand: Techno-féodalisme, critique de l’économie numérique<br />
00:54:37 La crise du capitalisme par Alex de Matière et Révolution<br />
01:08:38 Le spectacle médiatique par Mouss de Jeu de la Guerre<br />
01:11:48 La guerre contre le prolétariat par le Garap<br />
01:16:34 A propos de la guerre contre l'islamisme par le Garap<br />
01:23:44 Critique de l'extrême-gauche et révolution par Alex de Matière et Révolution<br />
01:36:50 A propos du mouvement des Gilets Jaunes, de la conscience de classe, du fascisme et de la crise d'accumulation du capital par le Garap<br />
01:54:19 Sur les syndicats, la réforme des retraites et la conscience de classe par Alex de Matière et Révolution<br />
02:10:13 L'avenir du capitalisme et de la lutte de classe par Mouss de Jeu de la Guerre<br />
02:18:15 La théorie de Marx actualisée par le Garap<br />
02:31:57 A propos de l'impérialisme et de la dictature par le Garap<br />
02:38:49 Comprendre l'Histoire passée par Alex de Matière et Révolution<br />
02:46:28 Pause musicale: Dégâts Rap - Encore debout <a href="https://www.youtube.com/watch?v=tiN17gldssg" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=tiN17gldssg</a><br />
02:50:38 Pression et soumission du prolétariat, compréhension du capital par Mouss de Jeu de la Guerre<br />
02:55:03 La peur engendrée par la compréhension de la réalité par le Garap<br />
02:57:27 Les rapports de force par Mouss de Jeu de la Guerre<br />
02:59:10 Lecture et commentaires par Mouss d'un extrait du livre de Shoshana Zuboff: L'âge du capitalisme de surveillance<br />
03:04:45 Critique du capital automate et de Krisis par le Garap<br />
03:16:02 La question de la monnaie, les illusions sur la situation par le Garap<br />
03:22:30 Quelle est la logique actuelle du capital par Mouss de Jeu de la Guerre<br />
03:28:25 Le rapport à la connaissance selon la position sociale par le Garap<br />
03:33:20 La dette, le capitalisme vert et la bourgeoisie par le Garap<br />
03:41:30 Les conséquences des contradictions du capital par Mouss de Jeu de la Guerre<br />
03:44:01 A propos des complotismes et des sous-fascistes par le Garap<br />
03:49:20 La perspective prolétarienne, la nécessité de l'organisation du combat par le Garap<br />
03:55:10 Fin de l'émission</p>
]]></content:encoded>
            <dc:creator>GARAP TV</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="687809787" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/58e831a7-ba83-47e1-a47f-c9fc8afe7d68?videoFileIds=5445061"/>
            <media:community>
                <media:statistics views="0"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/bYL4MToch3Jvxrr6Upxhvf"/>
            <media:player url="https://peertube2.cpy.re/w/bYL4MToch3Jvxrr6Upxhvf"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/93690e64-3f5f-419e-bcbe-0facd240d2b8-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/f68311cf-2202-42f0-a879-4d52f46a8faf-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/3bc06dfc-0512-4198-bb4e-c6aa568725d8-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/6149c5f1-04b6-445f-91f8-e220863f4579-240-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/5c8a782b-8917-4315-918e-55e4873a6163-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="687809787" url="https://static.indymotion.fr/streaming-playlists/hls/58e831a7-ba83-47e1-a47f-c9fc8afe7d68/5b8998fb-66f6-44b3-b133-908b835a4fb4-1080-fragmented.mp4" framerate="30" duration="14156" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="521092187" url="https://static.indymotion.fr/streaming-playlists/hls/58e831a7-ba83-47e1-a47f-c9fc8afe7d68/5efef1ab-0be4-4fe4-baaa-8b7fd91d0a11-720-fragmented.mp4" framerate="30" duration="14156" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="416115680" url="https://static.indymotion.fr/streaming-playlists/hls/58e831a7-ba83-47e1-a47f-c9fc8afe7d68/2aafc7bc-c6ce-41e5-abd1-263828b2d7b9-480-fragmented.mp4" framerate="30" duration="14156" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="312890326" url="https://static.indymotion.fr/streaming-playlists/hls/58e831a7-ba83-47e1-a47f-c9fc8afe7d68/dafa899d-9165-48cc-ad35-8ea73cc295de-240-fragmented.mp4" framerate="30" duration="14156" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="230590912" url="https://static.indymotion.fr/streaming-playlists/hls/58e831a7-ba83-47e1-a47f-c9fc8afe7d68/3ef2c827-b2b3-47d4-9350-5292309ea308-0-fragmented.mp4" framerate="0" duration="14156" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/c95dec28-1c1b-4e26-9bd1-02b9c1c7eb22.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/bb9cb922-2564-4da8-afaa-30f078bff5b2.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">RADIO GARAP Episode 2 (sur la situation actuelle et la conscience de classe - octobre 2020)</media:title>
            <media:description type="plain">Emission enregistrée le 25 octobre 2020 Radio Garap Episode 2 avec les invités : Alex de Matière et Révolution https://www.matierevolution.fr/, Mouss de Jeu de la Guerre https://www.youtube.com/channel/UCRNF9OYF80iApSiE1k37fIw, 00:00:00 Présen...</media:description>
        </item>
        <item>
            <title><![CDATA[RADIO GARAP Episode 3 (dictature Covid - du capital de la mort à la mort du capital - novembre 2020)]]></title>
            <link>https://peertube2.cpy.re/w/x5A5XZGjUdmcC3jZu6VpYy</link>
            <guid>https://peertube2.cpy.re/w/x5A5XZGjUdmcC3jZu6VpYy</guid>
            <pubDate>Sun, 16 Mar 2025 19:55:43 GMT</pubDate>
            <description><![CDATA[Emission enregistrée le 14 novembre 2020 https://garap.org 00:00:00 Introduction 00:01:54 Les mensonges du gouvernement sur les questions sanitaires et médicales 00:24:16 La gestion à flux tendus dans les hôpitaux 00:32:10 Le recours au confineme...]]></description>
            <content:encoded><![CDATA[<p>Emission enregistrée le 14 novembre 2020<br />
<a href="https://garap.org" target="_blank" rel="noopener noreferrer">https://garap.org</a></p>
<p>00:00:00 Introduction<br />
00:01:54 Les mensonges du gouvernement sur les questions sanitaires et médicales<br />
00:24:16 La gestion à flux tendus dans les hôpitaux<br />
00:32:10 Le recours au confinement<br />
00:43:52 Le management, le totalitarisme et la guerre<br />
00:55:45 La distanciation sociale<br />
01:04:11 Le masque de la mort rouge d'Edgar Poe<br />
01:07:33 Les raisons de l'isolement<br />
01:17:48 Pause musicale: Rapaces &amp; SKX "Etat d'urgence"<br />
01:20:20 Chronologie des évènements depuis l'élection de Macron<br />
01:42:45 Les leçons politiques de la situation<br />
02:08:32 Homicide des morts d'Amadeo Bordiga<br />
02:12:32 La situation en Suisse<br />
02:25:18 La fétichisation du virus face au matérialisme historique<br />
02:33:27 La relation sensible au monde<br />
02:35:55 Pause musicale: Collectif Mary Read "Subversion contre surveillance"<br />
02:39:50 La crise du capital et ses contradictions<br />
02:47:57 Le capital avant la crise du coronavirus<br />
02:58:12 Le bourgeois est féroce<br />
03:01:22 La dévalorisation en cours et le système des apparences<br />
03:05:44 Les rôles de l'Etat<br />
03:07:45 La mise à l'arrêt des économies et la rupture des chaînes de valeur<br />
03:09:37 La guerre contre l'humanité<br />
03:18:55 Les grandes orientations de la bourgeoisie: réorganiser la production<br />
03:38:24 Ecarter les interprétations d'extrême-droite<br />
03:42:54 Le plan de relance de Castex devant le Medef<br />
03:50:48 Contrer la déshumanisation: de classe en soi en classe pour soi<br />
03:55:49 Pause musicale: Stravinsky "Le sacre du printemps"<br />
03:57:09 La complicité des médias et le complotisme<br />
04:12:35 L'armée des ombres de Joseph Kessel<br />
04:13:45 La Résistance dans la situation actuelle<br />
04:23:49 Fin de l'émission</p>
]]></content:encoded>
            <dc:creator>GARAP TV</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="1202110132" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/fbaf4790-2cb5-40a2-99f4-30d996b11b64?videoFileIds=5445056"/>
            <media:community>
                <media:statistics views="0"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/x5A5XZGjUdmcC3jZu6VpYy"/>
            <media:player url="https://peertube2.cpy.re/w/x5A5XZGjUdmcC3jZu6VpYy"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/2b08b2fb-c019-4c89-a720-aa085a935aee-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/afeaafdf-def4-4260-b7ba-1b42e29e33da-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/b82db055-45f0-435e-859d-1e2003960a79-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/99bb00b9-0911-4054-9983-03b180145f74-240-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/9636bf55-37e7-40d4-8407-1d16f6705492-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="1202110132" url="https://static.indymotion.fr/streaming-playlists/hls/fbaf4790-2cb5-40a2-99f4-30d996b11b64/b5424e79-db70-4daf-9f92-b63a0f5e1438-1080-fragmented.mp4" framerate="30" duration="15863" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="832918736" url="https://static.indymotion.fr/streaming-playlists/hls/fbaf4790-2cb5-40a2-99f4-30d996b11b64/57168133-351f-4842-9ed5-2ff32de929eb-720-fragmented.mp4" framerate="30" duration="15863" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="583100774" url="https://static.indymotion.fr/streaming-playlists/hls/fbaf4790-2cb5-40a2-99f4-30d996b11b64/1ce0ac66-51eb-4c42-aa33-ae23bac3f711-480-fragmented.mp4" framerate="30" duration="15863" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="378809625" url="https://static.indymotion.fr/streaming-playlists/hls/fbaf4790-2cb5-40a2-99f4-30d996b11b64/7ffac422-9353-4d59-958a-d73be487c2c2-240-fragmented.mp4" framerate="30" duration="15863" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="258406123" url="https://static.indymotion.fr/streaming-playlists/hls/fbaf4790-2cb5-40a2-99f4-30d996b11b64/bd19c7da-aeaf-4f84-8148-341e33aa3ce5-0-fragmented.mp4" framerate="0" duration="15863" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/eb0f6653-b99b-472b-baae-a886e86f50bf.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/da91bf3b-11e0-4645-9de6-592a47a0b064.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">RADIO GARAP Episode 3 (dictature Covid - du capital de la mort à la mort du capital - novembre 2020)</media:title>
            <media:description type="plain">Emission enregistrée le 14 novembre 2020 https://garap.org 00:00:00 Introduction 00:01:54 Les mensonges du gouvernement sur les questions sanitaires et médicales 00:24:16 La gestion à flux tendus dans les hôpitaux 00:32:10 Le recours au confineme...</media:description>
        </item>
        <item>
            <title><![CDATA[RADIO GARAP Episode 9 (Gaza, enfer capitaliste, cimetière nationaliste - février 2024)]]></title>
            <link>https://peertube2.cpy.re/w/7xVdTctPzFY7yoWjMFGkn2</link>
            <guid>https://peertube2.cpy.re/w/7xVdTctPzFY7yoWjMFGkn2</guid>
            <pubDate>Sun, 16 Mar 2025 19:51:04 GMT</pubDate>
            <description><![CDATA[Emission enregistrée le 11 février 2024 00:00:00 Présentation 00:01:02 Prologue: le 7 octobre et ses suites 00:39:52 Origines du problème: sionisme, nationalisme, colonialisme, antisémitisme, nazisme, impérialisme 01:38:54 Oy, Ir Narishe Tsionist...]]></description>
            <content:encoded><![CDATA[<p>Emission enregistrée le 11 février 2024</p>
<p>00:00:00 Présentation<br />
00:01:02 Prologue: le 7 octobre et ses suites<br />
00:39:52 Origines du problème: sionisme, nationalisme, colonialisme, antisémitisme, nazisme, impérialisme<br />
01:38:54 Oy, Ir Narishe Tsionistn - Oh, You Foolish Little Zionists (Yiddish Anti-Zionist Song)<br />
01:41:10 Notre position: anticampisme<br />
02:07:30 Conclusion: la faillite de l'idéologie identitaire et la nécessité plus grande que jamais d'un universalisme de classe et d'un internationalisme ouvrier</p>
<p>Pour nous contacter:<br />
<a target="_blank" rel="noopener noreferrer">contact.garap@protonmail.com</a></p>
<p><a href="http://GARAP.ORG" target="_blank" rel="noopener noreferrer">GARAP.ORG</a></p>
]]></content:encoded>
            <dc:creator>GARAP TV</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="277231713" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/350bb028-e904-480e-9295-b8b0457884bf?videoFileIds=5445051"/>
            <media:community>
                <media:statistics views="1"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/7xVdTctPzFY7yoWjMFGkn2"/>
            <media:player url="https://peertube2.cpy.re/w/7xVdTctPzFY7yoWjMFGkn2"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/26adc073-4d79-4c33-8147-cd213c2ec6fc-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/b2c89b20-dd53-481b-9ad0-99b27cf16888-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/043ba29d-64fe-4e63-9976-cea0e26523d0-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/c82637cd-9451-4a20-b0f3-b704164fd123-240-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/593b6ec1-30e3-4917-acc9-cb5e51968494-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="277231713" url="https://static.indymotion.fr/streaming-playlists/hls/350bb028-e904-480e-9295-b8b0457884bf/c8427a55-d060-40bc-a67b-3fe3eea5f5b8-1080-fragmented.mp4" framerate="30" duration="8858" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="236572667" url="https://static.indymotion.fr/streaming-playlists/hls/350bb028-e904-480e-9295-b8b0457884bf/59bcc770-f5e6-4147-8b4d-273937ec67dc-720-fragmented.mp4" framerate="30" duration="8858" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="208449573" url="https://static.indymotion.fr/streaming-playlists/hls/350bb028-e904-480e-9295-b8b0457884bf/bce56a77-225b-4205-b4ac-f58cf2969584-480-fragmented.mp4" framerate="30" duration="8858" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="175559788" url="https://static.indymotion.fr/streaming-playlists/hls/350bb028-e904-480e-9295-b8b0457884bf/af56025a-0b69-44dc-903c-4485a68702ac-240-fragmented.mp4" framerate="30" duration="8858" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="144511356" url="https://static.indymotion.fr/streaming-playlists/hls/350bb028-e904-480e-9295-b8b0457884bf/e9c19732-2391-449d-aee7-ca7d986bfec5-0-fragmented.mp4" framerate="0" duration="8858" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/2b56a7ea-65d8-49d0-b603-a2cdcfc2370f.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/d76f1770-9d75-4fa6-b24d-fc88c7b2d751.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">RADIO GARAP Episode 9 (Gaza, enfer capitaliste, cimetière nationaliste - février 2024)</media:title>
            <media:description type="plain">Emission enregistrée le 11 février 2024 00:00:00 Présentation 00:01:02 Prologue: le 7 octobre et ses suites 00:39:52 Origines du problème: sionisme, nationalisme, colonialisme, antisémitisme, nazisme, impérialisme 01:38:54 Oy, Ir Narishe Tsionist...</media:description>
        </item>
        <item>
            <title><![CDATA[RADIO GARAP Episode 6 (sur la guerre en Ukraine et les élections en France - mai 2022)]]></title>
            <link>https://peertube2.cpy.re/w/h8bPEhDnayPr8beCPztKFR</link>
            <guid>https://peertube2.cpy.re/w/h8bPEhDnayPr8beCPztKFR</guid>
            <pubDate>Sun, 16 Mar 2025 19:50:34 GMT</pubDate>
            <description><![CDATA[Emission enregistrée le 8 mai 2022 00:00:00 Présentation 00:02:17 Rappel historique 00:33:10 Musique Maknovtchina 00:37:24 La Russie et l'Europe 00:42:05 Le nationalisme ukrainien, le campisme et la gauche 01:05:30 Le cas Raphaël Gluksmann 01:15:...]]></description>
            <content:encoded><![CDATA[<p>Emission enregistrée le 8 mai 2022</p>
<p>00:00:00 Présentation<br />
00:02:17 Rappel historique<br />
00:33:10 Musique Maknovtchina<br />
00:37:24 La Russie et l'Europe<br />
00:42:05 Le nationalisme ukrainien, le campisme et la gauche<br />
01:05:30 Le cas Raphaël Gluksmann<br />
01:15:31 Les positions de l'extrême-droite française<br />
01:21:48 Musique Etnas "International"<br />
01:24:07 Le rôle du nationalisme et de l'extrême-droite en Ukraine<br />
01:54:18 La crise du capital et la troisième guerre mondiale<br />
02:06:33 La question énergétique<br />
02:14:16 Musique Maknovtchina<br />
02:16:55 Les sanctions contre la Russie<br />
02:21:57 Sur la dernière élection présidentielle<br />
02:48:46 Conclusion</p>
<p>"Petite précision : dans le feu de la démonstration nous avons parlé de la majorité des dirigeants nazis recyclés par le bloc de l'ouest, nous aurions dû parler d'un grand nombre de dirigeants nazis. Ajoutons par ailleurs que la phrase "Plus de dirigeants, plus d'Etat..." est tiré de la chanson "La vie s'écoule" de l'album "Pour en finir avec le travail" et non de la Makhnovtchina tiré du même album."</p>
]]></content:encoded>
            <dc:creator>GARAP TV</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="315539885" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/82931815-5603-4510-b2c7-847d50cf2d3b?videoFileIds=5445046"/>
            <media:community>
                <media:statistics views="0"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/h8bPEhDnayPr8beCPztKFR"/>
            <media:player url="https://peertube2.cpy.re/w/h8bPEhDnayPr8beCPztKFR"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/73865f00-f28a-450d-b1a2-ed04c76dc381-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/f7da6453-e848-41f1-89f8-0fecf41f3772-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/98fe9224-ea96-4210-9fda-909604d2d5cb-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/bea7d62d-3b35-4a87-a485-a4aba3ae9c53-240-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/5beb163a-47c3-461b-b239-0dbee9af35ac-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="315539885" url="https://static.indymotion.fr/streaming-playlists/hls/82931815-5603-4510-b2c7-847d50cf2d3b/38b49109-bc2c-4cfa-8e37-1f572e161416-1080-fragmented.mp4" framerate="30" duration="10581" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="274427022" url="https://static.indymotion.fr/streaming-playlists/hls/82931815-5603-4510-b2c7-847d50cf2d3b/be574960-4083-48e0-93f5-5be7fb4ee0d2-720-fragmented.mp4" framerate="30" duration="10581" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="246870611" url="https://static.indymotion.fr/streaming-playlists/hls/82931815-5603-4510-b2c7-847d50cf2d3b/437a16a6-fd41-4207-a5f4-f19a6a147fc0-480-fragmented.mp4" framerate="30" duration="10581" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="212378361" url="https://static.indymotion.fr/streaming-playlists/hls/82931815-5603-4510-b2c7-847d50cf2d3b/ae3a0b5a-8051-49d0-bf60-05327d683af7-240-fragmented.mp4" framerate="30" duration="10581" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="174769166" url="https://static.indymotion.fr/streaming-playlists/hls/82931815-5603-4510-b2c7-847d50cf2d3b/7d8e338a-36fd-4a31-b0fd-97406dbf7668-0-fragmented.mp4" framerate="0" duration="10581" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/a9b7edad-4b66-46ad-bd2d-94d927bc41b3.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/07528b26-fc56-4c85-93d7-f26dde3db813.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">RADIO GARAP Episode 6 (sur la guerre en Ukraine et les élections en France - mai 2022)</media:title>
            <media:description type="plain">Emission enregistrée le 8 mai 2022 00:00:00 Présentation 00:02:17 Rappel historique 00:33:10 Musique Maknovtchina 00:37:24 La Russie et l'Europe 00:42:05 Le nationalisme ukrainien, le campisme et la gauche 01:05:30 Le cas Raphaël Gluksmann 01:15:...</media:description>
        </item>
        <item>
            <title><![CDATA[#shorts - GARAP - Le trumpisme]]></title>
            <link>https://peertube2.cpy.re/w/dqBji5cSgY4waxKqyJPdC7</link>
            <guid>https://peertube2.cpy.re/w/dqBji5cSgY4waxKqyJPdC7</guid>
            <pubDate>Sun, 16 Mar 2025 19:49:14 GMT</pubDate>
            <description><![CDATA[#shorts https://garap.org https://www.instagram.com/saladetomateoignonslacrymos https://twitter.com/camarade_garap https://www.tiktok.com/@garap.officiel]]></description>
            <content:encoded><![CDATA[<p>#shorts<br />
<a href="https://garap.org" target="_blank" rel="noopener noreferrer">https://garap.org</a><br />
<a href="https://www.instagram.com/saladetomateoignonslacrymos" target="_blank" rel="noopener noreferrer">https://www.instagram.com/saladetomateoignonslacrymos</a><br />
<a href="https://twitter.com/camarade_garap" target="_blank" rel="noopener noreferrer">https://twitter.com/camarade_garap</a><br />
<a href="https://www.tiktok.com/@garap.officiel" target="_blank" rel="noopener noreferrer">https://www.tiktok.com/@garap.officiel</a></p>
]]></content:encoded>
            <dc:creator>GARAP TV</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="10446500" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/649d473e-b638-43e4-b203-3b1260323e56?videoFileIds=5445042"/>
            <media:community>
                <media:statistics views="2"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/dqBji5cSgY4waxKqyJPdC7"/>
            <media:player url="https://peertube2.cpy.re/w/dqBji5cSgY4waxKqyJPdC7"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/83319e1c-3ef8-4308-8c84-5d5719586ef0-1280-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/b24c52f2-60ef-4880-9307-0b4ef9c5f22d-854-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/fb7a9444-d741-48d6-8ba2-00ea0031527d-426-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/d831650f-e29e-4e62-a7ca-ac5dedde2aef-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1280" fileSize="10446500" url="https://static.indymotion.fr/streaming-playlists/hls/649d473e-b638-43e4-b203-3b1260323e56/d97f40ea-3e84-4fec-a75a-689988c59fd7-720-fragmented.mp4" framerate="60" duration="195" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="854" fileSize="7978928" url="https://static.indymotion.fr/streaming-playlists/hls/649d473e-b638-43e4-b203-3b1260323e56/2b9641fc-efab-451d-b59c-45961ef35a26-480-fragmented.mp4" framerate="30" duration="195" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="426" fileSize="5201865" url="https://static.indymotion.fr/streaming-playlists/hls/649d473e-b638-43e4-b203-3b1260323e56/b11a8679-7cd4-4e31-8f97-546478c6b0be-240-fragmented.mp4" framerate="30" duration="195" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="3204405" url="https://static.indymotion.fr/streaming-playlists/hls/649d473e-b638-43e4-b203-3b1260323e56/2d01c38d-e2e2-4109-8033-29d25166e7ec-0-fragmented.mp4" framerate="0" duration="195" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/94939c09-0b72-4757-a9b2-682095001cec.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/19c3c322-603e-40b7-8cc4-af978fcec22e.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">#shorts - GARAP - Le trumpisme</media:title>
            <media:description type="plain">#shorts https://garap.org https://www.instagram.com/saladetomateoignonslacrymos https://twitter.com/camarade_garap https://www.tiktok.com/@garap.officiel</media:description>
        </item>
        <item>
            <title><![CDATA[#shorts - GARAP - A bas les illusions]]></title>
            <link>https://peertube2.cpy.re/w/oi9anfZGCk9hukzPCuxYpw</link>
            <guid>https://peertube2.cpy.re/w/oi9anfZGCk9hukzPCuxYpw</guid>
            <pubDate>Sun, 16 Mar 2025 19:47:20 GMT</pubDate>
            <description><![CDATA[#shorts https://garap.org https://www.instagram.com/saladetomateoignonslacrymos https://twitter.com/camarade_garap https://www.tiktok.com/@garap.officiel]]></description>
            <content:encoded><![CDATA[<p>#shorts<br />
<a href="https://garap.org" target="_blank" rel="noopener noreferrer">https://garap.org</a><br />
<a href="https://www.instagram.com/saladetomateoignonslacrymos" target="_blank" rel="noopener noreferrer">https://www.instagram.com/saladetomateoignonslacrymos</a><br />
<a href="https://twitter.com/camarade_garap" target="_blank" rel="noopener noreferrer">https://twitter.com/camarade_garap</a><br />
<a href="https://www.tiktok.com/@garap.officiel" target="_blank" rel="noopener noreferrer">https://www.tiktok.com/@garap.officiel</a></p>
]]></content:encoded>
            <dc:creator>GARAP TV</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="20267480" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/b48db96c-3c99-4a53-b871-2bea0348a38c?videoFileIds=5445038"/>
            <media:community>
                <media:statistics views="1"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/oi9anfZGCk9hukzPCuxYpw"/>
            <media:player url="https://peertube2.cpy.re/w/oi9anfZGCk9hukzPCuxYpw"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/d0212b4e-ffca-411d-9df9-bcfc03a0b911-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/0c524f31-d6b4-4834-a478-bf265d153ca6-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/4234d61a-4db2-4ef4-ac54-27822947d713-240-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/b204eb89-2620-4b3d-9594-3df81c519f70-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="20267480" url="https://static.indymotion.fr/streaming-playlists/hls/b48db96c-3c99-4a53-b871-2bea0348a38c/d653d60f-cede-485a-85eb-3cbcbc2f96d7-720-fragmented.mp4" framerate="30" duration="97" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="13271464" url="https://static.indymotion.fr/streaming-playlists/hls/b48db96c-3c99-4a53-b871-2bea0348a38c/51bcf264-6983-4d34-97ba-ad5da0c6a49b-480-fragmented.mp4" framerate="30" duration="97" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="6287303" url="https://static.indymotion.fr/streaming-playlists/hls/b48db96c-3c99-4a53-b871-2bea0348a38c/42d59c32-6a3b-4626-9bcb-f831a2cd7e66-240-fragmented.mp4" framerate="30" duration="97" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="1667439" url="https://static.indymotion.fr/streaming-playlists/hls/b48db96c-3c99-4a53-b871-2bea0348a38c/eb09904a-22a2-40e3-9a8f-607e56bcf35b-0-fragmented.mp4" framerate="0" duration="97" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/76ba9bf4-e490-4937-8c3d-82c22e4f7122.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/8af98ad8-c0fa-4f2e-8a55-868ddf52adfa.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">#shorts - GARAP - A bas les illusions</media:title>
            <media:description type="plain">#shorts https://garap.org https://www.instagram.com/saladetomateoignonslacrymos https://twitter.com/camarade_garap https://www.tiktok.com/@garap.officiel</media:description>
        </item>
        <item>
            <title><![CDATA[#shorts - GARAP - La bourgeoisie française et la gauche identitaire]]></title>
            <link>https://peertube2.cpy.re/w/a2WP5afFgPBEcT2zrXBWJC</link>
            <guid>https://peertube2.cpy.re/w/a2WP5afFgPBEcT2zrXBWJC</guid>
            <pubDate>Sun, 16 Mar 2025 19:47:08 GMT</pubDate>
            <description><![CDATA[#shorts https://garap.org https://www.instagram.com/saladetomateoignonslacrymos https://twitter.com/camarade_garap https://www.tiktok.com/@garap.officiel]]></description>
            <content:encoded><![CDATA[<p>#shorts<br />
<a href="https://garap.org" target="_blank" rel="noopener noreferrer">https://garap.org</a><br />
<a href="https://www.instagram.com/saladetomateoignonslacrymos" target="_blank" rel="noopener noreferrer">https://www.instagram.com/saladetomateoignonslacrymos</a><br />
<a href="https://twitter.com/camarade_garap" target="_blank" rel="noopener noreferrer">https://twitter.com/camarade_garap</a><br />
<a href="https://www.tiktok.com/@garap.officiel" target="_blank" rel="noopener noreferrer">https://www.tiktok.com/@garap.officiel</a></p>
]]></content:encoded>
            <dc:creator>GARAP TV</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="24251052" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/4927c542-92a6-46a4-83be-2d4ec5243788?videoFileIds=5445034"/>
            <media:community>
                <media:statistics views="0"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/a2WP5afFgPBEcT2zrXBWJC"/>
            <media:player url="https://peertube2.cpy.re/w/a2WP5afFgPBEcT2zrXBWJC"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/cce5669e-8336-456f-886d-9518de4b720a-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/d2cd3a00-0b38-45ff-81f9-62ce1ba469c9-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/cee7dbcd-0a79-432f-adc9-f1c81847724d-240-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/1df7498d-9441-4a5a-9a07-74fbdadb0dea-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="24251052" url="https://static.indymotion.fr/streaming-playlists/hls/4927c542-92a6-46a4-83be-2d4ec5243788/94c51f6b-a39a-4237-93e0-30515d4e9c37-720-fragmented.mp4" framerate="30" duration="202" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="15661613" url="https://static.indymotion.fr/streaming-playlists/hls/4927c542-92a6-46a4-83be-2d4ec5243788/d615e6b6-6db0-4c5b-9c3d-d734333ed3a2-480-fragmented.mp4" framerate="30" duration="202" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="8218431" url="https://static.indymotion.fr/streaming-playlists/hls/4927c542-92a6-46a4-83be-2d4ec5243788/ce3ff74d-8861-4523-8a38-2fd944deb6ca-240-fragmented.mp4" framerate="30" duration="202" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="3389510" url="https://static.indymotion.fr/streaming-playlists/hls/4927c542-92a6-46a4-83be-2d4ec5243788/a59be621-666c-4f04-ae12-b3da0ddaccf7-0-fragmented.mp4" framerate="0" duration="202" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/6c1d22f8-1982-423e-873c-e2ab0e78b502.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/abdaf0f3-cd4c-49f1-8ecd-16fba900b33d.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">#shorts - GARAP - La bourgeoisie française et la gauche identitaire</media:title>
            <media:description type="plain">#shorts https://garap.org https://www.instagram.com/saladetomateoignonslacrymos https://twitter.com/camarade_garap https://www.tiktok.com/@garap.officiel</media:description>
        </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 featureful ; 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 64 128
Examples:
  • include=3 - Include not published and blacklisted videos (1 + 2)
  • include=24 - Add files and captions to video JSON representation (8 + 16)

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator). By default PeerTube only list published videos that are not blocked.

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
  • 64: AUTOMATIC_TAGS
  • 128: TAGS
isLocal
boolean

PeerTube >= 4.0 Display only local or remote objects

nsfw
string
Enum: "true" "false" "both"

Whether to include nsfw videos, if any. The default value is set by the admin.

privacyOneOf
integer
Enum: 1 2 3 4 5
Examples:
  • privacyOneOf=5 - Display only password protected videos

Only administrators and moderators can use this parameter

Display only videos in this specific privacy/privacies. By default, list public videos for anonymous users and public/internal videos for authenticated users

  • 1 PUBLIC
  • 2 UNLISTED
  • 3 PRIVATE
  • 4 INTERNAL
  • 5 PASSWORD_PROTECTED
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
videoChannelId
required
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 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 .. 255 ] 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": {
    }
}

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 .. 255 ] 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
{
  • "id": 42,
  • "state": {
    },
  • "registrationReason": "string",
  • "moderationResponse": "string",
  • "username": "string",
  • "email": "user@example.com",
  • "emailVerified": true,
  • "accountDisplayName": "string",
  • "channelHandle": "string",
  • "channelDisplayName": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "user": {
    }
}

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

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.

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
Default: "password"
password
required
string <password> (password) [ 6 .. 255 ] characters
username
required
string [ 1 .. 50 ] characters /^[a-z0-9._]+$/

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

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

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 64 128
Examples:
  • include=3 - Include not published and blacklisted videos (1 + 2)
  • include=24 - Add files and captions to video JSON representation (8 + 16)

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator). By default PeerTube only list published videos that are not blocked.

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
  • 64: AUTOMATIC_TAGS
  • 128: TAGS
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" "both"

Whether to include nsfw videos, if any. The default value is set by the admin.

privacyOneOf
integer
Enum: 1 2 3 4 5
Examples:
  • privacyOneOf=5 - Display only password protected videos

Only administrators and moderators can use this parameter

Display only videos in this specific privacy/privacies. By default, list public videos for anonymous users and public/internal videos for authenticated users

  • 1 PUBLIC
  • 2 UNLISTED
  • 3 PRIVATE
  • 4 INTERNAL
  • 5 PASSWORD_PROTECTED
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" "-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

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
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)

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

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 authentified 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

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 .. 255 ] 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

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
{
  • "account": {
    },
  • "autoPlayNextVideo": true,
  • "autoPlayNextVideoPlaylist": true,
  • "autoPlayVideo": true,
  • "blocked": true,
  • "blockedReason": "string",
  • "createdAt": "string",
  • "email": "user@example.com",
  • "emailVerified": true,
  • "id": 42,
  • "pluginAuth": "string",
  • "lastLoginDate": "2019-08-24T14:15:22Z",
  • "noInstanceConfigWarningModal": true,
  • "noAccountSetupWarningModal": true,
  • "noWelcomeModal": true,
  • "nsfwPolicy": "display",
  • "role": {
    },
  • "theme": "string",
  • "username": "chocobozzz",
  • "videoChannels": [
    ],
  • "videoQuota": -1,
  • "videoQuotaDaily": -1,
  • "p2pEnabled": true
}

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 .. 255 ] 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"
}

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
}

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 .. 255 ] characters
displayName
string [ 3 .. 120 ] characters

new name of the user in its representations

displayNSFW
string
Enum: "true" "false" "both"

new NSFW display policy

email
string <email>

new email used for login and service communications

noAccountSetupWarningModal
boolean
noInstanceConfigWarningModal
boolean
noWelcomeModal
boolean
p2pEnabled
boolean

whether to enable P2P in the player or not

password
string <password> (password) [ 6 .. 255 ] 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",
  • "displayNSFW": "true",
  • "p2pEnabled": true,
  • "autoPlayVideo": true,
  • "autoPlayNextVideo": true,
  • "autoPlayNextVideoPlaylist": true,
  • "videosHistoryEnabled": true,
  • "videoLanguages": [
    ],
  • "theme": "string",
  • "noInstanceConfigWarningModal": true,
  • "noAccountSetupWarningModal": true,
  • "noWelcomeModal": true
}

Get video imports of my user

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

Number of items to return

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

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
videoId
required
integer >= 1
Example: 42

The video id

Responses

Response samples

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

List videos of my user

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

Responses

Response samples

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

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 64 128
Examples:
  • include=3 - Include not published and blacklisted videos (1 + 2)
  • include=24 - Add files and captions to video JSON representation (8 + 16)

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator). By default PeerTube only list published videos that are not blocked.

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
  • 64: AUTOMATIC_TAGS
  • 128: TAGS
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" "both"

Whether to include nsfw videos, if any. The default value is set by the admin.

privacyOneOf
integer
Enum: 1 2 3 4 5
Examples:
  • privacyOneOf=5 - Display only password protected videos

Only administrators and moderators can use this parameter

Display only videos in this specific privacy/privacies. By default, list public videos for anonymous users and public/internal videos for authenticated users

  • 1 PUBLIC
  • 2 UNLISTED
  • 3 PRIVATE
  • 4 INTERNAL
  • 5 PASSWORD_PROTECTED
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" "-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

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",
  • "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

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
videoId
required
integer >= 1
Example: 42

object id for the video

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 64 128
Examples:
  • include=3 - Include not published and blacklisted videos (1 + 2)
  • include=24 - Add files and captions to video JSON representation (8 + 16)

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator). By default PeerTube only list published videos that are not blocked.

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
  • 64: AUTOMATIC_TAGS
  • 128: TAGS
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" "both"

Whether to include nsfw videos, if any. The default value is set by the admin.

privacyOneOf
integer
Enum: 1 2 3 4 5
Examples:
  • privacyOneOf=5 - Display only password protected videos

Only administrators and moderators can use this parameter

Display only videos in this specific privacy/privacies. By default, list public videos for anonymous users and public/internal videos for authenticated users

  • 1 PUBLIC
  • 2 UNLISTED
  • 3 PRIVATE
  • 4 INTERNAL
  • 5 PASSWORD_PROTECTED
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" "-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

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 64 128
Examples:
  • include=3 - Include not published and blacklisted videos (1 + 2)
  • include=24 - Add files and captions to video JSON representation (8 + 16)

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator). By default PeerTube only list published videos that are not blocked.

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
  • 64: AUTOMATIC_TAGS
  • 128: TAGS
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" "both"

Whether to include nsfw videos, if any. The default value is set by the admin.

privacyOneOf
integer
Enum: 1 2 3 4 5
Examples:
  • privacyOneOf=5 - Display only password protected videos

Only administrators and moderators can use this parameter

Display only videos in this specific privacy/privacies. By default, list public videos for anonymous users and public/internal videos for authenticated users

  • 1 PUBLIC
  • 2 UNLISTED
  • 3 PRIVATE
  • 4 INTERNAL
  • 5 PASSWORD_PROTECTED
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" "-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

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"
}

List available video languages

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",
  • "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"
}

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)

commentsEnabled
boolean
Deprecated

Deprecated in 6.2, use commentsPolicy instead

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

originallyPublishedAt
string or null <date-time>

Date when the content was originally published

previewfile
string <binary>

Video preview file

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,
  • "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": "/lazy-static/thumbnails/a65bc12f-9383-462e-81ae-8207e8b434ee.jpg",
  • "previewPath": "/lazy-static/previews/a65bc12f-9383-462e-81ae-8207e8b434ee.jpg",
  • "embedPath": "/videos/embed/a65bc12f-9383-462e-81ae-8207e8b434ee",
  • "views": 1337,
  • "likes": 42,
  • "dislikes": 7,
  • "nsfw": true,
  • "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": [
    ],
  • "commentsEnabled": true,
  • "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

Get complete video description

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
"**[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"

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

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"
}

Set watching progress of a video Deprecated

This endpoint has been deprecated. Use /videos/{id}/views instead

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
currentTime
required
integer <seconds>

timestamp within the video, in seconds

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"
}

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)

commentsEnabled
boolean
Deprecated

Deprecated in 6.2, use commentsPolicy instead

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

originallyPublishedAt
string <date-time>

Date when the content was originally published

previewfile
string <binary>

Video preview file

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)

commentsEnabled
boolean
Deprecated

Deprecated in 6.2, use commentsPolicy instead

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

originallyPublishedAt
string <date-time>

Date when the content was originally published

previewfile
string <binary>

Video preview file

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,
  • "tags": [
    ],
  • "commentsEnabled": true,
  • "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)

commentsEnabled
boolean
Deprecated

Deprecated in 6.2, use commentsPolicy instead

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 (LiveVideoLatencyMode)
Enum: 1 2 3

The live latency mode (Default = 1, High latency = 2, Small Latency = 3)

licence
integer (VideoLicenceSet)

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

nsfw
boolean

Whether or not this live video/replay contains sensitive content

permanentLive
boolean

User can stream multiple times in a permanent live

previewfile
string <binary>

Live video/replay preview file

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

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

object (LiveVideoReplaySettings)
saveReplay
boolean
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
}

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 (LiveVideoLatencyMode)
Enum: 1 2 3

The live latency mode (Default = 1, High latency = 2, Small Latency = 3)

permanentLive
boolean

User can stream multiple times in a permanent live

object (LiveVideoReplaySettings)
saveReplay
boolean

Responses

Request samples

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

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
{
  • "filename": "string",
  • "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 64 128
Examples:
  • include=3 - Include not published and blacklisted videos (1 + 2)
  • include=24 - Add files and captions to video JSON representation (8 + 16)

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator). By default PeerTube only list published videos that are not blocked.

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
  • 64: AUTOMATIC_TAGS
  • 128: TAGS
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" "both"

Whether to include nsfw videos, if any. The default value is set by the admin.

privacyOneOf
integer
Enum: 1 2 3 4 5
Examples:
  • privacyOneOf=5 - Display only password protected videos

Only administrators and moderators can use this parameter

Display only videos in this specific privacy/privacies. By default, list public videos for anonymous users and public/internal videos for authenticated users

  • 1 PUBLIC
  • 2 UNLISTED
  • 3 PRIVATE
  • 4 INTERNAL
  • 5 PASSWORD_PROTECTED
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" "-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

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 64 128
Examples:
  • include=3 - Include not published and blacklisted videos (1 + 2)
  • include=24 - Add files and captions to video JSON representation (8 + 16)

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator). By default PeerTube only list published videos that are not blocked.

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
  • 64: AUTOMATIC_TAGS
  • 128: TAGS
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" "both"

Whether to include nsfw videos, if any. The default value is set by the admin.

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
Enum: 1 2 3 4 5
Examples:
  • privacyOneOf=5 - Display only password protected videos

Only administrators and moderators can use this parameter

Display only videos in this specific privacy/privacies. By default, list public videos for anonymous users and public/internal videos for authenticated users

  • 1 PUBLIC
  • 2 UNLISTED
  • 3 PRIVATE
  • 4 INTERNAL
  • 5 PASSWORD_PROTECTED
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" "-match"

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

start
integer >= 0

Offset used to paginate results

startDate
string <date-time>

Get videos that are published after this date

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

Callbacks

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)

commentsEnabled
boolean
Deprecated

Deprecated in 6.2, use commentsPolicy instead

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

originallyPublishedAt
string <date-time>

Date when the content was originally published

previewfile
string <binary>

Video preview file

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)

commentsEnabled
boolean
Deprecated

Deprecated in 6.2, use commentsPolicy instead

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

originallyPublishedAt
string <date-time>

Date when the content was originally published

previewfile
string <binary>

Video preview file

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,
  • "tags": [
    ],
  • "commentsEnabled": true,
  • "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)

commentsEnabled
boolean
Deprecated

Deprecated in 6.2, use commentsPolicy instead

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

originallyPublishedAt
string <date-time>

Date when the content was originally published

previewfile
string <binary>

Video preview file

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)

commentsEnabled
boolean
Deprecated

Deprecated in 6.2, use commentsPolicy instead

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

originallyPublishedAt
string <date-time>

Date when the content was originally published

previewfile
string <binary>

Video preview file

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

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

support
any

How to support/fund the channel

Responses

Request samples

Content type
application/json
{
  • "displayName": null,
  • "description": null,
  • "support": null,
  • "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",
  • "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

support
any

How to support/fund the channel

Responses

Request samples

Content type
application/json
{
  • "displayName": null,
  • "description": null,
  • "support": null,
  • "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 64 128
Examples:
  • include=3 - Include not published and blacklisted videos (1 + 2)
  • include=24 - Add files and captions to video JSON representation (8 + 16)

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator). By default PeerTube only list published videos that are not blocked.

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
  • 64: AUTOMATIC_TAGS
  • 128: TAGS
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" "both"

Whether to include nsfw videos, if any. The default value is set by the admin.

privacyOneOf
integer
Enum: 1 2 3 4 5
Examples:
  • privacyOneOf=5 - Display only password protected videos

Only administrators and moderators can use this parameter

Display only videos in this specific privacy/privacies. By default, list public videos for anonymous users and public/internal videos for authenticated users

  • 1 PUBLIC
  • 2 UNLISTED
  • 3 PRIVATE
  • 4 INTERNAL
  • 5 PASSWORD_PROTECTED
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" "-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

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 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": [
    ]
}

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

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 authentified 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

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

Callbacks

Response samples

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

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

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

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
videoId
required
integer >= 1
Example: 42

The video id

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": [
    ]
}

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",
  • "privacy": {
    },
  • "type": {
    },
  • "ownerAccount": {
    },
  • "videoChannel": {
    }
}

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 a playlist

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
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)

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

Callbacks

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,
  • "viewersPeakDate": "2019-08-24T14:15:22Z",
  • "countries": [
    ]
}

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": [
    ]
}

Video Ownership Change

List video ownership changes

Authorizations:
OAuth2

Responses

Accept 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 ownership change request

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

The object id, uuid or short uuid

Responses

Request ownership change

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
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)

commentsEnabled
boolean
Deprecated

Deprecated in 6.2, use commentsPolicy instead

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 (LiveVideoLatencyMode)
Enum: 1 2 3

The live latency mode (Default = 1, High latency = 2, Small Latency = 3)

licence
integer (VideoLicenceSet)

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

nsfw
boolean

Whether or not this live video/replay contains sensitive content

permanentLive
boolean

User can stream multiple times in a permanent live

previewfile
string <binary>

Live video/replay preview file

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

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

object (LiveVideoReplaySettings)
saveReplay
boolean
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
}

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 (LiveVideoLatencyMode)
Enum: 1 2 3

The live latency mode (Default = 1, High latency = 2, Small Latency = 3)

permanentLive
boolean

User can stream multiple times in a permanent live

object (LiveVideoReplaySettings)
saveReplay
boolean

Responses

Request samples

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

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

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

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

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

Operation 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": [
    ]
}

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

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

The video password id

Responses

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 not could be not 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 64 128
Examples:
  • include=3 - Include not published and blacklisted videos (1 + 2)
  • include=24 - Add files and captions to video JSON representation (8 + 16)

Only administrators and moderators can use this parameter

Include additional videos in results (can be combined using bitwise or operator). By default PeerTube only list published videos that are not blocked.

  • 0 NONE
  • 1 NOT_PUBLISHED_STATE
  • 2 BLACKLISTED
  • 4 BLOCKED_OWNER
  • 8 FILES
  • 16 CAPTIONS
  • 32 VIDEO SOURCE
  • 64: AUTOMATIC_TAGS
  • 128: TAGS
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" "both"

Whether to include nsfw videos, if any. The default value is set by the admin.

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
Enum: 1 2 3 4 5
Examples:
  • privacyOneOf=5 - Display only password protected videos

Only administrators and moderators can use this parameter

Display only videos in this specific privacy/privacies. By default, list public videos for anonymous users and public/internal videos for authenticated users

  • 1 PUBLIC
  • 2 UNLISTED
  • 3 PRIVATE
  • 4 INTERNAL
  • 5 PASSWORD_PROTECTED
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" "-match"

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

start
integer >= 0

Offset used to paginate results

startDate
string <date-time>

Get videos that are published after this date

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

Callbacks

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

Callbacks

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

Callbacks

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

Responses

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 Blocks

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 account blocks

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

Responses

Block an account

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 its handle

Authorizations:
OAuth2
path Parameters
accountName
required
string

account to unblock, in the form username@domain

Responses

Server Blocks

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 server blocks

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

Responses

Block a 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 its domain

Authorizations:
OAuth2
path Parameters
host
required
string <hostname>

server domain to unblock

Responses

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": [
    ]
}

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

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": "7.1.0-rc.1-nightly-2025-03-17",
  • "serverCommit": "",
  • "transcoding": {
    },
  • "live": {
    },
  • "videoStudio": {
    },
  • "videoFile": {
    },
  • "videoTranscription": {
    },
  • "import": {
    },
  • "export": {
    },
  • "autoBlacklist": {
    },
  • "avatar": {
    },
  • "banner": {
    },
  • "video": {
    },
  • "videoCaption": {
    },
  • "user": {
    },
  • "videoChannels": {
    },
  • "trending": {
    },
  • "tracker": {
    },
  • "followings": {},
  • "federation": {
    },
  • "broadcastMessage": {
    },
  • "homepage": {
    },
  • "openTelemetry": {
    },
  • "views": {
    },
  • "storyboards": {
    },
  • "webrtc": {
    },
  • "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": {
    },
  • "followers": {
    }
}

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

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
nameWithHost
required
string <email>

The remote actor handle to remove from your followers

Responses

Reject a pending follower to your server

Authorizations:
OAuth2
path Parameters
nameWithHost
required
string <email>

The remote actor handle to remove from your followers

Responses

Accept a pending follower to your server

Authorizations:
OAuth2
path Parameters
nameWithHost
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,
  • "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

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
Enum: "activitypub-follow" "activitypub-http-broadcast" "activitypub-http-fetcher" "activitypub-http-unicast" "email" "video-transcoding" "video-file-import" "video-import" "videos-views-stats" "activitypub-refresher" "video-redundancy" "video-live-ending" "video-channel-import"

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": [
    ]
}

Runner Registration Token

Manage runner registration token

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

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": {
    }
}

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

Responses

Response samples

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

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": [
    ]
}