api: Implement GET /realm/filters.

This commit is contained in:
Yago González 2018-08-14 02:25:40 +02:00 committed by Eeshan Garg
parent 5747e76c08
commit ac697026b1

View file

@ -864,6 +864,19 @@ class Client(object):
method='GET' method='GET'
) )
def get_realm_filters(self):
# type: () -> Dict[str, Any]
'''
Example usage:
>>> client.get_realm_filters()
{'result': 'success', 'msg': '', 'filters': [['#(?P<id>[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): def get_server_settings(self):
# type: () -> Dict[str, Any] # type: () -> Dict[str, Any]
''' '''