Querying the List of Servers Where Applications Are Deployed
Function Description
URI
GET /v1/{project_id}/cloud-phone/apps/{app_id}/servers?offset=0&limit=100
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Specifies the project ID. For details about how to obtain the project ID, see Obtaining a Project ID. |
|
app_id |
Yes |
String |
Specifies the application ID. |
|
offset |
No |
Integer |
Offset If the value is an integer greater than 0 but less than the number of resources, all resources after this offset will be queried. The default value is 0. |
|
limit |
No |
Integer |
Specifies the number of resources returned on each page. Value range: 1–100 (default value: 100) Generally, set this parameter to 10, 20, or 50. |
Request
Response
- Response parameters
Parameter
Type
Description
request_id
String
Specifies the request ID, which is unique.
servers
Array of objects
Specifies the server information. For details, see Table 2.
Table 2 server field description Parameter
Type
Description
server_id
String
Specifies the server ID that is unique.
app_version_id
String
Specifies the application package name.
version_code
String
Specifies the application version code.
version_name
String
Specifies the application version name.
launch_activity
String
Specifies the application startup path.
- Example response
{ "request_id": "6a63a18b8bab40ffb71ebd9cb80d0085", "servers": [{ "server_id": "88b8449b896f3a4f0ad57222dd91909", "app_verison_id": "", "version_code": "", "version_name": "", "launch_activity":"xxx", }, { "server_id": "88b8449b896f3a4f0ad57222dd91909", "app_verison_id": "", "version_code": "", "version_name": "", "launch_activity":"xxx", }] }
Returned Values
See Returned Values.
Error Codes
See Error Codes.
Last Article: Application Management
Next Article: Querying the List of Cloud Phones Where Applications Are Deployed
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.