Querying an Application List
Initialize a DIS SDK client instance as instructed in Initializing a DIS SDK Client Instance. The listApp_sample.py file provides a code sample.
In the listApp_test method, limit specifies the maximum number of apps that can be returned in a single request. The value range is 1 to 100.
Configure the following parameter:
1 |
startAppName="app1" #Application name. The application list is returned from the current stream and does not contain the application.)
|
After configuring the parameter, run the listApp_sample.py file to call Applist_test.
The following is an example response:
1 2 |
200
{'has_more_app': False, 'apps': [{'app_id': 'kpvGNrFYfKjpqTSdPIX', 'create_time': 1543301301992, 'app_name': 'sadfghjkl'}, {'app_id': 'MtPG1lD1E7IesDuOcNt', 'create_time': 1542765418080, 'app_name': 'testAppName2'}]}
|
Last Article: Viewing Application Details
Next Article: Adding a Checkpoint
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.