mirror of https://github.com/zulip/zulip.git
Remove obsolete /api/v1/get_members endpoint.
(imported from commit a5013c5e74d9e36a9a80c6fabd7b8461cbdf7e4a)
This commit is contained in:
parent
85ef4988e1
commit
77c2a14822
|
@ -1766,10 +1766,6 @@ def add_subscriptions_backend(request, user_profile,
|
|||
result["unauthorized"] = [stream.name for stream in unauthorized_streams]
|
||||
return json_success(result)
|
||||
|
||||
@authenticated_api_view
|
||||
def api_get_members(request, user_profile):
|
||||
return get_members_backend(request, user_profile)
|
||||
|
||||
@authenticated_json_post_view
|
||||
def json_get_members(request, user_profile):
|
||||
return get_members_backend(request, user_profile)
|
||||
|
|
|
@ -150,7 +150,6 @@ urlpatterns += patterns('zerver.views',
|
|||
url(r'^api/v1/get_subscribers$', 'api_get_subscribers'),
|
||||
url(r'^api/v1/send_message$', 'api_send_message'),
|
||||
url(r'^api/v1/update_pointer$', 'api_update_pointer'),
|
||||
url(r'^api/v1/get_members$', 'api_get_members'),
|
||||
|
||||
# This json format view used by the API accepts a username password/pair and returns an API key.
|
||||
url(r'^api/v1/fetch_api_key$', 'api_fetch_api_key'),
|
||||
|
|
Loading…
Reference in New Issue