def zip(self, payload):
url = "<STR_LIT>".format(<EOL>url_base=self.hs.url_base,<EOL>pid=self.pid)<EOL>r = self.hs._request('<STR_LIT:POST>', url, None, payload)<EOL>return r<EOL>
Zips a resource file

:param payload:
    input_coll_path: (string) input collection path
    output_zip_file_name: (string)
    remove_original_after_zip: (boolean)
:return: (object)
    name: output_zip_fname
    size: size of the zipped file
    type: 'zip'