def get_records_by_cursor(self, data): url = self.__cursor() resp = self._request("GET", url, params_or_data=data) r = mr.RawResult(resp) return r
def delete_cursor(self, data): url = self.__cursor() resp = self._request("DELETE", url, params_or_data=data) r = mr.RawResult(resp) return r
def create_cursor(self, data): url = self.__cursor() resp = self._request("POST", url, params_or_data=data) r = mr.RawResult(resp) return r
def get_members(self, space_id): url = self.__space_members() params = {"id": space_id} resp = self._request("GET", url, params_or_data=params) r = mr.RawResult(resp) return r
def update_thread(self, data): url = self.__space_thread() resp = self._request("PUT", url, params_or_data=data) r = mr.RawResult(resp) return r
def create(self, data): url = self.__template_space() resp = self._request("POST", url, params_or_data=data) r = mr.RawResult(resp) return r
def delete(self, space_id): url = self.__space() params = {"id": space_id} resp = self._request("DELETE", url, params_or_data=params) r = mr.RawResult(resp) return r