Querying an Application List
Function
This API is used to query an application list.
During query, you need to specify the application from which the application list is returned and the maximum number of applications returned in a single request.
Request
- Example request
GET https://{endpoint}/v2/{project_id}/apps?limit=10&start_app_name=app_test - Parameter description
Table 1 Parameter description Parameter
Mandatory
Type
Description
limit
No
Int
Maximum number of applications to list in a single API call.
Value range: 1 to 100
Default value: 10
start_app_name
No
String
Name of the application to start the list with. The returned application list does not contain this application name.
stream_name
No
String
Name of the stream whose application list will be returned.
Response
- Example response
{
"has_more_app": false,
"apps": [
{
"app_id": "LGxEy8EvtdgzM7mSJfJ",
"app_name": "app",
"create_time": 1522313108126
},
{
"app_id": "xzRSZhpRN1x0BBgT0fR",
"app_name": "dis-consumer-example",
"create_time": 1532760945216
}
]
}
|
Parameter |
Type |
Description |
|---|---|---|
|
has_more_app |
Boolean |
Specifies whether there are more matching consumer applications to list.
|
|
apps |
List<App> |
AppEntry list that meets the current request. |
|
Parameter |
Type |
Description |
|---|---|---|
|
app_id |
String |
ID of the consumer application. |
|
app_name |
String |
Name of the consumer application. |
|
create_time |
Long |
Time when the consumer application is created. Unit: ms |
Status Code
- Normal
- Failed
For more information, see Error Codes.
Last Article: Viewing Details About a Consumer Application
Next Article: Adding a Checkpoint
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.