diff --git a/zulip/zulip/__init__.py b/zulip/zulip/__init__.py index c76e7ab..11a855c 100644 --- a/zulip/zulip/__init__.py +++ b/zulip/zulip/__init__.py @@ -864,6 +864,19 @@ class Client(object): method='GET' ) + def get_realm_filters(self): + # type: () -> Dict[str, Any] + ''' + Example usage: + + >>> client.get_realm_filters() + {'result': 'success', 'msg': '', 'filters': [['#(?P[0-9]+)', 'https://github.com/zulip/zulip/issues/%(id)s', 1]]} + ''' + return self.call_endpoint( + url='realm/filters', + method='GET', + ) + def get_server_settings(self): # type: () -> Dict[str, Any] '''