swapped mode and type in the uploads api to be consistent with the tag api