Lists Apps, including public and private Apps.
ListAppsResponse listApps(String scope) throws ClientException;
ListAppsResponse listApps(String scope, String marker, int maxItemCount) throws ClientException;
ListAppsResponse listApps(ListAppsRequest req) throws ClientException;
|scope||String||No||Optional values include Public and Private. If the value is Public, public Apps are queried. If the value is Private or not specified, private Apps are queried.|
|marker||String||No||Marker used for paging query. Default value: null|
|maxItemCount||Number||No||Maximum number of items queried this time. It must be an integer between 1 and 100. Default value: 50|
If the call succeeds, a ListAppsResponse instance is returned. You can use the getItems method to obtain List
For descriptions about App attributes, see Obtain App information.
If the call fails, a ClientException is thrown.
ListAppsResponse listAppsResponse = client.listApps("Public");
List<App> list = listAppsResponse.getItems();
//The method is successfully called.
//The method fails to be called.