Querying Details About an Application Version
Function
This API is used to query details about an application version.
URI
GET /v2/{project_id}/edgemgr/apps/{app_id}/versions/{version_id}
| Parameter | Mandatory | Description |
|---|---|---|
| project_id | Yes | Project ID. For details about how to obtain a project ID, see Obtaining a Project ID. |
| app_id | Yes | Application ID. |
| version_id | Yes | Version ID. |
Request
None
Response
Response parameters
| Parameter | Type | Description |
|---|---|---|
| version | Table 17 object | Application version details. |
Response example:
{
"version": {
"envs": [
{
"name": "key1",
"value": "name1"
},
{
"name": "key2",
"value": "name2"
}
],
"created_at": "2018-05-25T03:36:50",
"args": [],
"updated_at": "2018-05-25T03:49:37",
"cpu": 1,
"version": "v2",
"image_url": "edge-demo-app:latest",
"volumes": [
{
"read_only": true,
"source": "/tmp",
"destination": "/tmp0",
"type": "hostPath",
"name": "test2"
}
],
"memory": 1024,
"configs": {
"host_network": true,
"privileged": true
},
"project_id": "3a1e645f5b12407d864bcb04c8b9f3ee",
"id": "9535d8ac-93c1-4e41-8113-f1538aad38a7"
}
} Error Codes
For details, see Error Codes.
Last Article: Updating an Application Version
Next Article: Querying a List of Application Versions
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.