PIM-1927 : fix media upload and show routes