post https://api.viously.com/v1/videos/upload
This endpoint allows you to upload a video. It returns the ID of the video imported.
Prerequisites
You must obtain a token to be able to upload a video; please refer to the authentication section.
Parameters
- You must choose either the "file" or "url" parameter, not both. Uploading by "file" is preferred over "url" due to technical constraints and reliability.
- Tags are comma-separated.
- Some parameters are required.
- The "category" must be chosen from the predefined list.
Categories
- animals
- celebs
- news
- food
- planet
- science
- sports
- unusual
- health
- family
- travel
- reality-show
- home-garden
- fashion-beauty
- entertainment
- culture
- motors
Supported Formats
- File Upload: Supported formats are MOV, MPEG4, AVI, WMV, MPEGPS, FLV, 3GPP, MKV, or WebM.
- URL Upload: Supported sources are YouTube, Dailymotion, Vimeo, Facebook, Digiteka/Ultimedia, Brightcove, and direct video URLs with the following formats: MOV, MP4, AVI, WMV, MPG, FLV, MKV, M4V, 3GPP, WebM, M3U8.