GET https://api.mave.io/v1/videos
Listen Sie alle Videoeinbettungen aus einem Bereich auf. Erfordert das API-Token.
| Param | Typ |
|---|---|
| page | ganze Zahl |
| per_page | Ganzzahl (max. 100) |
| uploaded | boolean (wenn Sie dies hinzufügen, können Sie Videos filtern, entweder hochgeladen, nicht hochgeladen oder, wenn nicht angegeben: gemischt, nach Upload sortiert) |
| collection | Zeichenfolge (wenn Sie diese hinzufügen, können Sie Videos nach Sammlung filtern) |
| show_collections | boolean (wenn true, werden auch Sammlungen aufgelistet) |
{
"current_page": 1, // the page you are looking at
"data": [
{
"created": 1643723823,
"duration": 0.108333, // duration of the video
"width": 1920, // width of the video in pixels
"height": 1080, // height of the video in pixels
"id": "IIzFKHuukg", // this can be used to put into the component
"last_upload": 1643746229,
"name": "test.mp4", // name of the file or chosen name
"object": "video",
"poster_image": "https://image.mave.io/IIzFKHuukg.jpg?time=0", // defaults to first frame of the video
"size": 358923, // size of the video in bytes
"renditions": ["sd", "hd"], // size of the video
"subtitles": ["en", "nl"] // available subtitles
},
{
"created": 1643723737,
"duration": null,
"width": null,
"height": null,
"id": "k1iFD7h4rW",
"last_upload": null,
"name": null, // empty embed
"object": "video",
"poster_image": null,
"size": null,
"renditions": [],
"subtitles": []
},
{
"created": 1643723523,
"duration": null,
"width": null,
"height": null,
"id": "NyzCJgb28a",
"last_upload": null,
"name": null,
"object": "video",
"poster_image": null,
"size": null,
"renditions": [],
"subtitles": []
},
{
"created": 1643723504,
"duration": null,
"width": null,
"height": null,
"id": "rV4k65cLmE",
"last_upload": null,
"name": null,
"object": "video",
"poster_image": null,
"size": null,
"renditions": [],
"subtitles": []
}
], // all the video embeds that have been created
"has_more": false, // the possibility whether there are more video embeds to retrieve
"object": "list", // the type of object you're looking at
"total_items": 4, // the total of video embeds
"total_pages": 1 // the total pages that are available
}