[Fixup] To be squashed - Update API with an extra mimetype parameter

Signed-off-by: Regis Merlino <regis.merlino@intel.com>