-
Make a virtual environment
python3 -m venv env
-
Activate virtual envrionment
source /env/Scripts/activate
for Win
bin /env/lib/activate
for Mac / Linux -
Install requirements
pip install -r requirements.txt
-
Migrate
python3 manage.py migrate
-
Run
python3 manage.py runserver
Upload a new video
- Allowed Requests: POST
- Payloads
- video : file
- Constraints:
- File type should be either .mp4 or .mkv
- File size should be less then 1GB
- Video length should be less than 10 minutes
Get list of videos being currently uploaded
- Allowed Requests: GET
Get charge of video of given parametes
- Allowed Requests: GET
- Constraints:
- File type should be either .mp4 or .mkv
- File size should be less then 1GB
- Video length should be less than 10 minutes
- Allowed Requests: GET
- Allowed Requests: GET
- Allowed Requests: GET
- Allowed Requests: GET
Get list of videos of size in given range
Get list of videos published after given date
Get list of videos of length in given range
Get list of all videos