Function
Create a group
Request URL
/pop/v5/deploy_group
Request method
POST
Request parameters
Parameter | Type | Required? | Description |
---|---|---|---|
appId | String | Yes | Application ID |
groupName | String | Yes | Group name, up to 64 characters |
Response parameters
Parameter | Type | Description |
---|---|---|
Code | Integer | Code |
Message | String | Message |
DeployGroup | DeployGroup | Information of the created group |
DeployGroup
Parameter | Type | Description |
---|---|---|
Id | String | Group ID |
GroupName | String | Group name |
GroupType | Integer | Group type.0: Default group1: Grayscale is disabled for traffic management.2: Grayscale is enabled for traffic management. |
AppId | String | Application ID |
ClusterId | String | Cluster ID |
PackageVersionId | String | Group version ID |
AppVersionId | String | Application version ID |
CreateTime | Long | Creation time |
UpdateTime | Long | Update time |