api: Implement POST /users/me/alert_words.
This commit is contained in:
parent
c057e0df14
commit
c661d78b63
|
@ -902,6 +902,16 @@ class Client(object):
|
||||||
method='GET'
|
method='GET'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
def add_alert_words(self, alert_words):
|
||||||
|
# type: (List[str]) -> Dict[str, Any]
|
||||||
|
return self.call_endpoint(
|
||||||
|
url='users/me/alert_words',
|
||||||
|
method='POST',
|
||||||
|
request={
|
||||||
|
'alert_words': alert_words
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
def list_subscriptions(self, request=None):
|
def list_subscriptions(self, request=None):
|
||||||
# type: (Optional[Dict[str, Any]]) -> Dict[str, Any]
|
# type: (Optional[Dict[str, Any]]) -> Dict[str, Any]
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue