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>Fri, 14 Mar 2025 04:10:36 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[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>
        <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:04:06 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> cc <span><a href="https://xn--69aa8bzb.xn--y9a3aq/@norayr" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>norayr</span></a></span> :D</p>]]></content:encoded>
            <dc:creator>արշակ խառնող :artsakh: :SFR:</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:03: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> գժանոց ա!! վերջերս հիշում էի օբերոնի մասին, որովհետեւ կրկին մտածելու գրաֆիկական ինտերֆեյսների մասին էի մտածում :o</p>]]></content:encoded>
            <dc:creator>արշակ խառնող :artsakh: :SFR:</dc:creator>
        </item>
        <item>
            <title><![CDATA[Ubuntu Touch on the Pinephone - is this the best Linux mobile interface? - Ati1]]></title>
            <link>https://peertube2.cpy.re/w/tWXH8YBsHDd7EXZQrHtWYb;threadId=179970</link>
            <guid>https://peertube2.cpy.re/w/tWXH8YBsHDd7EXZQrHtWYb;threadId=179970</guid>
            <pubDate>Thu, 13 Mar 2025 23:30:26 GMT</pubDate>
            <content:encoded><![CDATA[<p>@publiclewdness@tilvids.com "Lack the app support of a distro like Postmarket OS" ?  Are you sure? We re 3 years later now and has Postmarket OS got at least a camera app? Camera app working on literally any phone available anywhere in the world I mean?</p>
]]></content:encoded>
            <dc:creator>Ati1</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>Thu, 13 Mar 2025 15:36:15 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>not sure if this is a joke or not </p><p>but there are software developers whom have jobs not paid by evil telemetry</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 - Peter]]></title>
            <link>https://peertube2.cpy.re/w/ssV7mEKnwhFfJhnxSWGCTk;threadId=180638</link>
            <guid>https://peertube2.cpy.re/w/ssV7mEKnwhFfJhnxSWGCTk;threadId=180638</guid>
            <pubDate>Thu, 13 Mar 2025 15:02:51 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> Thank you for this interview! How you said: If we want to support a non-google and non-apple Engine, we have no alternative to support Mozilla. (sorry, i know my english is really bad 😃)</p>]]></content:encoded>
            <dc:creator>Peter</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>Thu, 13 Mar 2025 12:38:09 GMT</pubDate>
            <content:encoded><![CDATA[<p>And who is going to pay the developers?</p>
]]></content:encoded>
            <dc:creator>falseprophet</dc:creator>
        </item>
        <item>
            <title><![CDATA[Gestion des noeuds "adresse" sous forme de points avec Josm - 2 - Tykayn]]></title>
            <link>https://peertube2.cpy.re/w/rdsScf5WhMnG2g3UXtL1YH;threadId=180637</link>
            <guid>https://peertube2.cpy.re/w/rdsScf5WhMnG2g3UXtL1YH;threadId=180637</guid>
            <pubDate>Thu, 13 Mar 2025 10:25:38 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://peertube.openstreetmap.fr/accounts/cartocite" class="u-url mention" rel="noopener noreferrer" target="_blank">@<span>cartocite</span></a></span> super tuto, merci!</p>]]></content:encoded>
            <dc:creator>Tykayn</dc:creator>
        </item>
        <item>
            <title><![CDATA[Clarifying what's happening at Mozilla: an Interview with Ryan Sipes from Thunderbird - Neblib]]></title>
            <link>https://peertube2.cpy.re/w/ssV7mEKnwhFfJhnxSWGCTk;threadId=180636</link>
            <guid>https://peertube2.cpy.re/w/ssV7mEKnwhFfJhnxSWGCTk;threadId=180636</guid>
            <pubDate>Thu, 13 Mar 2025 10:25:07 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://tilvids.com/accounts/thelinuxexperiment" class="u-url mention" rel="noopener noreferrer" target="_blank">@<span>thelinuxexperiment</span></a></span> finally got a chance to watch this, great interview! Thanks <span><a href="https://mastodon.social/@ryanleesipes" class="u-url mention" rel="noopener noreferrer" target="_blank">@<span>ryanleesipes</span></a></span> for doing this outreach in this moment, and to both of you for continuing to share on this platform.</p>]]></content:encoded>
            <dc:creator>Neblib</dc:creator>
        </item>
        <item>
            <title><![CDATA[Clarifying what's happening at Mozilla: an Interview with Ryan Sipes from Thunderbird - Dr. Marc Schreiber]]></title>
            <link>https://peertube2.cpy.re/w/ssV7mEKnwhFfJhnxSWGCTk;threadId=180635</link>
            <guid>https://peertube2.cpy.re/w/ssV7mEKnwhFfJhnxSWGCTk;threadId=180635</guid>
            <pubDate>Thu, 13 Mar 2025 04:57:16 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://mastodon.social/@ryanleesipes" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>ryanleesipes</span></a></span>, thanks for sharing how things are done within Mozilla. You did a good job and reassured me that I continue to use Firefox.</p>]]></content:encoded>
            <dc:creator>Dr. Marc Schreiber</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>Wed, 12 Mar 2025 18:22:02 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>BIG NO.</p><p>Mozilla is supposed to be the good guys.</p><p>Remove all telemetry, and all ties with google or be replaced. </p><p>Also, don't touch AI untill you figure out privacy and security. </p><p>End of story.</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 - Jan Korbel 🐧]]></title>
            <link>https://peertube2.cpy.re/w/ssV7mEKnwhFfJhnxSWGCTk;threadId=180627</link>
            <guid>https://peertube2.cpy.re/w/ssV7mEKnwhFfJhnxSWGCTk;threadId=180627</guid>
            <pubDate>Wed, 12 Mar 2025 16:32:16 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> That being said, it's about trust. I switched to Librewolf a few months ago because of calling home, Google promotion etc. There is long way to trust.
Thanks for interview and Ryan Sipes to go there!</p>]]></content:encoded>
            <dc:creator>Jan Korbel 🐧</dc:creator>
        </item>
        <item>
            <title><![CDATA[La voiture c'est la liberté - Ben_grd]]></title>
            <link>https://peertube2.cpy.re/w/kFGnzvqQRbouZNqtapEgbk;threadId=180610</link>
            <guid>https://peertube2.cpy.re/w/kFGnzvqQRbouZNqtapEgbk;threadId=180610</guid>
            <pubDate>Tue, 11 Mar 2025 23:24:08 GMT</pubDate>
            <content:encoded><![CDATA[<p>@makoto@peertube.makotoworkshop.org Ça donne vraiment envie d'essayer !</p>
]]></content:encoded>
            <dc:creator>Ben_grd</dc:creator>
        </item>
        <item>
            <title><![CDATA[Mister Trumpoline - GuB 🕶️🎸🔌🎚️🔊💥]]></title>
            <link>https://peertube2.cpy.re/w/vqT4GwENRHCt4Qec35G7A6;threadId=180625</link>
            <guid>https://peertube2.cpy.re/w/vqT4GwENRHCt4Qec35G7A6;threadId=180625</guid>
            <pubDate>Tue, 11 Mar 2025 20:49:03 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://aperi.tube/accounts/jcfrog" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>jcfrog</span></a></span> 
Bisouxes !</p>]]></content:encoded>
            <dc:creator>GuB 🕶️🎸🔌🎚️🔊💥</dc:creator>
        </item>
        <item>
            <title><![CDATA[Munching Squares and Spirograph - tob]]></title>
            <link>https://peertube2.cpy.re/w/8AiLyAECTVyKehG5KT1Mx7;threadId=180624</link>
            <guid>https://peertube2.cpy.re/w/8AiLyAECTVyKehG5KT1Mx7;threadId=180624</guid>
            <pubDate>Tue, 11 Mar 2025 18:28:19 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://toobnix.org/accounts/smj" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>smj</span></a></span> Hmm, yes this is great, but what am I seeing?  Is something being laser engraved? ⚡ 🎇</p>]]></content:encoded>
            <dc:creator>tob</dc:creator>
        </item>
        <item>
            <title><![CDATA[Installation des ruches connectées sur la terrasse du CAPC [x1ta33i] - pgp]]></title>
            <link>https://peertube2.cpy.re/w/cmdwyPcYA4BDLy9ehnRFNA;threadId=180623</link>
            <guid>https://peertube2.cpy.re/w/cmdwyPcYA4BDLy9ehnRFNA;threadId=180623</guid>
            <pubDate>Tue, 11 Mar 2025 11:39:12 GMT</pubDate>
            <content:encoded><![CDATA[<p>@isAAAc Il ya bien bien longtemps... quand les abeilles transhumaient au thsf et que les cadenas ne réussissaient pas à protéger les frigos à bière 😃</p>
]]></content:encoded>
            <dc:creator>pgp</dc:creator>
        </item>
        <item>
            <title><![CDATA[Mister Trumpoline - natokino]]></title>
            <link>https://peertube2.cpy.re/w/vqT4GwENRHCt4Qec35G7A6;threadId=180622</link>
            <guid>https://peertube2.cpy.re/w/vqT4GwENRHCt4Qec35G7A6;threadId=180622</guid>
            <pubDate>Tue, 11 Mar 2025 11:31:58 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://aperi.tube/accounts/jcfrog" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>jcfrog</span></a></span> Et des bisous, anyway !</p>]]></content:encoded>
            <dc:creator>natokino</dc:creator>
        </item>
        <item>
            <title><![CDATA[Mister Trumpoline - Le Geant Jaune]]></title>
            <link>https://peertube2.cpy.re/w/vqT4GwENRHCt4Qec35G7A6;threadId=180621</link>
            <guid>https://peertube2.cpy.re/w/vqT4GwENRHCt4Qec35G7A6;threadId=180621</guid>
            <pubDate>Tue, 11 Mar 2025 10:50:32 GMT</pubDate>
            <content:encoded><![CDATA[<p><span><a href="https://aperi.tube/accounts/jcfrog" class="u-url mention" target="_blank" rel="noopener noreferrer">@<span>jcfrog</span></a></span> Merci pour ce joli sourire.</p>]]></content:encoded>
            <dc:creator>Le Geant Jaune</dc:creator>
        </item>
        <item>
            <title><![CDATA[Painting Timelapse - Shichimi and Torreya - Fabulous Fab's]]></title>
            <link>https://peertube2.cpy.re/w/omvTpMvfgpUcTBDiSD8stU;threadId=180620</link>
            <guid>https://peertube2.cpy.re/w/omvTpMvfgpUcTBDiSD8stU;threadId=180620</guid>
            <pubDate>Mon, 10 Mar 2025 13:26: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> Bravo David, magnifique comme toujours. <a href="https://mamot.fr/tags/krita" class="mention hashtag" rel="noopener noreferrer" target="_blank">#<span>krita</span></a> <a href="https://mamot.fr/tags/digitalpainting" class="mention hashtag" rel="noopener noreferrer" target="_blank">#<span>digitalpainting</span></a> <a href="https://mamot.fr/tags/freeart" class="mention hashtag" rel="noopener noreferrer" target="_blank">#<span>freeart</span></a></p>]]></content:encoded>
            <dc:creator>Fabulous Fab's</dc:creator>
        </item>
        <item>
            <title><![CDATA[La voiture c'est la liberté - Makoto]]></title>
            <link>https://peertube2.cpy.re/w/kFGnzvqQRbouZNqtapEgbk;threadId=180610</link>
            <guid>https://peertube2.cpy.re/w/kFGnzvqQRbouZNqtapEgbk;threadId=180610</guid>
            <pubDate>Mon, 10 Mar 2025 09:18:46 GMT</pubDate>
            <content:encoded><![CDATA[<p>@ben_grd@videos.pair2jeux.tube Pour la campagne, j'attends ceci avec impatience  : <a href="https://www.youtube.com/watch?v=wwRnvgH98CE" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=wwRnvgH98CE</a></p>
]]></content:encoded>
            <dc:creator>Makoto</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>Fri, 14 Mar 2025 04:10:36 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[heliko]]></title>
            <link>https://peertube2.cpy.re/w/kQQa6Wy6ETx7PT7JkoRjdN</link>
            <guid>https://peertube2.cpy.re/w/kQQa6Wy6ETx7PT7JkoRjdN</guid>
            <pubDate>Thu, 13 Mar 2025 23:09:52 GMT</pubDate>
            <description><![CDATA[a shell helper for kids or unix newbies.]]></description>
            <content:encoded><![CDATA[<p>a shell helper for kids or unix newbies.</p>
]]></content:encoded>
            <dc:creator>tanakian's tech channel</dc:creator>
            <category>Education</category>
            <enclosure length="9344019" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/a0af0365-7fdd-441a-9c66-f324dae249d6?videoFileIds=5442451"/>
            <media:community>
                <media:statistics views="19"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/kQQa6Wy6ETx7PT7JkoRjdN"/>
            <media:player url="https://peertube2.cpy.re/w/kQQa6Wy6ETx7PT7JkoRjdN"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/2bc2b3c9-d61b-4dea-9a24-ffd01b737c53-1300.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/76546355-6933-49e7-812d-16440df7f776-1080.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/9434e0a8-1098-4c40-bad1-eb290bfebd33-720.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/8ae88499-eb23-48e8-be15-d18a0c6da30b-480.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/6787ac81-4b50-4db3-a7ea-86641d05662b-360.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/455a889e-7023-4d2d-ac9e-ca5067ddab2f-240.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/e4292fbb-c007-476c-aedb-7c71a703ae07-1300-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/da545661-0d4c-43f4-b035-58b3c0e61b0e-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/09f3c179-085d-48d5-baba-c74b5b4f7bd0-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/1d9694e6-e5cc-4fef-9464-ea93b275092a-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/7df184ab-ed03-461d-b496-3b356faa8f23-360-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/ef2a066e-c568-414e-8667-2a2851e9e0ff-240-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1300" fileSize="9344019" url="https://toobnix.org/static/web-videos/cc287bf6-1b09-4803-ab4a-237e0741f58f-1300.mp4" framerate="25" duration="102" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="7222328" url="https://toobnix.org/static/web-videos/6cf4de59-e169-4616-ac6b-fd05481bad3d-1080.mp4" framerate="25" duration="102" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="5053146" url="https://toobnix.org/static/web-videos/3de68013-e381-46a5-a7a1-a7f125eb8b47-720.mp4" framerate="25" duration="102" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="3062577" url="https://toobnix.org/static/web-videos/2a525cb6-b064-4601-b9ea-4d50c0f3f414-480.mp4" framerate="25" duration="102" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="360" fileSize="2011521" url="https://toobnix.org/static/web-videos/b937aa75-45e9-4ff1-837c-1b8be556d292-360.mp4" framerate="25" duration="102" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="1048950" url="https://toobnix.org/static/web-videos/a95bfca8-20cc-4130-b2a1-f34b1f1acadc-240.mp4" framerate="25" duration="102" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1300" fileSize="9357527" url="https://toobnix.org/static/streaming-playlists/hls/a0af0365-7fdd-441a-9c66-f324dae249d6/e9ff533c-1c21-4c9e-9a8d-b9f74ad35f11-1300-fragmented.mp4" framerate="25" duration="102" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="7235712" url="https://toobnix.org/static/streaming-playlists/hls/a0af0365-7fdd-441a-9c66-f324dae249d6/e9192016-4dd5-4743-bf88-8706dffc3b2d-1080-fragmented.mp4" framerate="25" duration="102" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="5065802" url="https://toobnix.org/static/streaming-playlists/hls/a0af0365-7fdd-441a-9c66-f324dae249d6/08033d9f-6312-4aa0-8fce-4f0068df4caa-720-fragmented.mp4" framerate="25" duration="102" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="3076085" url="https://toobnix.org/static/streaming-playlists/hls/a0af0365-7fdd-441a-9c66-f324dae249d6/345e0a57-0e47-4720-87ff-d885705bcbd4-480-fragmented.mp4" framerate="25" duration="102" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="360" fileSize="2026249" url="https://toobnix.org/static/streaming-playlists/hls/a0af0365-7fdd-441a-9c66-f324dae249d6/1b8c01d5-c780-423c-b97b-b6d4aa797a79-360-fragmented.mp4" framerate="25" duration="102" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="1063566" url="https://toobnix.org/static/streaming-playlists/hls/a0af0365-7fdd-441a-9c66-f324dae249d6/93144c79-41d9-41e6-bfb2-2e8b55249f84-240-fragmented.mp4" framerate="25" duration="102" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/bdbe0337-5660-480c-9892-957e016eac6d.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/3161b8f2-09c2-417f-87c4-ed008cac550f.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">heliko</media:title>
            <media:description type="plain">a shell helper for kids or unix newbies.</media:description>
        </item>
        <item>
            <title><![CDATA[Poutine se dit favorable à une trêve en Ukraine mais pose des conditions]]></title>
            <link>https://peertube2.cpy.re/w/jCz93s21xcyEDdDSpBDytR</link>
            <guid>https://peertube2.cpy.re/w/jCz93s21xcyEDdDSpBDytR</guid>
            <pubDate>Thu, 13 Mar 2025 21:02:00 GMT</pubDate>
            <description><![CDATA[Le président russe s’est dit favorable à la fin des combats, avant d’énumérer une série de conditions et de rappeler qu’un règlement de la guerre devra tenir compte de l’avancée russe dans la région de Koursk et, plus globalement, des ses « causes...]]></description>
            <content:encoded><![CDATA[<p>Le président russe s’est dit favorable à la fin des combats, avant d’énumérer une série de conditions et de rappeler qu’un règlement de la guerre devra tenir compte de l’avancée russe dans la région de Koursk et, plus globalement, des ses « causes profondes ».</p>
<p>#Breakingnews #Russie #Ukraine</p>
]]></content:encoded>
            <dc:creator>Main lemonde channel</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="4331295" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/96dfb1ab-8e24-4103-8301-815a48628027?videoFileIds=5442449"/>
            <media:community>
                <media:statistics views="3"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/jCz93s21xcyEDdDSpBDytR"/>
            <media:player url="https://peertube2.cpy.re/w/jCz93s21xcyEDdDSpBDytR"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/3e1b37f6-02c8-449a-ad7e-1757fdac3cef-480-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="4331295" url="https://tube.fede.re/static/streaming-playlists/hls/96dfb1ab-8e24-4103-8301-815a48628027/5aa0484c-7c39-46f6-9ec1-346e51836b32-480-fragmented.mp4" framerate="25" duration="67" isDefault="true"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/5dbad58a-e077-4498-a1be-b6ed38f8021e.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/e4012401-0de9-4a7c-953a-30dc8c0c4432.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Poutine se dit favorable à une trêve en Ukraine mais pose des conditions</media:title>
            <media:description type="plain">Le président russe s’est dit favorable à la fin des combats, avant d’énumérer une série de conditions et de rappeler qu’un règlement de la guerre devra tenir compte de l’avancée russe dans la région de Koursk et, plus globalement, des ses « causes...</media:description>
        </item>
        <item>
            <title><![CDATA[Ukraine : Poutine favorable à la fin des combats, « avec des nuances »]]></title>
            <link>https://peertube2.cpy.re/w/b9i5zf93eGqzirRwPdo1pW</link>
            <guid>https://peertube2.cpy.re/w/b9i5zf93eGqzirRwPdo1pW</guid>
            <pubDate>Thu, 13 Mar 2025 21:01:38 GMT</pubDate>
            <description><![CDATA[Le président russe s’est dit favorable à la fin des combats, avant d’énumérer une série de conditions et de rappeler qu’un règlement de la guerre devra tenir compte de l’avancée russe dans la région de Koursk et, plus globalement, des ses « causes...]]></description>
            <content:encoded><![CDATA[<p>Le président russe s’est dit favorable à la fin des combats, avant d’énumérer une série de conditions et de rappeler qu’un règlement de la guerre devra tenir compte de l’avancée russe dans la région de Koursk et, plus globalement, des ses « causes profondes ». Donald Trump a salué une déclaration prometteuse mais « incomplète ».</p>
]]></content:encoded>
            <dc:creator>Main lemonde channel</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="9485825" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/5223dcaa-502d-49cc-bb4a-feb23ebb6efc?videoFileIds=5442447"/>
            <media:community>
                <media:statistics views="2"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/b9i5zf93eGqzirRwPdo1pW"/>
            <media:player url="https://peertube2.cpy.re/w/b9i5zf93eGqzirRwPdo1pW"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/29ba680a-7f22-4df6-9a58-b540afef70f0-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/5699620b-9fdb-4eee-8902-56ffe2d5ce3f-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/5b9b720a-3a15-441c-bf93-e5eadeec86dd-480-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="9485825" url="https://tube.fede.re/static/streaming-playlists/hls/5223dcaa-502d-49cc-bb4a-feb23ebb6efc/1435232c-987f-4bf9-95a5-f35d938cbfaf-1080-fragmented.mp4" framerate="25" duration="75" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="5872826" url="https://tube.fede.re/static/streaming-playlists/hls/5223dcaa-502d-49cc-bb4a-feb23ebb6efc/e6d0535f-aaac-4bab-865b-4c8f465a672e-720-fragmented.mp4" framerate="25" duration="75" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="3709511" url="https://tube.fede.re/static/streaming-playlists/hls/5223dcaa-502d-49cc-bb4a-feb23ebb6efc/16f92fa1-a589-4fa7-a1b5-becd16fe421c-480-fragmented.mp4" framerate="25" duration="75" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/fb8e4d46-dbca-48a1-a716-f05276118f55.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/76cbd5fd-5ea7-4ce5-b962-2dab9e1b8eec.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Ukraine : Poutine favorable à la fin des combats, « avec des nuances »</media:title>
            <media:description type="plain">Le président russe s’est dit favorable à la fin des combats, avant d’énumérer une série de conditions et de rappeler qu’un règlement de la guerre devra tenir compte de l’avancée russe dans la région de Koursk et, plus globalement, des ses « causes...</media:description>
        </item>
        <item>
            <title><![CDATA[La véritable histoire de la conquête française de l’Algérie]]></title>
            <link>https://peertube2.cpy.re/w/dq2czJfGRjtYKvceqYVdRk</link>
            <guid>https://peertube2.cpy.re/w/dq2czJfGRjtYKvceqYVdRk</guid>
            <pubDate>Thu, 13 Mar 2025 20:26:04 GMT</pubDate>
            <description><![CDATA[Estimant ne pas avoir « commis de faute » en rappelant sur RTL les massacres français en Algérie au XIXe siècle, Jean-Michel Aphatie a claqué la porte de la radio. Dans « À l’air libre », l’historien Alain Ruscio rappelle la litanie de massacres e...]]></description>
            <content:encoded><![CDATA[<p>Estimant ne pas avoir « commis de faute » en rappelant sur RTL les massacres français en Algérie au XIXe siècle, Jean-Michel Aphatie a claqué la porte de la radio. Dans « À l’air libre », l’historien Alain Ruscio rappelle la litanie de massacres et de razzias qui ont émaillé cette « conquête ».</p>
<p>🗞️ Pour relire notre entretien Jean-Michel Aphatie : « La culture de la négation de l’histoire domine dans les médias » : <a href="https://www.mediapart.fr/journal/culture-et-idees/090325/jean-michel-aphatie-la-culture-de-la-negation-de-l-histoire-domine-dans-les-medias" target="_blank" rel="noopener noreferrer">https://www.mediapart.fr/journal/culture-et-idees/090325/jean-michel-aphatie-la-culture-de-la-negation-de-l-histoire-domine-dans-les-medias</a></p>
<p>Mediapart n’a qu’une seule ressource financière : l’argent issu de ses abonnements. Pas d’actionnaire milliardaire, pas de publicités, pas de subventions de l’État, pas d’argent versé par Google, Amazon, Facebook…<br />
➡️ Pour nous aider à enrichir notre production vidéo, soutenez-nous en vous abonnant à partir de 1 euro : <a href="https://abo.mediapart.fr/abonnement/d" target="_blank" rel="noopener noreferrer">https://abo.mediapart.fr/abonnement/d</a>...<br />
➡️ Si vous êtes déjà abonné·e ou que vous souhaitez nous soutenir autrement, vous avez un autre moyen d’agir , le don : <a href="https://donorbox.org/mediapart?default_interval=o" target="_blank" rel="noopener noreferrer">https://donorbox.org/mediapart?default_interval=o</a><br />
➡️ Inscrivez-vous à nos newsletters ! <a href="https://info.mediapart.fr/renderers/page_inscription?at_medium=rs-cm&amp;at_campaign=youtube&amp;at_format=description" target="_blank" rel="noopener noreferrer">https://info.mediapart.fr/renderers/page_inscription?at_medium=rs-cm&amp;at_campaign=youtube&amp;at_format=description</a></p>
]]></content:encoded>
            <dc:creator>Mediapart [Mirror]</dc:creator>
            <enclosure length="884015614" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/648840f4-707b-494c-93cc-830788c22d65?videoFileIds=5442441&amp;videoFileIds=5442443"/>
            <media:community>
                <media:statistics views="0"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/dq2czJfGRjtYKvceqYVdRk"/>
            <media:player url="https://peertube2.cpy.re/w/dq2czJfGRjtYKvceqYVdRk"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/890f74d3-6123-458d-96b0-2f7d9f0ca321-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/29807d04-afc6-4a36-b023-58cd941607dd-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/1e2ef576-5524-4c1f-86c2-7adb708e487a-144-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/26237c82-f510-417b-9460-53efb2c186fa-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="825080575" url="https://lostpod.space/static/streaming-playlists/hls/648840f4-707b-494c-93cc-830788c22d65/49789f9f-c68d-4ca3-86dd-7e6b54a7a9ca-1080-fragmented.mp4" framerate="25" duration="3610" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="206986436" url="https://lostpod.space/static/streaming-playlists/hls/648840f4-707b-494c-93cc-830788c22d65/2386ef10-d665-4a02-9e3d-c4e044115220-480-fragmented.mp4" framerate="25" duration="3610" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="144" fileSize="36057253" url="https://lostpod.space/static/streaming-playlists/hls/648840f4-707b-494c-93cc-830788c22d65/0bc4ae7c-f47a-458d-9663-a86252776f84-144-fragmented.mp4" framerate="25" duration="3610" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="58935039" url="https://lostpod.space/static/streaming-playlists/hls/648840f4-707b-494c-93cc-830788c22d65/840813eb-ae62-42dd-8c2c-989fa3be904d-0-fragmented.mp4" framerate="0" duration="3610" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/ec3d3718-82d1-47c5-afc1-e5e5aaf84299.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/c7477dd7-aff9-45d1-ad12-1b1f45bc6f03.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">La véritable histoire de la conquête française de l’Algérie</media:title>
            <media:description type="plain">Estimant ne pas avoir « commis de faute » en rappelant sur RTL les massacres français en Algérie au XIXe siècle, Jean-Michel Aphatie a claqué la porte de la radio. Dans « À l’air libre », l’historien Alain Ruscio rappelle la litanie de massacres e...</media:description>
        </item>
        <item>
            <title><![CDATA[Un docteur en biologie cartonne le GIEC de la biodiversité]]></title>
            <link>https://peertube2.cpy.re/w/m27MUFFK9aGEkkVaWStEMq</link>
            <guid>https://peertube2.cpy.re/w/m27MUFFK9aGEkkVaWStEMq</guid>
            <pubDate>Thu, 13 Mar 2025 18:21:33 GMT</pubDate>
            <description><![CDATA[Pierre-Henri Gouyon, biologiste français, est interviewé chez le Greenletter Club pour parler de l'effondrement du vivant, de la biodiversité. Selon lui, une seule cause principale à tout cela les pesticides, mais qu'en dit l'IPBES ? Le GIEC de la...]]></description>
            <content:encoded><![CDATA[<p>Pierre-Henri Gouyon, biologiste français, est interviewé chez le Greenletter Club pour parler de l'effondrement du vivant, de la biodiversité. Selon lui, une seule cause principale à tout cela les pesticides, mais qu'en dit l'IPBES ? Le GIEC de la biodiversité.</p>
<p>Réduire la qualité de la vidéo.</p>
<p>S'abonner à la chaîne <a href="https://www.youtube.com/@greenletterclub4184" target="_blank" rel="noopener noreferrer">https://www.youtube.com/@greenletterclub4184</a><br />
Soutenir le Greenletter Club <a href="https://fr.tipeee.com/greenletter-club" target="_blank" rel="noopener noreferrer">https://fr.tipeee.com/greenletter-club</a></p>
<p>Pour changer le système :<br />
Réclamer le RIC constituant : <a href="https://petitions.assemblee-nationale.fr/initiatives/i-2082" target="_blank" rel="noopener noreferrer">https://petitions.assemblee-nationale.fr/initiatives/i-2082</a><br />
Changer de banque: <a href="https://www.lanef.com/" target="_blank" rel="noopener noreferrer">https://www.lanef.com/</a> <a href="https://change-de-banque.org/particulier/" target="_blank" rel="noopener noreferrer">https://change-de-banque.org/particulier/</a><br />
Passer à l'action militante: <a href="https://extinctionrebellion.fr/" target="_blank" rel="noopener noreferrer">https://extinctionrebellion.fr/</a> <a href="https://ripostealimentaire.fr/" target="_blank" rel="noopener noreferrer">https://ripostealimentaire.fr/</a><br />
Changer de travail : <a href="https://jobs.makesense.org/fr" target="_blank" rel="noopener noreferrer">https://jobs.makesense.org/fr</a></p>
<p>Source<br />
GOuyon <a href="https://www.youtube.com/watch?v=P7p58uq1RQI" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=P7p58uq1RQI</a><br />
Musique <a href="https://www.youtube.com/watch?v=39PVEaSytpo" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=39PVEaSytpo</a></p>
<p>Réponses au quiz de fin :</p>
<p>/!\ Description à ne pas lire avant d'avoir vu la vidéo entièrement<br />
/!\</p>
<p>/!\</p>
<p>/!\ <br />
/!\</p>
<p>Quelles sont les 5 grandes causes de l'effondrement du vivant selon l'ipbes ?<br />
Destruction des habitats, surexploitation des ressources ,changement climatique, pollution, espèces envahissantes.</p>
<p>Quelle est la profession de Naomi Oreskes et Erik Conway ?<br />
Sociologue.</p>
<p>Quelle est la technique principale des marchands de doutes ?<br />
Ils présentent les soucis comme des causes multifactorielles, en orientant les recherches vers des causes mineures.</p>
<p>#gouyon #écololgie #biodiversité #agriculture #pesticide #extrait #ethiqueettac</p>
]]></content:encoded>
            <dc:creator>ethique_et_tac</dc:creator>
            <enclosure length="104425290" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/a21eb3d0-239c-422a-89bf-1d30a0198a7a?videoFileIds=5442435"/>
            <media:community>
                <media:statistics views="3"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/m27MUFFK9aGEkkVaWStEMq"/>
            <media:player url="https://peertube2.cpy.re/w/m27MUFFK9aGEkkVaWStEMq"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/ff6be6d7-3987-4a89-8c2f-972b00ef7005-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/8af0f4f1-4977-4a48-8aaf-e75223d19286-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/d2c2927e-4081-4a1b-a19a-b61030986ae3-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/5486cd15-09c8-4e00-8e66-eba58e9e9f64-240-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/d9a0db9c-8277-4a92-807a-9633de0e72d6-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="104425290" url="https://static.indymotion.fr/streaming-playlists/hls/a21eb3d0-239c-422a-89bf-1d30a0198a7a/bfc9399e-3cc2-4054-8fbe-995f501585ef-1080-fragmented.mp4" framerate="25" duration="595" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="62032055" url="https://static.indymotion.fr/streaming-playlists/hls/a21eb3d0-239c-422a-89bf-1d30a0198a7a/3b9afcf6-5efe-420a-8e97-d88f2ee5eb67-720-fragmented.mp4" framerate="25" duration="595" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="38679720" url="https://static.indymotion.fr/streaming-playlists/hls/a21eb3d0-239c-422a-89bf-1d30a0198a7a/3d32183a-7d74-44ce-b9c2-a3bc9b803b57-480-fragmented.mp4" framerate="25" duration="595" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="20290732" url="https://static.indymotion.fr/streaming-playlists/hls/a21eb3d0-239c-422a-89bf-1d30a0198a7a/d4b92892-aab0-4e78-91d7-05e21c3cc528-240-fragmented.mp4" framerate="25" duration="595" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="9710716" url="https://static.indymotion.fr/streaming-playlists/hls/a21eb3d0-239c-422a-89bf-1d30a0198a7a/6857c050-7992-4e51-b0b3-c3629b18d8e7-0-fragmented.mp4" framerate="0" duration="595" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/39dac76b-6f1c-4b01-9ec3-b7238f3d52bc.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/cf737b0a-cade-42ea-9b11-e55360f9f51d.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Un docteur en biologie cartonne le GIEC de la biodiversité</media:title>
            <media:description type="plain">Pierre-Henri Gouyon, biologiste français, est interviewé chez le Greenletter Club pour parler de l'effondrement du vivant, de la biodiversité. Selon lui, une seule cause principale à tout cela les pesticides, mais qu'en dit l'IPBES ? Le GIEC de la...</media:description>
        </item>
        <item>
            <title><![CDATA[La vraie gauche en réunion 5]]></title>
            <link>https://peertube2.cpy.re/w/a89MQp47tpsbd3muGrQEc8</link>
            <guid>https://peertube2.cpy.re/w/a89MQp47tpsbd3muGrQEc8</guid>
            <pubDate>Thu, 13 Mar 2025 17:56:50 GMT</pubDate>
            <dc:creator>SpinoPizza</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="8124251" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/49e1df1b-7ecb-4fea-94ba-1fac7b9767ed?videoFileIds=5442428&amp;videoFileIds=5442434"/>
            <media:community>
                <media:statistics views="0"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/a89MQp47tpsbd3muGrQEc8"/>
            <media:player url="https://peertube2.cpy.re/w/a89MQp47tpsbd3muGrQEc8"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/f5f0f684-9a56-45c0-9cd8-0741fca191d5-1920-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/63811084-4d0e-49f8-9b91-1e84d4806a8f-854-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/8878747a-f488-4c02-959d-18c4bc1a0c30-256-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/df85d916-7a96-40ac-8844-5f8fa8171646-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1920" fileSize="7549780" url="https://lostpod.space/static/streaming-playlists/hls/49e1df1b-7ecb-4fea-94ba-1fac7b9767ed/f09ea61c-2bb8-4526-bb92-3294a4d331af-1080-fragmented.mp4" framerate="60" duration="35" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="854" fileSize="2412826" url="https://lostpod.space/static/streaming-playlists/hls/49e1df1b-7ecb-4fea-94ba-1fac7b9767ed/8f5b492d-e6c2-47c5-8aa0-2d60d2172b08-480-fragmented.mp4" framerate="30" duration="35" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="256" fileSize="455114" url="https://lostpod.space/static/streaming-playlists/hls/49e1df1b-7ecb-4fea-94ba-1fac7b9767ed/781688d7-63b7-47bd-80f9-e0e3ac046060-144-fragmented.mp4" framerate="30" duration="35" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="574471" url="https://lostpod.space/static/streaming-playlists/hls/49e1df1b-7ecb-4fea-94ba-1fac7b9767ed/c932e9af-e839-4f3c-95fc-b4d2109c6c24-0-fragmented.mp4" framerate="0" duration="35" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/e342d6b7-5d30-4625-a959-6295fce1fee2.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/3f7deaef-6091-4fb1-9ea1-c90b26669898.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">La vraie gauche en réunion 5</media:title>
        </item>
        <item>
            <title><![CDATA[La vraie gauche en réunion 4]]></title>
            <link>https://peertube2.cpy.re/w/cNKbA5mbzSHi2MRUHED3LG</link>
            <guid>https://peertube2.cpy.re/w/cNKbA5mbzSHi2MRUHED3LG</guid>
            <pubDate>Thu, 13 Mar 2025 17:56:34 GMT</pubDate>
            <description><![CDATA[@SpinoPizza]]></description>
            <content:encoded><![CDATA[<p>@SpinoPizza</p>
]]></content:encoded>
            <dc:creator>SpinoPizza</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="11809294" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/5f9b59d2-758e-4f7b-9fa5-efb2fe8d4db0?videoFileIds=5442421&amp;videoFileIds=5442427"/>
            <media:community>
                <media:statistics views="0"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/cNKbA5mbzSHi2MRUHED3LG"/>
            <media:player url="https://peertube2.cpy.re/w/cNKbA5mbzSHi2MRUHED3LG"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/55647163-7e03-4f5a-a75c-eaf4aa52204c-1920-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/28bba39b-6397-4e01-9845-0ddd5b761b43-854-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/7ed8fd70-e625-4d16-8f71-7ad3ff2a6ea5-256-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/438824bc-448b-412b-a2b1-640f8fec7dda-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1920" fileSize="11006512" url="https://lostpod.space/static/streaming-playlists/hls/5f9b59d2-758e-4f7b-9fa5-efb2fe8d4db0/45c51860-880e-44e3-bd6a-90fb4ee7b919-1080-fragmented.mp4" framerate="60" duration="50" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="854" fileSize="3519850" url="https://lostpod.space/static/streaming-playlists/hls/5f9b59d2-758e-4f7b-9fa5-efb2fe8d4db0/1a2a6caf-50bb-49e1-8d37-6a0e54bfebbb-480-fragmented.mp4" framerate="30" duration="50" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="256" fileSize="643712" url="https://lostpod.space/static/streaming-playlists/hls/5f9b59d2-758e-4f7b-9fa5-efb2fe8d4db0/d199d4d3-e599-4d7c-9921-d02bb11b282a-144-fragmented.mp4" framerate="30" duration="50" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="802782" url="https://lostpod.space/static/streaming-playlists/hls/5f9b59d2-758e-4f7b-9fa5-efb2fe8d4db0/0b56d325-28e9-4a23-a4c9-0dc32fc2347b-0-fragmented.mp4" framerate="0" duration="50" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/179f6ddb-aab8-4c77-acfd-77689dbf63c6.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/4da8e96a-48f6-472f-ac50-d69ade662330.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">La vraie gauche en réunion 4</media:title>
            <media:description type="plain">@SpinoPizza</media:description>
        </item>
        <item>
            <title><![CDATA[la vraie gauche en réunion partie 3]]></title>
            <link>https://peertube2.cpy.re/w/r5B6W6tgby86aqd8YwfifY</link>
            <guid>https://peertube2.cpy.re/w/r5B6W6tgby86aqd8YwfifY</guid>
            <pubDate>Thu, 13 Mar 2025 17:56:17 GMT</pubDate>
            <description><![CDATA[@SpinoPizza]]></description>
            <content:encoded><![CDATA[<p>@SpinoPizza</p>
]]></content:encoded>
            <dc:creator>SpinoPizza</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="11004844" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/cb1912fa-5f1e-4d0b-ad1c-e49902d5cb98?videoFileIds=5442417&amp;videoFileIds=5442420"/>
            <media:community>
                <media:statistics views="0"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/r5B6W6tgby86aqd8YwfifY"/>
            <media:player url="https://peertube2.cpy.re/w/r5B6W6tgby86aqd8YwfifY"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/8a7e02eb-e740-4ab1-8448-14b7dbd24c2d-1920-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/716e2933-cd89-4df7-967b-e0857fba50c1-854-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/5ec2c64a-6f07-4e85-8d3b-96fbc2623a24-256-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/e9091696-7107-45a1-a9cd-be7ccd7a123f-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1920" fileSize="10253926" url="https://lostpod.space/static/streaming-playlists/hls/cb1912fa-5f1e-4d0b-ad1c-e49902d5cb98/9276e997-b746-47e2-abab-911737db2aec-1080-fragmented.mp4" framerate="60" duration="47" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="854" fileSize="3166093" url="https://lostpod.space/static/streaming-playlists/hls/cb1912fa-5f1e-4d0b-ad1c-e49902d5cb98/89ed2cb1-da9d-4437-b141-041359d4c807-480-fragmented.mp4" framerate="30" duration="47" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="256" fileSize="565531" url="https://lostpod.space/static/streaming-playlists/hls/cb1912fa-5f1e-4d0b-ad1c-e49902d5cb98/d52dea67-f673-4212-8786-027c64354da2-144-fragmented.mp4" framerate="30" duration="47" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="750918" url="https://lostpod.space/static/streaming-playlists/hls/cb1912fa-5f1e-4d0b-ad1c-e49902d5cb98/22c43739-de02-4a31-9a20-d4f97ea341ac-0-fragmented.mp4" framerate="0" duration="47" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/d8109d4f-0cc5-43e8-b5ba-ff7ef7d687f9.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/b64b6d73-3fe6-4e50-8cdd-ba01b8718dc1.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">la vraie gauche en réunion partie 3</media:title>
            <media:description type="plain">@SpinoPizza</media:description>
        </item>
        <item>
            <title><![CDATA[Effort de guerre : les pauvres seront les 1er à payer le prix]]></title>
            <link>https://peertube2.cpy.re/w/rygTEFV9DrdQXHTHfyb4Sn</link>
            <guid>https://peertube2.cpy.re/w/rygTEFV9DrdQXHTHfyb4Sn</guid>
            <pubDate>Thu, 13 Mar 2025 17:12:27 GMT</pubDate>
            <description><![CDATA[Soutenez Blast, nouveau média indépendant : https://www.blast-info.fr/soutenir "Quand Macron proclame qu’il souhaite réduire certaines dépenses publiques pour investir massivement dans ce qu’il appelle le « renforcement de nos armées » sans aug...]]></description>
            <content:encoded><![CDATA[<p>Soutenez Blast, nouveau média indépendant : <a href="https://www.blast-info.fr/soutenir" target="_blank" rel="noopener noreferrer">https://www.blast-info.fr/soutenir</a></p>
<p>"Quand Macron proclame qu’il souhaite réduire certaines dépenses publiques pour investir massivement dans ce qu’il appelle le « renforcement de nos armées » sans augmenter les impôts, cela signifie, très concrètement, que ce sont une fois de plus les retraités qui vont notamment faire les frais de ces  « nouveaux choix budgétaires » - tandis que les Français les plus riches ne seront pas concernés par ce tour de vis, puisqu’il n’est donc pas question d’augmenter par exemple leurs taux d’imposition."</p>
<p>Journaliste : Sébastien Fontenelle<br />
Montage : Mehdi Lakhal<br />
Son : Baptiste Veilhan<br />
Graphisme : Margaux Simon<br />
Production : Hicham Tragha<br />
Directeur du développement des collaborations extérieures : Mathias Enthoven<br />
Rédaction en chef : Soumaya Benaïssa<br />
Directeur de la rédaction : Denis Robert</p>
<p>Le site : <a href="https://www.blast-info.fr/" target="_blank" rel="noopener noreferrer">https://www.blast-info.fr/</a><br />
Facebook : <a href="https://www.facebook.com/blastofficiel" target="_blank" rel="noopener noreferrer">https://www.facebook.com/blastofficiel</a><br />
Twitter : <a href="https://twitter.com/blast_france" target="_blank" rel="noopener noreferrer">https://twitter.com/blast_france</a><br />
Instagram : <a href="https://www.instagram.com/blastofficiel/" target="_blank" rel="noopener noreferrer">https://www.instagram.com/blastofficiel/</a><br />
Mastodon : <a href="https://mamot.fr/web/@blast_info" target="_blank" rel="noopener noreferrer">https://mamot.fr/web/@blast_info</a><br />
Peertube : <a href="https://video.blast-info.fr/" target="_blank" rel="noopener noreferrer">https://video.blast-info.fr/</a><br />
Twitch : <a href="https://www.twitch.tv/blastinfo" target="_blank" rel="noopener noreferrer">https://www.twitch.tv/blastinfo</a></p>
<p>#macron<br />
#guerre<br />
#pauvres</p>
]]></content:encoded>
            <dc:creator>blast, le souffle de l’info</dc:creator>
            <enclosure length="126065520" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/cef60f69-43b6-4c15-b474-2f500c376fe5?videoFileIds=5442411"/>
            <media:community>
                <media:statistics views="233"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/rygTEFV9DrdQXHTHfyb4Sn"/>
            <media:player url="https://peertube2.cpy.re/w/rygTEFV9DrdQXHTHfyb4Sn"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/09557583-9007-4e5d-8ec1-a25795b1d0a7-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/dd1b45cc-ef60-4f3a-a35c-e9b49161eea2-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/3bdb6cb6-f381-48a5-bd92-4f9e3c19eaf5-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/31516125-4daa-475a-82d7-b73233822df2-240-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/2765c426-8cba-485b-ba35-f26e629f8034-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="126065520" url="https://cdn.octos3.fr/peertube-blast/streaming-playlists/hls/cef60f69-43b6-4c15-b474-2f500c376fe5/2fa582b4-a777-4c08-89b8-583002d65f11-1080-fragmented.mp4" framerate="25" duration="661" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="75243948" url="https://cdn.octos3.fr/peertube-blast/streaming-playlists/hls/cef60f69-43b6-4c15-b474-2f500c376fe5/2ff1c9c7-2aed-4cba-bb39-c9e933a7a3b6-720-fragmented.mp4" framerate="25" duration="661" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="45593311" url="https://cdn.octos3.fr/peertube-blast/streaming-playlists/hls/cef60f69-43b6-4c15-b474-2f500c376fe5/072ad7af-206c-4d36-a64b-c78a78b4a3af-480-fragmented.mp4" framerate="25" duration="661" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="22002543" url="https://cdn.octos3.fr/peertube-blast/streaming-playlists/hls/cef60f69-43b6-4c15-b474-2f500c376fe5/8e231439-b0bb-4649-a670-cc1b3fe25b69-240-fragmented.mp4" framerate="25" duration="661" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="10837673" url="https://cdn.octos3.fr/peertube-blast/streaming-playlists/hls/cef60f69-43b6-4c15-b474-2f500c376fe5/764951b3-e63f-4c27-ad3e-2c4fd568f76f-0-fragmented.mp4" framerate="0" duration="661" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/46017ff2-822c-416d-bfcf-35d44b19d1d6.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/628a7276-c289-4c5b-828f-805d6f4ff058.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Effort de guerre : les pauvres seront les 1er à payer le prix</media:title>
            <media:description type="plain">Soutenez Blast, nouveau média indépendant : https://www.blast-info.fr/soutenir "Quand Macron proclame qu’il souhaite réduire certaines dépenses publiques pour investir massivement dans ce qu’il appelle le « renforcement de nos armées » sans aug...</media:description>
        </item>
        <item>
            <title><![CDATA[Corrosive Elements + Murge + Ritual - Promo 3]]></title>
            <link>https://peertube2.cpy.re/w/3dH5xStiBzduHTCKFgJkHc</link>
            <guid>https://peertube2.cpy.re/w/3dH5xStiBzduHTCKFgJkHc</guid>
            <pubDate>Thu, 13 Mar 2025 16:21:48 GMT</pubDate>
            <dc:creator>939K15</dc:creator>
            <category>Music</category>
            <enclosure length="4349644" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/11f8849e-c6d7-49a9-a769-fc65eda2e0a1?videoFileIds=5442404"/>
            <media:community>
                <media:statistics views="0"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/3dH5xStiBzduHTCKFgJkHc"/>
            <media:player url="https://peertube2.cpy.re/w/3dH5xStiBzduHTCKFgJkHc"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/f8ea7a52-4777-41d2-9ade-1f533a6ae2ba-1920-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/8a749a87-37e0-4d51-93cf-789764180181-1280-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/a52a70ec-0d8b-450e-a11a-2f4a7c7a7acb-854-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/91210c8f-f91e-4c30-bd42-72273fabfdd9-426-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1920" fileSize="4349644" url="https://www.yiny.org/static/streaming-playlists/hls/11f8849e-c6d7-49a9-a769-fc65eda2e0a1/c165b69b-464b-408b-b1ed-942930804e1e-1080-fragmented.mp4" framerate="30" duration="5" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="1280" fileSize="2129945" url="https://www.yiny.org/static/streaming-playlists/hls/11f8849e-c6d7-49a9-a769-fc65eda2e0a1/60c31086-216c-43db-a8e6-92d5df6130bd-720-fragmented.mp4" framerate="30" duration="5" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="854" fileSize="1065738" url="https://www.yiny.org/static/streaming-playlists/hls/11f8849e-c6d7-49a9-a769-fc65eda2e0a1/3a822d68-6140-4bc1-976f-ba1680c7a008-480-fragmented.mp4" framerate="30" duration="5" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="426" fileSize="380181" url="https://www.yiny.org/static/streaming-playlists/hls/11f8849e-c6d7-49a9-a769-fc65eda2e0a1/983d873a-e77e-4276-8abb-56c5b16636b1-240-fragmented.mp4" framerate="30" duration="5" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/01437a45-904d-4c9d-b964-62f82499555a.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/dd93ef61-6011-4cde-92c5-84c2db339958.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Corrosive Elements + Murge + Ritual - Promo 3</media:title>
        </item>
        <item>
            <title><![CDATA[Parler | Avec Diane Moinet [Enfin peut-être, l'émission #6]]]></title>
            <link>https://peertube2.cpy.re/w/846hfv2aKcBr43ioDc9jhZ</link>
            <guid>https://peertube2.cpy.re/w/846hfv2aKcBr43ioDc9jhZ</guid>
            <pubDate>Thu, 13 Mar 2025 10:12:02 GMT</pubDate>
            <description><![CDATA[Tous nos réseaux : https://linktr.ee/rasoirdoc Faire un don : https://www.helloasso.com/associations/rasoir-d-oc/formulaires/1 Adhérer : https://www.helloasso.com/associations/rasoir-d-oc/adhesions/adhesion "Enfin peut-être, l'émission" est u...]]></description>
            <content:encoded><![CDATA[<p>Tous nos réseaux : <a href="https://linktr.ee/rasoirdoc" target="_blank" rel="noopener noreferrer">https://linktr.ee/rasoirdoc</a><br />
Faire un don : <a href="https://www.helloasso.com/associations/rasoir-d-oc/formulaires/1" target="_blank" rel="noopener noreferrer">https://www.helloasso.com/associations/rasoir-d-oc/formulaires/1</a><br />
Adhérer : <a href="https://www.helloasso.com/associations/rasoir-d-oc/adhesions/adhesion" target="_blank" rel="noopener noreferrer">https://www.helloasso.com/associations/rasoir-d-oc/adhesions/adhesion</a></p>
<p>"Enfin peut-être, l'émission" est un programme diffusé sur Campus FM et animé par les membres du Rasoir d'Oc, l'association de promotion de l'esprit critique. Chaque mois, on échange autour d'un sujet qui nous questionne et nous semble mériter qu'on s'y attarde.</p>
<p>Pour cette sixième émission, on a eu envie de réinviter Diane Moinet, venue faire une conférence au Rasoir d’Oc en décembre 2024. Elle nous avait parlé de la langue française, et on en voulait encore ! Et notamment qu’elle nous parle de la Fresque de la langue française dont elle est l’initiatrice. Toustes ensemble, on a discuté de langue donc, de linguistique, de norme, mais aussi du mot « pute », de l’imposition du français, du choix d’écrire en français, des synonymes à connotations opposées (jeu fabuleux), de l’Académie française of course, et de tant d’autres choses encore.</p>
<p>On a également évoqué les quelques ouvrages que voici :</p>
<ul>
<li>Malo Morvan, Classer nos manières de parler, classer les gens, éditions du commun, 2022</li>
<li>Dominique Lagorgette, Pute. Histoire d'un mot et d'un stigmate, La Découverte, 2024</li>
<li>Abdellah Taïa, "Aimer et tuer : Pourquoi j'écris en français ?", dans Maroc : la guerre des langues (ouvrage collectif), En toutes lettres, 2018</li>
<li>Normand Baillargeon, Petit cours d'autodéfense intellectuelle, Lux, 2005</li>
<li>Éliane Viennot (dir.), L'Académie contre la langue française, éditions iXe, 2016</li>
<li>Médéric Gasquet-Cyrus, En finir avec les idées fausses sur la langue française, éditions de l'Atelier, 2023</li>
<li>Marina Yaguello, Les mots et les femmes, Payot, 1978</li>
<li>Christophe Benzitoun, Qui veut la peau du français ?, Le Robert, 2021</li>
</ul>
<p>Et on a écouté :<br />
Pomme - Ceux qui rêvent<br />
Nadau - Mossur lo regent</p>
<p>Plus d'infos sur le site de notre association : <a href="http://rasoirdoc.org" target="_blank" rel="noopener noreferrer">rasoirdoc.org</a><br />
À retrouver sur 94FM à Toulouse et sur <a href="http://campusfm.net" target="_blank" rel="noopener noreferrer">campusfm.net</a></p>
]]></content:encoded>
            <dc:creator>Main nicolas_martin channel</dc:creator>
            <category>Education</category>
            <enclosure length="1019472803" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/391e74b9-42c2-47a8-a69b-e07614350971?videoFileIds=5442375"/>
            <media:community>
                <media:statistics views="3"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/846hfv2aKcBr43ioDc9jhZ"/>
            <media:player url="https://peertube2.cpy.re/w/846hfv2aKcBr43ioDc9jhZ"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/29ca07b6-b31a-4071-9499-34363e6122eb-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/0cec8c40-649d-4b5d-bd3b-d55f13902b5f-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/f0628d9a-0d83-46fb-bf19-01a8ee9c9657-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/acf33c3a-202d-4d26-addc-70a8da4b0168-360-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/26ee4901-da7d-4cec-8b08-145d414e3290-240-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/25bb0293-5f21-4192-b986-d0a15da4bed7-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="1019472803" url="https://skeptikon.fr/static/streaming-playlists/hls/391e74b9-42c2-47a8-a69b-e07614350971/ae01caa8-da54-4fc4-8766-1528f4648206-1080-fragmented.mp4" framerate="30" duration="3603" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="339568583" url="https://skeptikon.fr/static/streaming-playlists/hls/391e74b9-42c2-47a8-a69b-e07614350971/307a1908-dbb7-4dbd-b10c-04d03e3be6d4-720-fragmented.mp4" framerate="30" duration="3603" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="183613509" url="https://skeptikon.fr/static/streaming-playlists/hls/391e74b9-42c2-47a8-a69b-e07614350971/b497f520-053e-40da-a55c-2cc454025cd3-480-fragmented.mp4" framerate="30" duration="3603" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="360" fileSize="133557272" url="https://skeptikon.fr/static/streaming-playlists/hls/391e74b9-42c2-47a8-a69b-e07614350971/0e0db373-2bf3-4c84-aa22-7a73e7c74368-360-fragmented.mp4" framerate="30" duration="3603" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="95318613" url="https://skeptikon.fr/static/streaming-playlists/hls/391e74b9-42c2-47a8-a69b-e07614350971/6516495f-6519-4060-b2a7-9ec031fa00ec-240-fragmented.mp4" framerate="30" duration="3603" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="60031619" url="https://skeptikon.fr/static/streaming-playlists/hls/391e74b9-42c2-47a8-a69b-e07614350971/1d586fe7-123d-425b-a78a-0c7739955638-0-fragmented.mp4" framerate="0" duration="3603" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/95a88832-2e50-4fc4-b472-bb10ccc6864b.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/9aa48732-5526-40b7-9bf6-7e31e35f62a9.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Parler | Avec Diane Moinet [Enfin peut-être, l'émission #6]</media:title>
            <media:description type="plain">Tous nos réseaux : https://linktr.ee/rasoirdoc Faire un don : https://www.helloasso.com/associations/rasoir-d-oc/formulaires/1 Adhérer : https://www.helloasso.com/associations/rasoir-d-oc/adhesions/adhesion "Enfin peut-être, l'émission" est u...</media:description>
        </item>
        <item>
            <title><![CDATA[Radar Men From The Moon + Pan - Promo 3]]></title>
            <link>https://peertube2.cpy.re/w/o9JoXs1JyNrXGMHARGzgN6</link>
            <guid>https://peertube2.cpy.re/w/o9JoXs1JyNrXGMHARGzgN6</guid>
            <pubDate>Thu, 13 Mar 2025 07:55:59 GMT</pubDate>
            <dc:creator>939K15</dc:creator>
            <category>Music</category>
            <enclosure length="1305183" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/b36120c5-a29a-4a79-9413-c6c24973a0d5?videoFileIds=5442372"/>
            <media:community>
                <media:statistics views="0"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/o9JoXs1JyNrXGMHARGzgN6"/>
            <media:player url="https://peertube2.cpy.re/w/o9JoXs1JyNrXGMHARGzgN6"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/fd0e382d-f91a-4418-ba13-fe6de6746f75-1920-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/00564a51-19eb-43fb-bdc3-ad9c73921fcb-1280-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/1174134e-5c5d-482d-8f36-05fb772aef6c-854-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/1d8fe51e-f2a5-4244-94c8-068b1eab6a4f-426-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1920" fileSize="1305183" url="https://www.yiny.org/static/streaming-playlists/hls/b36120c5-a29a-4a79-9413-c6c24973a0d5/e965ba10-f841-41da-abbc-51cfaa34fb49-1080-fragmented.mp4" framerate="30" duration="5" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="1280" fileSize="759420" url="https://www.yiny.org/static/streaming-playlists/hls/b36120c5-a29a-4a79-9413-c6c24973a0d5/c33ea25b-91dc-4494-9311-4e7fbd4e98fe-720-fragmented.mp4" framerate="30" duration="5" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="854" fileSize="435314" url="https://www.yiny.org/static/streaming-playlists/hls/b36120c5-a29a-4a79-9413-c6c24973a0d5/d49b0790-2424-4890-9ef4-7925c375ab8b-480-fragmented.mp4" framerate="30" duration="5" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="426" fileSize="150798" url="https://www.yiny.org/static/streaming-playlists/hls/b36120c5-a29a-4a79-9413-c6c24973a0d5/8b0b9cc5-c05b-4f3a-be34-24e6c765b458-240-fragmented.mp4" framerate="30" duration="5" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/fdd70389-8c31-40a1-b3d8-ac8722c5427f.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/84f466a4-c43c-42f6-8d7f-5cc95f2b204c.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Radar Men From The Moon + Pan - Promo 3</media:title>
        </item>
        <item>
            <title><![CDATA[Gestion des noeuds "adresse" sous forme de points avec Josm - 2]]></title>
            <link>https://peertube2.cpy.re/w/rdsScf5WhMnG2g3UXtL1YH</link>
            <guid>https://peertube2.cpy.re/w/rdsScf5WhMnG2g3UXtL1YH</guid>
            <pubDate>Wed, 12 Mar 2025 23:15:15 GMT</pubDate>
            <description><![CDATA[Voici quelques astuces pour gérer facilement les adresses sous forme de noeuds avec Josm, et aider les habitués des relations associatedStreet. Cette partie montre l'utilisation du plugin "highwaynamemodification"]]></description>
            <content:encoded><![CDATA[<p>Voici quelques astuces pour gérer facilement les adresses sous forme de noeuds avec Josm, et aider les habitués des relations associatedStreet.<br />
Cette partie montre l'utilisation du plugin "highwaynamemodification"</p>
]]></content:encoded>
            <dc:creator>Carto'Cité</dc:creator>
            <category>Science &amp; Technology</category>
            <enclosure length="42164837" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/cc31f2b9-24a9-465f-9795-0b05c3be0cc9?videoFileIds=5442340"/>
            <media:community>
                <media:statistics views="18"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/rdsScf5WhMnG2g3UXtL1YH"/>
            <media:player url="https://peertube2.cpy.re/w/rdsScf5WhMnG2g3UXtL1YH"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/04db1ae4-9c64-4509-a319-89d26e82810c-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/97576c53-8fe7-4469-a290-840c716e2014-480-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="42164837" url="https://peertube.openstreetmap.fr/static/streaming-playlists/hls/cc31f2b9-24a9-465f-9795-0b05c3be0cc9/aaf373a6-6292-442a-8be8-475588e090e8-1080-fragmented.mp4" framerate="30" duration="166" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="14803732" url="https://peertube.openstreetmap.fr/static/streaming-playlists/hls/cc31f2b9-24a9-465f-9795-0b05c3be0cc9/6131c4e2-eb4f-4a19-890b-d609b12554ad-480-fragmented.mp4" framerate="30" duration="166" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/3c861f4d-fb3d-477b-80c5-d79b77dafca1.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/9597df87-b36c-4581-9d19-6353b38f6767.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Gestion des noeuds "adresse" sous forme de points avec Josm - 2</media:title>
            <media:description type="plain">Voici quelques astuces pour gérer facilement les adresses sous forme de noeuds avec Josm, et aider les habitués des relations associatedStreet. Cette partie montre l'utilisation du plugin "highwaynamemodification"</media:description>
        </item>
        <item>
            <title><![CDATA[Gestion des noeuds "adresse" sous forme de points avec Josm - 1]]></title>
            <link>https://peertube2.cpy.re/w/igfDam7Lmw71xhZXKvpzGS</link>
            <guid>https://peertube2.cpy.re/w/igfDam7Lmw71xhZXKvpzGS</guid>
            <pubDate>Wed, 12 Mar 2025 23:00:21 GMT</pubDate>
            <description><![CDATA[Voici quelques astuces pour gérer facilement les adresses sous forme de noeuds avec Josm, et aider les habitués des relations associatedStreet.]]></description>
            <content:encoded><![CDATA[<p>Voici quelques astuces pour gérer facilement les adresses sous forme de noeuds avec Josm, et aider les habitués des relations associatedStreet.</p>
]]></content:encoded>
            <dc:creator>Carto'Cité</dc:creator>
            <category>Science &amp; Technology</category>
            <enclosure length="19211811" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/8bcc8953-525e-4518-b48b-9dcdf210256e?videoFileIds=5442326"/>
            <media:community>
                <media:statistics views="23"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/igfDam7Lmw71xhZXKvpzGS"/>
            <media:player url="https://peertube2.cpy.re/w/igfDam7Lmw71xhZXKvpzGS"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/6b5ff402-1d88-4961-b110-37f0baae19c0-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/e8726297-156b-41c0-b39d-ba41fd8c8833-480-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="19211811" url="https://peertube.openstreetmap.fr/static/streaming-playlists/hls/8bcc8953-525e-4518-b48b-9dcdf210256e/d7171e18-5771-4a05-8bec-218eeb1bc734-1080-fragmented.mp4" framerate="30" duration="154" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="10176694" url="https://peertube.openstreetmap.fr/static/streaming-playlists/hls/8bcc8953-525e-4518-b48b-9dcdf210256e/bf56a7fd-41a3-44be-b49f-736bca3bc4a7-480-fragmented.mp4" framerate="30" duration="154" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/fc2f6ecc-79a5-425d-9f83-2ccd9163f64b.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/06970dff-8dfd-4e4e-b3fc-c819891925f1.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Gestion des noeuds "adresse" sous forme de points avec Josm - 1</media:title>
            <media:description type="plain">Voici quelques astuces pour gérer facilement les adresses sous forme de noeuds avec Josm, et aider les habitués des relations associatedStreet.</media:description>
        </item>
        <item>
            <title><![CDATA[Utilisation d'un réchaud à alcool en canette alu]]></title>
            <link>https://peertube2.cpy.re/w/vSkE1Uym3M1z8DHfmY5NjS</link>
            <guid>https://peertube2.cpy.re/w/vSkE1Uym3M1z8DHfmY5NjS</guid>
            <pubDate>Wed, 12 Mar 2025 22:09:31 GMT</pubDate>
            <description><![CDATA[Celui-ci : https://framapiaf.org/@millerebonds/114089394099536753]]></description>
            <content:encoded><![CDATA[<p>Celui-ci :<br />
<a href="https://framapiaf.org/@millerebonds/114089394099536753" target="_blank" rel="noopener noreferrer">https://framapiaf.org/@millerebonds/114089394099536753</a></p>
]]></content:encoded>
            <dc:creator>Daniel millerebonds</dc:creator>
            <category>Travels</category>
            <enclosure length="319106824" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/f1e0529e-d4ab-44a9-a1cf-0ea5f7bc8a5e?videoFileIds=5442307"/>
            <media:community>
                <media:statistics views="6"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/vSkE1Uym3M1z8DHfmY5NjS"/>
            <media:player url="https://peertube2.cpy.re/w/vSkE1Uym3M1z8DHfmY5NjS"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/d0aa9ef0-6411-4c92-8958-6807a941e2e6-1920.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/b58f6302-5f58-4ffc-9256-eb8ca6d0f728-1280.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/4e3a3df2-8723-4c58-8ba6-99e562b69133-854.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/dda3ec32-c0d4-4926-bc63-bfa44da999ba-1920-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/99c7c04f-fd29-4127-8e07-c42e7e611fc6-1280-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/e986fb1d-69ac-418e-806b-50fecf6320da-854-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1920" fileSize="319106824" url="https://tube.thechangebook.org/static/web-videos/ab869fc2-8399-4183-9c1c-d94b4edb787e-1080.mp4" framerate="30" duration="728" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="1280" fileSize="107406930" url="https://tube.thechangebook.org/static/web-videos/eba93523-58b1-4876-86d3-6011b39ab2a9-720.mp4" framerate="30" duration="728" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="854" fileSize="64541054" url="https://tube.thechangebook.org/static/web-videos/4e11bdf2-3b58-4089-8222-7b9f35842b82-480.mp4" framerate="30" duration="728" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1920" fileSize="318852514" url="https://tube.thechangebook.org/static/streaming-playlists/hls/f1e0529e-d4ab-44a9-a1cf-0ea5f7bc8a5e/853c97d8-d496-42f6-b88f-700ff79d5be1-1080-fragmented.mp4" framerate="30" duration="728" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1280" fileSize="107121280" url="https://tube.thechangebook.org/static/streaming-playlists/hls/f1e0529e-d4ab-44a9-a1cf-0ea5f7bc8a5e/9c515945-b946-4409-87e6-e7b80a891c31-720-fragmented.mp4" framerate="30" duration="728" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="854" fileSize="64268600" url="https://tube.thechangebook.org/static/streaming-playlists/hls/f1e0529e-d4ab-44a9-a1cf-0ea5f7bc8a5e/abd443c3-adc5-42ec-819e-fd45482544a8-480-fragmented.mp4" framerate="30" duration="728" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/b0e70921-4403-453d-8c9d-551aa3db5d8e.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/eff70188-e665-4aa3-8703-36755086a73e.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Utilisation d'un réchaud à alcool en canette alu</media:title>
            <media:description type="plain">Celui-ci : https://framapiaf.org/@millerebonds/114089394099536753</media:description>
        </item>
        <item>
            <title><![CDATA[Guéant-Djouhri : une amitié enrichissante #sarkozy #shorts #mediapart]]></title>
            <link>https://peertube2.cpy.re/w/rYMsgXJGW2qB71dyrHRX8D</link>
            <guid>https://peertube2.cpy.re/w/rYMsgXJGW2qB71dyrHRX8D</guid>
            <pubDate>Wed, 12 Mar 2025 19:57:43 GMT</pubDate>
            <dc:creator>Mediapart [Mirror]</dc:creator>
            <enclosure length="24061972" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/d2622108-b0fa-4b72-86a5-31267a9a484f?videoFileIds=5442303&amp;videoFileIds=5442305"/>
            <media:community>
                <media:statistics views="0"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/rYMsgXJGW2qB71dyrHRX8D"/>
            <media:player url="https://peertube2.cpy.re/w/rYMsgXJGW2qB71dyrHRX8D"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/8774569b-e3a7-4cdc-bd5e-6db5644bd4fa-1280-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/6b0ebfb0-72bd-4320-bcba-22400b1839a4-854-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/aaf95b0e-cca2-4056-ba65-6be77a45d537-256-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/9af08a86-9b1d-4fd7-800c-d5bc0adba577-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1280" fileSize="21185318" url="https://lostpod.space/static/streaming-playlists/hls/d2622108-b0fa-4b72-86a5-31267a9a484f/c86101df-547c-47cb-a10b-4a2641577f59-720-fragmented.mp4" framerate="30" duration="178" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="854" fileSize="12963135" url="https://lostpod.space/static/streaming-playlists/hls/d2622108-b0fa-4b72-86a5-31267a9a484f/04c86914-47f0-4cf8-8da4-c11443a82876-480-fragmented.mp4" framerate="30" duration="178" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="256" fileSize="2309936" url="https://lostpod.space/static/streaming-playlists/hls/d2622108-b0fa-4b72-86a5-31267a9a484f/4f02fd34-4cc6-443f-bfd5-a8cca0d23642-144-fragmented.mp4" framerate="30" duration="178" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="2876654" url="https://lostpod.space/static/streaming-playlists/hls/d2622108-b0fa-4b72-86a5-31267a9a484f/eaf4cc74-88c6-460d-8e1d-f8f31d75f4c1-0-fragmented.mp4" framerate="0" duration="178" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/ffa82e7a-58ad-4125-a6de-128ea2e2ef93.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/7c4b90ec-7dc4-42e7-bc21-f862acad0c63.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Guéant-Djouhri : une amitié enrichissante #sarkozy #shorts #mediapart</media:title>
        </item>
        <item>
            <title><![CDATA[Protoje - BIG 45 (Official Video)]]></title>
            <link>https://peertube2.cpy.re/w/nKpWc6zJ7EMmvrMr7RWsDD</link>
            <guid>https://peertube2.cpy.re/w/nKpWc6zJ7EMmvrMr7RWsDD</guid>
            <pubDate>Wed, 12 Mar 2025 19:44:50 GMT</pubDate>
            <description><![CDATA[Protoje - BIG 45 (Official Video) Out Now: https://ineffable.to/big45 Produced by The Indiggnation &amp; Winta James In.Digg.Nation Collective under exclusive license to Ineffable Records 2025 Directed by SAMO DOP: Fernando Hevia Prod. Mana...]]></description>
            <content:encoded><![CDATA[<p>Protoje - BIG 45 (Official Video)<br />
Out Now: <a href="https://ineffable.to/big45" target="_blank" rel="noopener noreferrer">https://ineffable.to/big45</a></p>
<p>Produced by The Indiggnation &amp; Winta James<br />
In.Digg.Nation Collective under exclusive license to Ineffable Records 2025</p>
<p>Directed by SAMO<br />
DOP: Fernando Hevia<br />
Prod. Manager: Kim Fries<br />
Art Dpt: Nicole Marsh<br />
1st AC: Dwight Taylor<br />
Grip: Kadri Samuels<br />
PA: Lemar Grant<br />
Talent: Junior Congo<br />
Prod. Company: Filmaica</p>
<p>Protoje online:<br />
<a href="http://www.protoje.com" target="_blank" rel="noopener noreferrer">http://www.protoje.com</a><br />
<a href="https://www.facebook.com/protoje/" target="_blank" rel="noopener noreferrer">https://www.facebook.com/protoje/</a><br />
<a href="https://x.com/protoje?lang=en" target="_blank" rel="noopener noreferrer">https://x.com/protoje?lang=en</a><br />
<a href="https://www.instagram.com/protoje/" target="_blank" rel="noopener noreferrer">https://www.instagram.com/protoje/</a><br />
<a href="https://soundcloud.com/protoje" target="_blank" rel="noopener noreferrer">https://soundcloud.com/protoje</a><br />
<a href="https://www.tiktok.com/@protoje_" target="_blank" rel="noopener noreferrer">https://www.tiktok.com/@protoje_</a></p>
<p>Lyrics:</p>
<p>Okay<br />
You now in tune to The Indiggnation<br />
Protoje deh pon the station<br />
All massive and crew<br />
Step through</p>
<p>Chorus<br />
Big Sound string up, kick it off like woah<br />
Inna di arena we nah lie low<br />
Good sensimilla is all I grow<br />
Rastafari know, Rastafari know<br />
Big 45 buss it off right now<br />
Man haffi survive, is a fight right through<br />
Never dim you light, inna heights Shiloh<br />
Rastafari know (weh dem feel like?)</p>
<p>Oh it is a blessing fi me see another day<br />
Never lose you faith when trouble come inna yuh way<br />
Reality created by your thoughts and what you say<br />
Secrets in the spirits, the ancestors dem no play<br />
No lenience fi the grievance so no risky<br />
No allegiance or obedience to the trickery<br />
Them send legions from regions fi di victory<br />
But the heathens and demons no defeat we</p>
<p>Chorus<br />
Big Sound string up, kick it off like woah<br />
Inna di arena we nah lie low<br />
Good sensimilla is all I grow<br />
Rastafari know, Rastafari know<br />
Big 45 buss it off right now<br />
Man haffi survive, is a fight right through<br />
Never dim you light, inna heights Shiloh<br />
Rastafari know<br />
(Well look ya, then watch ya)<br />
Many gone run and a many gone flee<br />
We stand up strong inna militancy<br />
And we no look problem but if you gone bring it<br />
Better can solve dem, a beg you don’t blame me<br />
Jah make him call and the mission it clear<br />
Love above all, say no vision compare<br />
Babylon falling when we no show fear here<br />
Reggae come storming again, hey<br />
And mi say</p>
<p>Chorus<br />
Big Sound string up, kick it off like woah<br />
Inna di arena we nah lie low<br />
Good sensimilla is all I grow<br />
Rastafari know (weh dem, aye, aye)<br />
And mi say<br />
Big 45 buss it off right now<br />
Man haffi survive, is a fight right through<br />
Never dim you light, inna heights Shiloh<br />
Rastafari know (weh dem feel like?)<br />
Can say you don’t see<br />
Or say you don’t know<br />
But when it start reach you<br />
A wah you gone do?<br />
So sekkle and cease cause Jah in control<br />
That make we naa ease up nor buckle or fold<br />
Majesty reveal wah we representing<br />
Haffi broke ee seal with no hesitancy<br />
So whenever we reach in you residency<br />
Overstand the livity is love we bringing always</p>
<p>Chorus<br />
Big Sound string up, kick it off like woah<br />
Inna di arena we nah lie low<br />
Good sensimilla is all I grow<br />
Rastafari know, Rastafari know<br />
Big 45 buss it off right now<br />
Man haffi survive, is a fight right through<br />
Never dim you light, inna heights Shiloh<br />
Rastafari know (weh dem feel like?)</p>
<p>#protoje #indiggnation #ineffablerecords</p>
]]></content:encoded>
            <dc:creator>Rastapuls Reggae Vidéos</dc:creator>
            <category>Music</category>
            <enclosure length="81857245" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/b01fa4de-ecb4-47cb-bce3-14591bf6bc2f?videoFileIds=5442294"/>
            <media:community>
                <media:statistics views="3"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/nKpWc6zJ7EMmvrMr7RWsDD"/>
            <media:player url="https://peertube2.cpy.re/w/nKpWc6zJ7EMmvrMr7RWsDD"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/a9dca73b-7f08-4403-9b8a-f203e6546343-1080.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/0d9e1350-4187-47af-9bd6-bb406ec1a4a1-720.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/b4bb831e-c59d-4488-851f-272e4ea89a12-240.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/38e3f6e8-851e-420b-9074-e8250fc004a5-0.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/4b90f28b-8e3d-44ef-bb16-18a28ceb186f-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/1182a4fa-40d8-4cb3-ab14-d60f35594064-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/f98af6d2-7cd5-479d-b32a-c58695ffcbcb-240-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/050918bd-3f39-4c8a-bcb6-40ac47e5bf9f-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="81857245" url="https://video.rastapuls.com/static/web-videos/706f78cb-1707-439a-8e07-deb8f2ef0875-1080.mp4" framerate="24" duration="225" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="54164475" url="https://video.rastapuls.com/static/web-videos/663e1777-f0af-461a-b511-da7052613639-720.mp4" framerate="24" duration="225" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="12831898" url="https://video.rastapuls.com/static/web-videos/f6926ea9-6f29-4070-bb01-b4f964e1ade8-240.mp4" framerate="24" duration="225" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="3635228" url="https://video.rastapuls.com/static/web-videos/ff5e5f57-c97e-4abf-aee8-32d85ffe58de-0.mp4" framerate="0" duration="225" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="89694496" url="https://video.rastapuls.com/static/streaming-playlists/hls/b01fa4de-ecb4-47cb-bce3-14591bf6bc2f/43e696bc-9093-4d23-b22b-0ece3a49f40f-1080-fragmented.mp4" framerate="24" duration="225" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="54122257" url="https://video.rastapuls.com/static/streaming-playlists/hls/b01fa4de-ecb4-47cb-bce3-14591bf6bc2f/244c15cb-3ff4-4d84-a2cf-ec1255737714-720-fragmented.mp4" framerate="24" duration="225" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="12789900" url="https://video.rastapuls.com/static/streaming-playlists/hls/b01fa4de-ecb4-47cb-bce3-14591bf6bc2f/eb22d4bd-eb85-4474-8856-4d4404d1028e-240-fragmented.mp4" framerate="24" duration="225" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="3644258" url="https://video.rastapuls.com/static/streaming-playlists/hls/b01fa4de-ecb4-47cb-bce3-14591bf6bc2f/d2c2ffba-33d9-4195-90ed-1a27d1f0e981-0-fragmented.mp4" framerate="0" duration="225" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/643ac503-f9da-4f94-9356-bfc43d88bd2b.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/92232e41-5c6b-47ea-bd60-4a7b294a3efc.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Protoje - BIG 45 (Official Video)</media:title>
            <media:description type="plain">Protoje - BIG 45 (Official Video) Out Now: https://ineffable.to/big45 Produced by The Indiggnation &amp; Winta James In.Digg.Nation Collective under exclusive license to Ineffable Records 2025 Directed by SAMO DOP: Fernando Hevia Prod. Mana...</media:description>
        </item>
        <item>
            <title><![CDATA[Mediapart fête ses 17 ans : ses directrices vous répondent en direct]]></title>
            <link>https://peertube2.cpy.re/w/x8ejUHqPr4U78wmzNMXNqu</link>
            <guid>https://peertube2.cpy.re/w/x8ejUHqPr4U78wmzNMXNqu</guid>
            <pubDate>Wed, 12 Mar 2025 18:43:16 GMT</pubDate>
            <description><![CDATA[À l’occasion de l’anniversaire de Mediapart, Tarik Safraoui reçoit Carine Fouteau, présidente et directrice de la publication, Cécile Sourd, directrice générale, et Lénaïg Bredoux, codirectrice éditoriale pour vous présenter tous les chiffres de l...]]></description>
            <content:encoded><![CDATA[<p>À l’occasion de l’anniversaire de Mediapart, Tarik Safraoui reçoit Carine Fouteau, présidente et directrice de la publication, Cécile Sourd, directrice générale, et Lénaïg Bredoux, codirectrice éditoriale pour vous présenter tous les chiffres de l'année écoulée, en faire le bilan et évoquer les perspectives.</p>
<p>00:00 Introduction<br />
07:39 Carine Fouteau<br />
43:50 Cécile Sourd<br />
01:19:01 Lénaïg Bredoux</p>
<p>💥 Pour consulter le rapport d'impact de Mediapart : <a href="https://www.mediapart.fr/rapport-impact" target="_blank" rel="noopener noreferrer">https://www.mediapart.fr/rapport-impact</a></p>
<p>📈 Mediapart en 2024 : des résultats exceptionnels dans un monde en crise : <a href="https://blogs.mediapart.fr/carine-fouteau/blog/110325/mediapart-en-2024-des-resultats-exceptionnels-dans-un-monde-en-crise" target="_blank" rel="noopener noreferrer">https://blogs.mediapart.fr/carine-fouteau/blog/110325/mediapart-en-2024-des-resultats-exceptionnels-dans-un-monde-en-crise</a></p>
<p>Mediapart n’a qu’une seule ressource financière : l’argent issu de ses abonnements. Pas d’actionnaire milliardaire, pas de publicités, pas de subventions de l’État, pas d’argent versé par Google, Amazon, Facebook…<br />
➡️ Pour nous aider à enrichir notre production vidéo, soutenez-nous en vous abonnant à partir de 1 euro : <a href="https://abo.mediapart.fr/abonnement/d" target="_blank" rel="noopener noreferrer">https://abo.mediapart.fr/abonnement/d</a>...<br />
➡️ Si vous êtes déjà abonné·e ou que vous souhaitez nous soutenir autrement, vous avez un autre moyen d’agir , le don : <a href="https://donorbox.org/mediapart?default_interval=o" target="_blank" rel="noopener noreferrer">https://donorbox.org/mediapart?default_interval=o</a><br />
➡️ Inscrivez-vous à nos newsletters ! <a href="https://info.mediapart.fr/renderers/page_inscription?at_medium=rs-cm&amp;at_campaign=youtube&amp;at_format=description" target="_blank" rel="noopener noreferrer">https://info.mediapart.fr/renderers/page_inscription?at_medium=rs-cm&amp;at_campaign=youtube&amp;at_format=description</a></p>
]]></content:encoded>
            <dc:creator>Mediapart [Mirror]</dc:creator>
            <enclosure length="2078923289" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/fc0db7a0-da4c-4b29-9b66-9b6e07952b6c?videoFileIds=5442290&amp;videoFileIds=5442292"/>
            <media:community>
                <media:statistics views="0"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/x8ejUHqPr4U78wmzNMXNqu"/>
            <media:player url="https://peertube2.cpy.re/w/x8ejUHqPr4U78wmzNMXNqu"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/3faaf3df-9a65-4c9a-ba87-0674271eb94c-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/c2023a5c-9fcf-4245-b06a-3c85337c9bc6-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/e3c3d063-39ac-4bca-ab68-9e7a199c5d4b-144-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/9aa171b1-6cac-4372-88d4-011ea8b1ae39-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="1961948073" url="https://lostpod.space/static/streaming-playlists/hls/fc0db7a0-da4c-4b29-9b66-9b6e07952b6c/b19ab85f-dcd6-48f2-93c9-ebd344e896c4-1080-fragmented.mp4" framerate="60" duration="7250" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="567514106" url="https://lostpod.space/static/streaming-playlists/hls/fc0db7a0-da4c-4b29-9b66-9b6e07952b6c/84cccbf8-7dcc-43b7-9788-38590e5bba53-480-fragmented.mp4" framerate="30" duration="7250" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="144" fileSize="94070773" url="https://lostpod.space/static/streaming-playlists/hls/fc0db7a0-da4c-4b29-9b66-9b6e07952b6c/919617a1-4960-4e57-872b-123e661550e5-144-fragmented.mp4" framerate="30" duration="7250" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="116975216" url="https://lostpod.space/static/streaming-playlists/hls/fc0db7a0-da4c-4b29-9b66-9b6e07952b6c/ea44fe4e-3a8c-4481-9905-50098de567ec-0-fragmented.mp4" framerate="0" duration="7250" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/5f1051cc-ebf8-486f-9930-dbf6cc944583.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/ecf7eb0d-9ccc-4145-8c9b-d9c91b0b2f42.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Mediapart fête ses 17 ans : ses directrices vous répondent en direct</media:title>
            <media:description type="plain">À l’occasion de l’anniversaire de Mediapart, Tarik Safraoui reçoit Carine Fouteau, présidente et directrice de la publication, Cécile Sourd, directrice générale, et Lénaïg Bredoux, codirectrice éditoriale pour vous présenter tous les chiffres de l...</media:description>
        </item>
        <item>
            <title><![CDATA[Aurore Stéphant nous présente le couple le plus important actuellement]]></title>
            <link>https://peertube2.cpy.re/w/c9sX15s7Z3YfztZUPQNVzz</link>
            <guid>https://peertube2.cpy.re/w/c9sX15s7Z3YfztZUPQNVzz</guid>
            <pubDate>Wed, 12 Mar 2025 17:25:32 GMT</pubDate>
            <description><![CDATA[Eh non, ce n'est malheureusement pas le couple Macron le plus important dans la société actuelle. Aurore Stéphant nous parle ici du paradoxe énergie/métal, une belle limite de l'écologie moderne. Réduire la qualité de la vidéo. S'abonner à la ch...]]></description>
            <content:encoded><![CDATA[<p>Eh non, ce n'est malheureusement pas le couple Macron le plus important dans la société actuelle. Aurore Stéphant nous parle ici du paradoxe énergie/métal, une belle limite de l'écologie moderne.</p>
<p>Réduire la qualité de la vidéo.</p>
<p>S'abonner à la chaîne <a href="https://www.youtube.com/@tech4climate/videos" target="_blank" rel="noopener noreferrer">https://www.youtube.com/@tech4climate/videos</a><br />
Découvrir le travail de Systext <a href="https://www.systext.org/" target="_blank" rel="noopener noreferrer">https://www.systext.org/</a></p>
<p>Pour changer le système :<br />
Réclamer le RIC constituant : <a href="https://petitions.assemblee-nationale.fr/initiatives/i-2082" target="_blank" rel="noopener noreferrer">https://petitions.assemblee-nationale.fr/initiatives/i-2082</a><br />
Changer de banque: <a href="https://www.lanef.com/" target="_blank" rel="noopener noreferrer">https://www.lanef.com/</a> <a href="https://change-de-banque.org/particulier/" target="_blank" rel="noopener noreferrer">https://change-de-banque.org/particulier/</a><br />
Passer à l'action militante: <a href="https://extinctionrebellion.fr/" target="_blank" rel="noopener noreferrer">https://extinctionrebellion.fr/</a> <a href="https://ripostealimentaire.fr/" target="_blank" rel="noopener noreferrer">https://ripostealimentaire.fr/</a><br />
Changer de travail : <a href="https://jobs.makesense.org/fr" target="_blank" rel="noopener noreferrer">https://jobs.makesense.org/fr</a></p>
<p>Source<br />
Stéphant <a href="https://www.youtube.com/watch?v=FNvT-0f_11Q" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=FNvT-0f_11Q</a><br />
Musique <a href="https://www.youtube.com/watch?v=39PVEaSytpo" target="_blank" rel="noopener noreferrer">https://www.youtube.com/watch?v=39PVEaSytpo</a></p>
<p>Réponses au quiz de fin :</p>
<p>/!\ Description à ne pas lire avant d'avoir vu la vidéo entièrement<br />
/!\</p>
<p>/!\</p>
<p>/!\ <br />
/!\</p>
<p>Quel est le taux de recyclage de l'aluminium et du cuivre ?<br />
45%.</p>
<p>Que représente le véhicule électrique dans la transition énergétique ?<br />
60% de la demande métallique.</p>
<p>Quels sont les 3 aspects sur lesquels travailler pour améliorer notre impact métallique ?<br />
Éco-conception, recyclage (homogénéisation des dispositifs), sobriété.</p>
<p>#stéphant #écologie #mine #industrie #sobriété#extrait #ethiqueettac</p>
]]></content:encoded>
            <dc:creator>ethique_et_tac</dc:creator>
            <category>News &amp; Politics</category>
            <enclosure length="240028944" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/5a431538-de9c-4674-b246-3a240440671f?videoFileIds=5442276"/>
            <media:community>
                <media:statistics views="5"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/c9sX15s7Z3YfztZUPQNVzz"/>
            <media:player url="https://peertube2.cpy.re/w/c9sX15s7Z3YfztZUPQNVzz"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/8f5ddd48-50ff-4b16-a8ce-1892e42ae269-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/1089deda-eeae-4a5c-b3ba-b7b6b3cd59e6-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/eda0c7b1-bbe8-4281-a189-80cc31615ca3-480-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/12f1b180-58c1-4d23-aa8a-13c81114f8fb-240-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/cc7cb539-ab39-4177-a541-9e7efd245d2e-0-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="240028944" url="https://static.indymotion.fr/streaming-playlists/hls/5a431538-de9c-4674-b246-3a240440671f/f099d1f7-c52f-4132-ba4c-ae2256dd06d2-1080-fragmented.mp4" framerate="25" duration="620" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="136704500" url="https://static.indymotion.fr/streaming-playlists/hls/5a431538-de9c-4674-b246-3a240440671f/a3a4f721-a8aa-4a7f-8cb6-354836cb58a1-720-fragmented.mp4" framerate="25" duration="620" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="82828750" url="https://static.indymotion.fr/streaming-playlists/hls/5a431538-de9c-4674-b246-3a240440671f/3bd030ae-7e5a-40ee-9ded-16081c1790dc-480-fragmented.mp4" framerate="25" duration="620" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="240" fileSize="37600463" url="https://static.indymotion.fr/streaming-playlists/hls/5a431538-de9c-4674-b246-3a240440671f/9eaa800b-26c2-4f51-b8db-674f4dd25bf0-240-fragmented.mp4" framerate="25" duration="620" isDefault="false"/>
                <media:content type="audio/mp4" medium="video" height="0" fileSize="10031717" url="https://static.indymotion.fr/streaming-playlists/hls/5a431538-de9c-4674-b246-3a240440671f/3261d1f5-8b86-4122-9045-8c86c58898e9-0-fragmented.mp4" framerate="0" duration="620" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/9a1fa41b-b418-4a0b-b888-f4a761d904e2.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/4f804653-85f9-4334-a69c-b1eeb4a88569.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Aurore Stéphant nous présente le couple le plus important actuellement</media:title>
            <media:description type="plain">Eh non, ce n'est malheureusement pas le couple Macron le plus important dans la société actuelle. Aurore Stéphant nous parle ici du paradoxe énergie/métal, une belle limite de l'écologie moderne. Réduire la qualité de la vidéo. S'abonner à la ch...</media:description>
        </item>
        <item>
            <title><![CDATA[Cessez-le-feu en Ukraine : le risque d’un piège russe]]></title>
            <link>https://peertube2.cpy.re/w/tYJf9qhpwNpRThngc7XnVo</link>
            <guid>https://peertube2.cpy.re/w/tYJf9qhpwNpRThngc7XnVo</guid>
            <pubDate>Wed, 12 Mar 2025 17:02:48 GMT</pubDate>
            <description><![CDATA[Depuis son retour à la Maison blanche, Donald Trump veut forcer l'Ukraine à accepter un cessez-le-feu avec la Russie. Mais il refuse pour l’instant de s’engager sur des « garanties de sécurité » : c'est à dire un dispositif demandé par Volodymyr Z...]]></description>
            <content:encoded><![CDATA[<p>Depuis son retour à la Maison blanche, Donald Trump veut forcer l'Ukraine à accepter un cessez-le-feu avec la Russie. Mais il refuse pour l’instant de s’engager sur des « garanties de sécurité » : c'est à dire un dispositif demandé par Volodymyr Zelensky pour dissuader Poutine de se réarmer et de réattaquer l’Ukraine, voire l’Europe, à l’avenir.</p>
<p>Dans cette vidéo, Sylvie Kauffmann, éditorialiste au Monde et spécialiste des relations internationales, et Pierre Haroche, maître de conférences en politique internationale à l’Université catholique de Lille, expliquent les enjeux de cet échange et son impact sur la politique de défense européenne.</p>

<p>📝 A l’approche de nos 2 millions d’abonnés sur la chaîne on vous propose de remplir un questionnaire pour imaginer avec nous nos futures vidéos.<br />
C’est ici 👉 <a href="https://docs.google.com/forms/d/e/1FAIpQLSd9JUV9xD82DCW2FpCuEErK0Gvo2jm5J1VEHjdeek5RrXtigw/viewform" target="_blank" rel="noopener noreferrer">https://docs.google.com/forms/d/e/1FAIpQLSd9JUV9xD82DCW2FpCuEErK0Gvo2jm5J1VEHjdeek5RrXtigw/viewform</a></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="86878899" type="video/mp4" url="https://peertube2.cpy.re/download/videos/generate/e2926dbc-7584-4d26-923f-680ca35d2f24?videoFileIds=5442275"/>
            <media:community>
                <media:statistics views="12"/>
            </media:community>
            <media:embed url="https://peertube2.cpy.re/videos/embed/tYJf9qhpwNpRThngc7XnVo"/>
            <media:player url="https://peertube2.cpy.re/w/tYJf9qhpwNpRThngc7XnVo"/>
            <media:group>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/823bfd38-7c42-4b82-989e-2ddf8455d143-1080-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/891456dc-ca76-492a-94ae-2d649dab7611-720-hls.torrent" isDefault="false"/>
                <media:peerLink type="application/x-bittorrent" href="https://peertube2.cpy.re/lazy-static/torrents/3431ca17-6433-4f29-b9b2-a84af7d8cf38-480-hls.torrent" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="1080" fileSize="86878899" url="https://tube.fede.re/static/streaming-playlists/hls/e2926dbc-7584-4d26-923f-680ca35d2f24/0d2495eb-3e84-4770-bb1d-5f66b9df0adf-1080-fragmented.mp4" framerate="25" duration="365" isDefault="true"/>
                <media:content type="video/mp4" medium="video" height="720" fileSize="51825904" url="https://tube.fede.re/static/streaming-playlists/hls/e2926dbc-7584-4d26-923f-680ca35d2f24/b0233abc-eb3a-459d-877d-2e39a522b821-720-fragmented.mp4" framerate="25" duration="365" isDefault="false"/>
                <media:content type="video/mp4" medium="video" height="480" fileSize="30939959" url="https://tube.fede.re/static/streaming-playlists/hls/e2926dbc-7584-4d26-923f-680ca35d2f24/df96defa-162b-4b54-a256-800cd8af1ead-480-fragmented.mp4" framerate="25" duration="365" isDefault="false"/>
            </media:group>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/previews/aed75f13-b4da-4184-88d1-984c636acf09.jpg"/>
            <media:thumbnail url="https://peertube2.cpy.re/lazy-static/thumbnails/439708bc-9a7a-4d1d-a2fa-3bf6040fa69e.jpg"/>
            <media:rating>nonadult</media:rating>
            <media:title type="plain">Cessez-le-feu en Ukraine : le risque d’un piège russe</media:title>
            <media:description type="plain">Depuis son retour à la Maison blanche, Donald Trump veut forcer l'Ukraine à accepter un cessez-le-feu avec la Russie. Mais il refuse pour l’instant de s’engager sur des « garanties de sécurité » : c'est à dire un dispositif demandé par Volodymyr Z...</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-13",
  • "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": [
    ]
}