{
"url": "https://res.cloudinary.com/dqo0ssnti/video/upload/v1720440978/skshahriarahmedraka.mp4",
"name": "sk shahriar ahmed raka's video ",
"request_header": {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "video/mp4"
}
}
url
: URL of the video , (Note: url should contain video name and file type in extention)name
: Name of the videorequest_header
: it contains a JS object of key value pair . The key is the Header Name
and value is the Header Value
/libraries/{libraryID}/videos/imports/url
curl --location --request POST 'https://api.vidinfra.com/libraries//videos/imports/url' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "https://res.cloudinary.com/dqo0ssnti/video/upload/v1720440978/sample_720_qxbv8e.mp4",
"name": "raka video",
"request_header": {
"Authorization": "Bearer YOUR_ACCESS_TOKEN",
"Content-Type": "video/mp4"
}
}'
{}