We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fedc6a6 commit 2a73791Copy full SHA for 2a73791
algoliasearch/client.py
@@ -372,9 +372,14 @@ def get_user_key_acl(self, key):
372
"""Use `get_api_key_acl`"""
373
return self.get_api_key_acl(key)
374
375
+ @deprecated
376
def get_api_key_acl(self, key, request_options=None):
377
+ """Use `get_api_key`"""
378
+ return self.get_api_key(key, request_options)
379
+
380
+ def get_api_key(self, api_key, request_options=None):
381
"""'Get ACL of an api key."""
- path = '/1/keys/%s' % key
382
+ path = '/1/keys/%s' % api_key
383
return self._req(True, path, 'GET', request_options)
384
385
@deprecated
0 commit comments