Update api_v5.py

Updated the put command to support the capability to enable/disable the downsizing of images (default api setting) when uploading images