# Video List/Search

Get list of videos with pagination from project

GET

/api/projects/{project_id}/videos
KEY TYPE DESCRIPTION
type string optional Status of video completed recent inprogress
search string optional Search for video by title
from string optional Videos created form date date_format:Y-m-d 2023-03-03. If you use this prop you must use also "to" property
to string optional Videos created to date date_format:Y-m-d 2023-03-11. If you use this prop you must use also "from" property

Response:

{
    "data": [
        {
            "id": 57,
            "hash": "9wb3v7My",
            "title": "bbb_sunflower_1080p_30fps_normal",
            "description": "",
            "name": "bbb-sunflower-1080p-30fps-normal",
            "size": 276134947,
            "length": 634.533333,
            "iso8601_duration": "PT10M34S",
            "width": 1920,
            "height": 1080,
            "video": "https://api.mov.mediaoutcast.test/storage/pmrP5kAO/pmrP5kAO/2024/1/9/9wb3v7My/index.m3u8",
            "uploading": false,
            "uploaded_at": "2024-01-09T13:03:13.000000Z",
            "transcoding_progress": 100,
            "transcoding_at": "2024-01-09T13:03:16.000000Z",
            "transcoding_eta": 0,
            "completed": true,
            "completed_at": "2024-01-09T13:09:23.000000Z",
            "created_at": "2024-01-09T13:03:13.000000Z",
            "updated_at": "2024-01-09T13:09:24.000000Z",
            "published": true,
            "published_at": "2024-01-09T13:09:23.000000Z",
            "published_url": "https://static.mediaoutcast.test/storage/pmrP5kAO/pmrP5kAO/2024/1/9/9wb3v7My/index.m3u8",
            "image_urls": {
                "360p": "https://api.mov.mediaoutcast.test/storage/pmrP5kAO/pmrP5kAO/2024/1/9/9wb3v7My/posters/360p.jpg?1704805394",
                "720p": "https://api.mov.mediaoutcast.test/storage/pmrP5kAO/pmrP5kAO/2024/1/9/9wb3v7My/posters/720p.jpg?1704805394",
                "1080p": "https://api.mov.mediaoutcast.test/storage/pmrP5kAO/pmrP5kAO/2024/1/9/9wb3v7My/posters/1080p.jpg?1704805394"
            },
            "image_update_at": null,
            "embed": {
                "iframe": "<iframe width=\"560\" height=\"315\" src=\"https://static.mediaoutcast.test/videos/9wb3v7My/video.html\" title=\"bbb_sunflower_1080p_30fps_normal\" frameborder=\"0\" scrolling=\"no\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>",
                "script": "<script src=\"https://static.mediaoutcast.test/player/master/js/mov-init.min.js\" async></script>\n<mov-player project-id=\"pmrP5kAO\" video-id=\"9wb3v7My\"></mov-player>\n<script type=\"application/ld+json\">{\"@context\":\"http://schema.org/\",\"@type\":\"VideoObject\",\"name\":\"bbb_sunflower_1080p_30fps_normal\",\"description\":\"\",\"thumbnailUrl\":[\"https://static.mediaoutcast.test/storage/pmrP5kAO/pmrP5kAO/2024/1/9/9wb3v7My/posters/360p.jpg?1704805394\"],\"uploadDate\":\"2024-01-09T14:03:13+01:00\",\"duration\":\"PT10M34S\",\"contentUrl\":\"https://static.mediaoutcast.test/storage/pmrP5kAO/pmrP5kAO/2024/1/9/9wb3v7My/index.m3u8\"}</script>\n",
                "link": "https://static.mediaoutcast.test/videos/9wb3v7My/video.html"
            },
            "project_json": "https://static.mediaoutcast.test/projects/pmrP5kAO.json",
            "video_json": "https://static.mediaoutcast.test/videos/9wb3v7My/video.json",
            "storage_size": 698520210
        },
        ...
        ..
        .
    ],
    "links": {
        "first": "https://api.mov.mediaoutcast.test/api/projects/1/videos?type=completed&page=1",
        "last": "https://api.mov.mediaoutcast.test/api/projects/1/videos?type=completed&page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "links": [
        {
            "url": null,
            "label": "&laquo; Previous",
            "active": false
        },
        {
            "url": "https://api.mov.mediaoutcast.test/api/projects/1/videos?type=completed&page=1",
            "label": "1",
            "active": true
        },
        {
            "url": null,
            "label": "Next &raquo;",
            "active": false
        }
        ],
        "path": "https://api.mov.mediaoutcast.test/api/projects/1/videos",
        "per_page": 30,
        "to": 14,
        "total": 14
    }
}