add file_type param and expose upload_id