Added getThumbnail endopoint