'sets/overwrites the image metadata
:param collection_id: valid collection id
:param image_id: valid image id
:param metadata: key/value hash to set for the metadata
:return:'

def set_image_metadata(self, collection_id, image_id, metadata):

    return self.request(method='PUT', url='/v3/collections/{0}/images/{1}/metadata'.format(collection_id, image_id), params={'version': self.version}, files={'metadata': ('metadata.json', json.dumps(metadata), 'application/json')}, accept_json=True)
