Querying a Dump List
Initialize a DIS SDK client instance as instructed in Initializing a DIS SDK Client Instance.
The list_dump_task_sample.py file provides a code sample. Configure the following parameter in this file:
1 |
streamname = "XXX" #Name of an existing stream.
|
Run the list_dump_task_sample.py file to call list_dump_task_test. If response code 200 is returned, the dump list is displayed.
The following is an example response:
1 2 |
200
{'total_number': 1, 'tasks': [{'last_transfer_timestamp': 1538018769241, 'state': 'RUNNING', 'create_time': 1537949648144, 'destination_type': 'OBS', 'task_name': 'task_test1'}]}
|
Last Article: Querying a Stream List
Next Article: Querying Stream Details
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.