Api Document

Video Api

Get File details

Request URL:

Method: GET

Parameters:

  • session_id: required

Response Body Success

{
    "status": true,
    "data": {
        "video_id": "Your video ID",
        "source": "Source video (gdrive, youtube, mp4, upload)",
        "original_url": "Original url your added",
        "extension": "Extension video",
        "mimetype": "Mime type video",
        "filesize": "Video size"
    }
}

Response Body Error

{
    "status": false,
    "data": {
        "code": "Error code",
        "message": "Error message"
    }
}

Add video by Url

Request URL:

Method: POST

Parameters:

  • session_id: required
  • video_url: required

Response Body Success

{
    "status": true,
    "data": {
        "video_id": "New video ID",
        "source": "Source video (gdrive, youtube, mp4, upload)",
        "original_url": "Original url your added",
        "extension": "Extension video",
        "mimetype": "Mime type video",
        "filesize": "Video size"
    }
}

Response Body Error

{
    "status": false,
    "data": {
        "code": "Error code",
        "message": "Error message"
    }
}