Video
Get a video
get/api/v1/videos/{id}
Path parameters
Example:42
The object id, uuid or short uuid
Response
successful operation
Example response
{
"account": {
"id": 42,
"name": "chocobozzz",
"userId": 42
},
"category": {
"id": 15,
"label": "Science & Technology"
},
"channel": {
"displayName": "Videos of Framasoft",
"id": 42,
"name": "chocobozzz",
"description": "Videos made with <3 by Framasoft",
"ownerAccount": {
"uuid": "9c9de5e8-0a1e-484a-b099-e80766180a6d"
},
"support": "Please support our work on https://soutenir.framasoft.org/en/ <3"
},
"createdAt": "2017-10-01T10:52:46.396Z",
"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, based on fr...\n",
"dislikes": 7,
"duration": 1419,
"embedPath": "/videos/embed/a65bc12f-9383-462e-81ae-8207e8b434ee",
"id": 42,
"language": {
"id": "en",
"label": "English"
},
"licence": {
"id": 2,
"label": "Attribution - Share Alike"
},
"likes": 42,
"name": "What is PeerTube?",
"originallyPublishedAt": "2010-10-01T10:52:46.396Z",
"previewPath": "/lazy-static/previews/a65bc12f-9383-462e-81ae-8207e8b434ee.jpg",
"publishedAt": "2018-10-01T10:52:46.396Z",
"shortUUID": "2y84q2MQUMWPbiEcxNXMgC",
"thumbnailPath": "/static/thumbnails/a65bc12f-9383-462e-81ae-8207e8b434ee.jpg",
"updatedAt": "2021-05-04T08:01:01.502Z",
"uuid": "9c9de5e8-0a1e-484a-b099-e80766180a6d",
"views": 1337,
"descriptionPath": "/api/v1/videos/9c9de5e8-0a1e-484a-b099-e80766180a6d/description",
"files": [
{
"id": 42,
"resolution": {
"id": 240,
"label": "240p"
}
}
],
"streamingPlaylists": [
{
"id": 42,
"files": [
{
"id": 42,
"resolution": {
"id": 240,
"label": "240p"
}
}
]
}
],
"support": "Please support our work on https://soutenir.framasoft.org/en/ <3",
"tags": [
"flowers",
"gardening"
],
"trackerUrls": [
"https://peertube2.cpy.re/tracker/announce",
"wss://peertube2.cpy.re/tracker/socket"
]
}