api: Implement PATCH /streams/<stream_id>.
This commit is contained in:
parent
aa6afbd2fe
commit
005829192e
2 changed files with 53 additions and 0 deletions
|
@ -821,6 +821,18 @@ class Client(object):
|
|||
request=request,
|
||||
)
|
||||
|
||||
def update_stream(self, stream_data):
|
||||
# type: (Dict[str, Any]) -> Dict[str, Any]
|
||||
'''
|
||||
See examples/edit-stream for example usage.
|
||||
'''
|
||||
|
||||
return self.call_endpoint(
|
||||
url='streams/{}'.format(stream_data['stream_id']),
|
||||
method='PATCH',
|
||||
request=stream_data,
|
||||
)
|
||||
|
||||
def get_members(self, request=None):
|
||||
# type: (Optional[Dict[str, Any]]) -> Dict[str, Any]
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue