diff --git a/Projects/Developer/Developer_Interfaces.md b/Projects/Developer/Developer_Interfaces.md index c33ad051a5a432a1e81bedb6f5344b65822fbc42..d3252d9085006817398c6d9b3f659583de18e13e 100644 --- a/Projects/Developer/Developer_Interfaces.md +++ b/Projects/Developer/Developer_Interfaces.md @@ -2800,10 +2800,125 @@ Resource URI: /health 200 OK 'ok'. ``` +## 12. anti-affinity group +Some operation about affinitygroup for vm app application. +### 12.1 GET all anti-affinity Groups +Query all anti-affinity Groups +``` +Resource URI: /mec/developer/v2/applications/{applicationId}/anti-affinity-groups?vmId={vmId} +``` +|Name|Definition|Type|Required| +|-------------|-------------|------------|------------| +|applicationId|applicationId|path param|yes| +|vmId|vmId|request param|no| + +**Example response** +``` +200 OK +[ + { + "id": "string", + "name": "string", + "description": "string", + "vmIdList": [ + "string" + ] + } +] +``` +### 12.2 POST create anti-affinity Group +Create anti-affinity Group +``` +Resource URI: /mec/developer/v2/applications/{applicationId}/anti-affinity-groups +``` +|Name|Definition|Type|Required| +|-------------|-------------|------------|------------| +|applicationId|applicationId|path param|yes| +|name|name of the anti-affinity group|body param|yes| +|description|description of the anti-affinity group|body param|yes| +|vmIdList|List of vm Ids of the anti-affinity group|body param|yes| + +``` +anti-affinity Group + { + "id": "string", + "name": "string", + "description": "string", + "vmIdList": [ + "string" + ] + } +``` +**Example response** +``` +200 OK +{ + "id": "string", + "name": "string", + "description": "string", + "vmIdList": [ + "string" + ] +} + +``` + +### 12.3 PUT anti-affinity Group +Update anti-affinity Group +``` +Resource URI: /mec/developer/v2/applications/{applicationId}/anti-affinity-groups/{antiaffinitygroupId} +``` +|Name|Definition|Type|Required| +|-------------|-------------|------------|------------| +|applicationId|applicationId|path param|yes| +|antiaffinitygroupId|anti-affinity group Id|path param|yes| +|name|name of the anti-affinity group|body param|yes| +|description|description of the anti-affinity group|body param|yes| +|vmIdList|List of vm Ids of the anti-affinity group|body param|yes| + +``` +anti-affinity Group + { + "id": "string", + "name": "string", + "description": "string", + "vmIdList": [ + "string" + ] + } +``` +**Example response** +``` +200 OK +{ + "id": "string", + "name": "string", + "description": "string", + "vmIdList": [ + "string" + ] +} + +``` +### 12.4 DELETE anti-affinity Group +Delete anti-affinity Group +``` +Resource URI: /mec/developer/v2/applications/{applicationId}/anti-affinity-groups/{antiaffinitygroupId} +``` +|Name|Definition|Type|Required| +|-------------|-------------|------------|------------| +|applicationId|applicationId|path param|yes| +|antiaffinitygroupId|anti-affinity group Id|path param|yes| + +**Example response** +``` +200 OK +true +``` -## 12. VmApp +## 13. VmApp some operation about vm app -### 12.1 GET all vm +### 13.1 GET all vm query all vm ``` Resource URI: /mec/developer/v2/applications/{applicationId}/vms @@ -2879,7 +2994,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/vms ] ``` -### 12.2 POST create vm +### 13.2 POST create vm create one vm ``` Resource URI: /mec/developer/v2/applications/{applicationId}/vms @@ -2983,7 +3098,7 @@ virtualMachine: } ``` -### 12.3 GET one vm +### 13.3 GET one vm get one vm ``` Resource URI: /mec/developer/v2/applications/{applicationId}/vms/{vmId} @@ -3058,7 +3173,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/vms/{vmId} } ``` -### 12.4 PUT modify vm +### 13.4 PUT modify vm modify vm ``` Resource URI: /mec/developer/v2/applications/{applicationId}/vms/{vmId} @@ -3108,7 +3223,7 @@ virtualMachine: true ``` -### 12.5 DELETE one vm +### 13.5 DELETE one vm delete vm ``` Resource URI: /mec/developer/v2/applications/{applicationId}/vms/{vmId} @@ -3124,9 +3239,9 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/vms/{vmId} true ``` -## 13. Capability-group stats +## 14. Capability-group stats query group stats -### 13.1 GET group stats +### 14.1 GET group stats Get group stats ``` Resource URI: /mec/developer/v2/capability-group-stats/ @@ -3165,9 +3280,9 @@ Resource URI: /mec/developer/v2/capability-group-stats/ ] ``` -## 14. AppConfiguration +## 15. AppConfiguration This part is about the api for application configuration -### 14.1 GET app cert +### 15.1 GET app cert get app cert ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/appcertificate @@ -3185,7 +3300,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/ap } ``` -### 14.2 POST create app cert +### 15.2 POST create app cert create app cert ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/appcertificate @@ -3211,7 +3326,7 @@ AppCeriticate: } ``` -### 14.3 PUT app cert +### 15.3 PUT app cert modify app cert ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/appcertificate @@ -3234,7 +3349,7 @@ AppCeriticate: true ``` -### 14.4 DELETE app cert +### 15.4 DELETE app cert delete cert ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/appcertificate @@ -3249,7 +3364,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/ap true ``` -### 14.5 GET all dns +### 15.5 GET all dns get all dns rule ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/dnsrules @@ -3272,7 +3387,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/dn ] ``` -### 14.6 POST create dns +### 15.6 POST create dns create dns ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/dnsrules @@ -3304,7 +3419,7 @@ DnsRule: } ``` -### 14.7 PUT modify dns +### 15.7 PUT modify dns modify dns ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/dnsrules/{ruleId} @@ -3331,7 +3446,7 @@ DnsRule: true ``` -### 14.8 DELETE dns +### 15.8 DELETE dns delete dns ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/dnsrules/{ruleId} @@ -3347,7 +3462,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/dn true ``` -### 14.9 GET all produced svc +### 15.9 GET all produced svc get all serviceProduced ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/serviceproduceds @@ -3385,7 +3500,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/se ] ``` -### 14.10 POST create produced svc +### 15.10 POST create produced svc create produces svc ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/serviceproduceds @@ -3447,7 +3562,7 @@ ServiceProduced: } ``` -### 14.11 PUT modify produced svc +### 15.11 PUT modify produced svc modify produced svc ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/serviceproduceds/{appServiceProducedId} @@ -3489,7 +3604,7 @@ ServiceProduced: true ``` -### 14.12 DELETE produced svc +### 15.12 DELETE produced svc delete produced svc ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/serviceproduceds/{appServiceProducedId} @@ -3505,7 +3620,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/se true ``` -### 14.13 GET all required svc +### 15.13 GET all required svc get all serviceRequired ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/servicerequireds @@ -3533,7 +3648,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/se ] ``` -### 14.14 POST create required svc +### 15.14 POST create required svc create required svc ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/servicerequireds @@ -3575,7 +3690,7 @@ ServiceRequired: } ``` -### 14.15 PUT modify required svc +### 15.15 PUT modify required svc modify required svc ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/servicerequireds/{serName} @@ -3607,7 +3722,7 @@ ServiceRequired: true ``` -### 14.16 DELETE required svc +### 15.16 DELETE required svc delete required svc ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/serviceproduceds/{serviceRequiredId} @@ -3623,7 +3738,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/se true ``` -### 14.17 GET all traffic rule +### 15.17 GET all traffic rule get all traffic rule ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/trafficrules @@ -3696,7 +3811,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/tr ] ``` -### 14.18 POST create traffic rule +### 15.18 POST create traffic rule create traffic rule ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/trafficrules @@ -3828,7 +3943,7 @@ TrafficRule: } ``` -### 14.19 PUT modify traffic rule +### 15.19 PUT modify traffic rule modify traffic rule ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/trafficrules/{ruleId} @@ -3905,7 +4020,7 @@ TrafficRule: true ``` -### 14.20 DELETE traffic rule +### 15.20 DELETE traffic rule delete traffic rule ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/trafficrules/{ruleId} @@ -3921,7 +4036,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration/tr true ``` -### 14.21 GET app configuration +### 15.21 GET app configuration query application configuration ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration @@ -4047,7 +4162,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration } ``` -### 14.22 PUT app configuration +### 15.22 PUT app configuration modify application configuration ``` Resource URI: /mec/developer/v2/applications/{applicationId}/appconfiguration @@ -4179,9 +4294,9 @@ AppConfiguration: true ``` -## 15. Capability-group stats query +## 16. Capability-group stats query This part is about the api for Capability-group stats -### 15.1 GET stats by type +### 16.1 GET stats by type query group stats by type ``` Resource URI: /mec/developer/v2/query/capability-group-stats/type/{type} @@ -4223,9 +4338,9 @@ Resource URI: /mec/developer/v2/query/capability-group-stats/type/{type} ] ``` -## 16. Operation +## 17. Operation This part is about the api for application launch -### 16.1 GET one operation +### 17.1 GET one operation get one application operation ``` Resource URI: /mec/developer/v2/operations//{operationId} @@ -4265,9 +4380,9 @@ Resource URI: /mec/developer/v2/operations//{operationId} } ``` -## 17. Capability query +## 18. Capability query This part is about the api for query capability -### 17.1 GET capability by groupid +### 18.1 GET capability by groupid get capability by groupid ``` Resource URI: /mec/developer/v2/query/capabilities/group-id/{groupId} @@ -4320,7 +4435,7 @@ Resource URI: /mec/developer/v2/query/capabilities/group-id/{groupId} ] ``` -### 17.2 GET capability by en name +### 18.2 GET capability by en name query capability by en name ``` Resource URI: /mec/developer/v2/query/capabilities/name-en @@ -4375,7 +4490,7 @@ Resource URI: /mec/developer/v2/query/capabilities/name-en ] ``` -### 17.3 GET capability by name +### 18.3 GET capability by name GET capability by zh name ``` Resource URI: /mec/developer/v2/query/capabilities/name @@ -4430,7 +4545,7 @@ Resource URI: /mec/developer/v2/query/capabilities/name ] ``` -### 17.4 GET capability by projectid +### 18.4 GET capability by projectid get capability by projectid ``` Resource URI: /mec/developer/v2/query/capabilities/project-id/{projectId} @@ -4483,7 +4598,7 @@ Resource URI: /mec/developer/v2/query/capabilities/project-id/{projectId} ] ``` -### 17.5 GET capability by type +### 18.5 GET capability by type query capability by type ``` Resource URI: /mec/developer/v2/query/capabilities/type/{type} @@ -4536,9 +4651,9 @@ Resource URI: /mec/developer/v2/query/capabilities/type/{type} ] ``` -## 18. Profile +## 19. Profile This part is about the api for profile operation -### 18.1 POST create profile +### 19.1 POST create profile Create one profile ``` Resource URI: /mec/developer/v2/profiles @@ -4568,7 +4683,7 @@ Resource URI: /mec/developer/v2/profiles } ``` -### 18.2 GET download file +### 19.2 GET download file GET download file according to file type ``` Resource URI: /mec/developer/v2/profiles/{profileId}/action/download @@ -4585,7 +4700,7 @@ Resource URI: /mec/developer/v2/profiles/{profileId}/action/download byte[] ``` -### 18.3 PUT update profile +### 19.3 PUT update profile Update one profile ``` Resource URI: /mec/developer/v2/profiles/{profileId} @@ -4616,7 +4731,7 @@ Resource URI: /mec/developer/v2/profiles/{profileId} } ``` -### 18.4 GET query all profiles +### 19.4 GET query all profiles GET query all profiles ``` Resource URI: /mec/developer/v2/profiles @@ -4648,7 +4763,7 @@ Resource URI: /mec/developer/v2/profiles } ``` -### 18.5 GET query one profile +### 19.5 GET query one profile GET query one profile ``` Resource URI: /mec/developer/v2/profiles/{profileId} @@ -4678,7 +4793,7 @@ Resource URI: /mec/developer/v2/profiles/{profileId} } ``` -### 18.6 DELETE delete one profile +### 19.6 DELETE delete one profile DELETE delete one profile ``` Resource URI: /mec/developer/v2/profiles/{profileId} @@ -4693,7 +4808,7 @@ Resource URI: /mec/developer/v2/profiles/{profileId} true ``` -### 18.7 POST create application by profile id +### 19.7 POST create application by profile id POST create application by profile id ``` Resource URI: /mec/developer/v2/profiles/{profileId}/create-application @@ -4862,9 +4977,9 @@ Resource URI: /mec/developer/v2/profiles/{profileId}/create-application } ``` -## 19. VmApp-network +## 20. VmApp-network This part is about the api for vm network -### 19.1 GET all network +### 20.1 GET all network query all networks ``` Resource URI: /mec/developer/v2/applications/{applicationId}/networks @@ -4885,7 +5000,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/networks ] ``` -### 19.2 POST create network +### 20.2 POST create network create network ``` Resource URI: /mec/developer/v2/applications/{applicationId}/networks @@ -4914,7 +5029,7 @@ network } ``` -### 19.3 GET one network +### 20.3 GET one network get one network ``` Resource URI: /mec/developer/v2/applications/{applicationId}/networks/{networkId} @@ -4934,7 +5049,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/networks/{networkId } ``` -### 19.4 PUT modify network +### 20.4 PUT modify network modify one network ``` Resource URI: /mec/developer/v2/applications/{applicationId}/networks/{networkId} @@ -4963,7 +5078,7 @@ network } ``` -### 19.5 DELETE network +### 20.5 DELETE network delete network ``` Resource URI: /mec/developer/v2/applications/{applicationId}/networks/{networkId} @@ -4979,9 +5094,9 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/networks/{networkId true ``` -## 20. UserData +## 21. UserData This part is about the api for vm config(userdata) -### 20.1 GET all userdata +### 21.1 GET all userdata query all userdata ``` Resource URI: /mec/developer/v2/user-datas @@ -4997,9 +5112,9 @@ Resource URI: /mec/developer/v2/user-datas string output ``` -## 21. Pkg-specs +## 22. Pkg-specs This part is about the api for vm config(pkg specs) -### 21.1 GET all pkg specs +### 22.1 GET all pkg specs query all pkg specs ``` Resource URI: /mec/developer/v2/pkg-specs @@ -5028,9 +5143,9 @@ Resource URI: /mec/developer/v2/pkg-specs ] ``` -## 22. VmApp-operation +## 23. VmApp-operation This part is about the api for vm application operation -### 22.1 POST export image +### 23.1 POST export image export vm image ``` Resource URI: /mec/developer/v2/applications/{applicationId}/vms/{vmId}/action/export-image @@ -5048,7 +5163,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/vms/{vmId}/action/e } ``` -### 22.2 GET ssh url +### 23.2 GET ssh url query vm ssh url ``` Resource URI: /mec/developer/v2/applications/{applicationId}/vms/{vmId}/action/ssh @@ -5069,7 +5184,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/vms/{vmId}/action/s } ``` -### 22.3 GET vnc url +### 23.3 GET vnc url query vm vnc url ``` Resource URI: /mec/developer/v2/applications/{applicationId}/vms/{vmId}/action/vnc @@ -5094,7 +5209,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/vms/{vmId}/action/v } ``` -### 22.4 POST instantiate vm +### 23.4 POST instantiate vm instantiate vm ``` Resource URI: /mec/developer/v2/applications/{applicationId}/vms/{vmId}/action/launch @@ -5112,7 +5227,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/vms/{vmId}/action/l } ``` -### 22.5 GET merge app file +### 23.5 GET merge app file merge app file ``` Resource URI: /mec/developer/v2/applications/{applicationId}/vms/{vmId}/action/merge-file @@ -5139,7 +5254,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/vms/{vmId}/action/m } ``` -### 22.6 POST upload file +### 23.6 POST upload file upload app file ``` Resource URI: /mec/developer/v2/applications/{applicationId}/vms/{vmId}/action/upload-file @@ -5166,9 +5281,9 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/vms/{vmId}/action/u true ``` -## 23. ContainerApp-operation +## 24. ContainerApp-operation This part is about the api for container application operation -### 23.1 GET container ssh url +### 24.1 GET container ssh url query container ssh url ``` Resource URI: /mec/developer/v2/applications/{applicationId}/containers/action/ssh @@ -5188,7 +5303,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/containers/action/s } ``` -### 23.2 POST instantiate container +### 24.2 POST instantiate container instantiate container application ``` Resource URI: /mec/developer/v2/applications/{applicationId}/containers/action/launch @@ -5205,9 +5320,9 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/containers/action/l } ``` -## 24. App-operation +## 25. App-operation This part is about the api for application operation -### 24.1 POST clean env +### 25.1 POST clean env clean test env ``` Resource URI: /mec/developer/v2/applications/{applicationId}/action/clean-env @@ -5222,7 +5337,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/action/clean-env true ``` -### 24.2 GET atp tests +### 25.2 GET atp tests query all atp test ``` Resource URI: /mec/developer/v2/applications/{applicationId}/action/atp-tests @@ -5242,7 +5357,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/action/atp-tests } ``` -### 24.3 POST create atp tests +### 25.3 POST create atp tests create atp test ``` Resource URI: /mec/developer/v2/applications/{applicationId}/action/atp-tests @@ -5257,7 +5372,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/action/atp-tests true ``` -### 24.4 POST generate pkg +### 25.4 POST generate pkg generate app pkg ``` Resource URI: /mec/developer/v2/applications/{applicationId}/action/generate-package @@ -5277,7 +5392,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/action/generate-pac } ``` -### 24.5 GET one atp test +### 25.5 GET one atp test query one atp test ``` Resource URI: /mec/developer/v2/applications/{applicationId}/atpTests/{atpTestId} @@ -5298,7 +5413,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/atpTests/{atpTestId } ``` -### 24.6 POST release app +### 25.6 POST release app release application ``` Resource URI: /mec/developer/v2/applications/{applicationId}/action/release @@ -5322,7 +5437,7 @@ publishAppDto true ``` -### 24.7 PUT select host +### 25.7 PUT select host release app,select host ``` Resource URI: /mec/developer/v2/applications/{applicationId}/action/sel-mephost @@ -5345,9 +5460,9 @@ selectSandbox true ``` -## 25. AppPackage +## 26. AppPackage This part is about the api for application package -### 25.1 GET app package +### 26.1 GET app package get app package ``` Resource URI: /mec/developer/v2/apppackages/{packageId} @@ -5367,7 +5482,7 @@ Resource URI: /mec/developer/v2/apppackages/{packageId} } ``` -### 25.2 POST get package content +### 26.2 POST get package content query package file content ``` Resource URI: /mec/developer/v2/apppackages/{packageId}/action/get-file-content @@ -5393,7 +5508,7 @@ structureReqDto } ``` -### 25.3 GET package structure +### 26.3 GET package structure query package structure ``` Resource URI: /mec/developer/v2/apppackages/{packageId}/action/get-pkg-structure @@ -5410,7 +5525,7 @@ Resource URI: /mec/developer/v2/apppackages/{packageId}/action/get-pkg-structure ] ``` -### 25.4 PUT modify package content +### 26.4 PUT modify package content modify package content ``` Resource URI: /mec/developer/v2/apppackages/{packageId}/action/update-file-content @@ -5437,7 +5552,7 @@ releasedPkgFileContent } ``` -### 25.5 POST zip package +### 26.5 POST zip package zip app package ``` Resource URI: /mec/developer/v2/apppackages/{packageId}/action/zip-package @@ -5458,9 +5573,9 @@ Resource URI: /mec/developer/v2/apppackages/{packageId}/action/zip-package } ``` -## 26. Helmcharts +## 27. Helmcharts This part is about the api for application deploy yaml -### 26.1 GET helm chart +### 27.1 GET helm chart get helm chart ``` Resource URI: /mec/developer/v2/applications/{applicationId}/helmcharts/{helmchartId} @@ -5493,7 +5608,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/helmcharts/{helmcha } ``` -### 26.2 DELETE helm chart +### 27.2 DELETE helm chart delete helm chart ``` Resource URI: /mec/developer/v2/applications/{applicationId}/helmcharts/{helmchartId} @@ -5509,7 +5624,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/helmcharts/{helmcha true ``` -### 26.3 POST download helmchart +### 27.3 POST download helmchart download helm package ``` Resource URI: /mec/developer/v2/applications/{applicationId}/helmcharts/{helmchartId}/action/download @@ -5525,7 +5640,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/helmcharts/{helmcha byte[] ``` -### 26.4 GET helmchart content +### 27.4 GET helmchart content query package content ``` Resource URI: /mec/developer/v2/applications/{applicationId}/helmcharts/{helmchartId}/action/get-inner-file @@ -5542,7 +5657,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/helmcharts/{helmcha string output ``` -### 26.5 GET all helmchart +### 27.5 GET all helmchart get all helmcharts ``` Resource URI: /mec/developer/v2/applications/{applicationId}/helmcharts @@ -5576,7 +5691,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/helmcharts ] ``` -### 26.6 POST upload helmchart +### 27.6 POST upload helmchart upload deploy file ``` Resource URI: /mec/developer/v2/applications/{applicationId}/helmcharts @@ -5609,7 +5724,7 @@ Resource URI: /mec/developer/v2/applications/{applicationId}/helmcharts } ``` -### 26.7 PUT modify helm content +### 27.7 PUT modify helm content modify helm content ``` Resource URI: /mec/developer/v2/applications/{applicationId}/helmcharts/{helmchartId}/action/modify-inner-file @@ -5634,9 +5749,9 @@ content true ``` -## 27. ReleasedPackage +## 28. ReleasedPackage This part is about the api for synchronized pkg -### 27.1 GET all released pkg +### 28.1 GET all released pkg query all released pkg ``` Resource URI: /mec/developer/v2/released-packages @@ -5653,7 +5768,7 @@ Resource URI: /mec/developer/v2/released-packages {} ``` -### 27.2 DELETE released pkg +### 28.2 DELETE released pkg delete released pkg ``` Resource URI: /mec/developer/v2/released-packages/{packageId} @@ -5668,7 +5783,7 @@ Resource URI: /mec/developer/v2/released-packages/{packageId} true ``` -### 27.3 POST release pkg +### 28.3 POST release pkg release pkg ``` Resource URI: /mec/developer/v2/released-packages/{packageId}/action/release @@ -5692,7 +5807,7 @@ publishAppDto true ``` -### 27.4 POST get released content +### 28.4 POST get released content query package content ``` Resource URI: /mec/developer/v2/released-packages/{packageId}/action/get-file-content @@ -5718,7 +5833,7 @@ structureReqDto } ``` -### 27.5 POST synchronize pkg +### 28.5 POST synchronize pkg synchronize released pkg from appstore ``` Resource URI:/mec/developer/v2/released-packages @@ -5743,7 +5858,7 @@ pkgReqDtos true ``` -### 27.6 GET released pkg structure +### 28.6 GET released pkg structure get released pkg structure ``` Resource URI: /mec/developer/v2/released-packages/{packageId}/action/get-pkg-structure @@ -5760,7 +5875,7 @@ Resource URI: /mec/developer/v2/released-packages/{packageId}/action/get-pkg-str ] ``` -### 27.7 PUT modify pkg content +### 28.7 PUT modify pkg content modify released pkg file content ``` Resource URI: /mec/developer/v2/released-packages/{packageId}/action/edit-file-content @@ -5787,9 +5902,9 @@ releasedPkgFileContent } ``` -## 28. VmImage +## 29. VmImage This part is about the api for vm image -### 28.1 GET check upload +### 29.1 GET check upload check chunk for upload vm image ``` Resource URI: /mec/developer/v2/vmimages/{imageId}/action/upload @@ -5814,7 +5929,7 @@ Resource URI: /mec/developer/v2/vmimages/{imageId}/action/upload } ``` -### 28.2 POST upload vm image +### 29.2 POST upload vm image upload vm image ``` Resource URI: /mec/developer/v2/vmimages/{imageId}/action/upload @@ -5849,7 +5964,7 @@ Resource URI: /mec/developer/v2/vmimages/{imageId}/action/upload } ``` -### 28.3 DELETE cancel upload vm image +### 29.3 DELETE cancel upload vm image cancel upload vm image ``` Resource URI: /mec/developer/v2/vmimages/{imageId}/action/upload @@ -5874,7 +5989,7 @@ Resource URI: /mec/developer/v2/vmimages/{imageId}/action/upload } ``` -### 28.4 POST create vm image +### 29.4 POST create vm image create vm image ``` Resource URI: /mec/developer/v2/vmimages @@ -5901,7 +6016,7 @@ VmImage true ``` -### 28.5 GET one vm image +### 29.5 GET one vm image query vm image ``` Resource URI: /mec/developer/v2/vmimages/{imageId} @@ -5938,7 +6053,7 @@ Resource URI: /mec/developer/v2/vmimages/{imageId} } ``` -### 28.6 PUT modify vm image +### 29.6 PUT modify vm image modify vm image ``` Resource URI: /mec/developer/v2/vmimages/{imageId} @@ -5967,7 +6082,7 @@ VmImage true ``` -### 28.7 DELETE vm image +### 29.7 DELETE vm image delete vm image ``` Resource URI: /mec/developer/v2/vmimages/{imageId} @@ -5982,7 +6097,7 @@ Resource URI: /mec/developer/v2/vmimages/{imageId} true ``` -### 28.8 GET download vm image +### 29.8 GET download vm image download vm image ``` Resource URI: /mec/developer/v2/vmimages/{imageId}/action/download @@ -5997,7 +6112,7 @@ Resource URI: /mec/developer/v2/vmimages/{imageId}/action/download binary output. ``` -### 28.9 POST get all vm image +### 29.9 POST get all vm image query all vm image ``` Resource URI: /mec/developer/v2/vmimages/action/get-list @@ -6059,7 +6174,7 @@ vmImageReq } ``` -### 28.10 POST slim vm image +### 29.10 POST slim vm image slim vm image ``` Resource URI: /mec/developer/v2/vmimages/{imageId}/action/slim @@ -6076,7 +6191,7 @@ Resource URI: /mec/developer/v2/vmimages/{imageId}/action/slim } ``` -### 28.11 GET merge vm image +### 29.11 GET merge vm image merge vm image ``` Resource URI: /mec/developer/v2/vmimages/{imageId}/action/merge @@ -6102,7 +6217,7 @@ Resource URI: /mec/developer/v2/vmimages/{imageId}/action/merge } ``` -### 28.12 PUT publish image +### 29.12 PUT publish image publish image ``` Resource URI: /mec/developer/v2/vmimages/{imageId}/action/publish @@ -6117,7 +6232,7 @@ Resource URI: /mec/developer/v2/vmimages/{imageId}/action/publish true ``` -### 28.13 PUT reset image +### 29.13 PUT reset image reset vm image status ``` Resource URI: /mec/developer/v2/vmimages/{imageId}/action/reset