Querying a Stream List
Initialize a DIS SDK client instance as instructed in Initializing a DIS SDK Client Instance.
Configure the following parameter:
1
|
start_stream_name = "" #Leave unspecified or set to an existing stream name. |
Run the listStream_sample.py file to call listStream_test. If response code 200 is returned, the stream list is displayed.
The following is an example response:
1 2 |
200 {'stream_names': ['dis-jLGp', 'dis-w_p', 'dis_test1', 'dis_test2'], 'has_more_streams': False, 'total_number': 4} |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot