def content_upload(self, key, model, contentid, data, mimetype):
        """Store the given data as a result of a query for content id given the model.

        This method maps to
        https://github.com/exosite/docs/tree/master/provision#post---upload-content

        Args:
            key: The CIK or Token for the device
            model:
            contentid: The ID used to name the entity bucket
            data: The data blob to save
            mimetype: The Content-Type to use when serving the blob later
        """
        headers = {"Content-Type": mimetype}
        path = PROVISION_MANAGE_CONTENT + model + '/' + contentid
        return self._request(path, key, data, 'POST', self._manage_by_cik, headers)
Store the given data as a result of a query for content id given the model.

        This method maps to
        https://github.com/exosite/docs/tree/master/provision#post---upload-content

        Args:
            key: The CIK or Token for the device
            model:
            contentid: The ID used to name the entity bucket
            data: The data blob to save
            mimetype: The Content-Type to use when serving the blob later