Stage Update
- Print
- PDF
Stage Update
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
Summary
Edit a stage of the SourceDeploy project.
Request
API URL
PATCH {SOURCEBUILD_API_URL}/project/{projectId}/stage/{stageId}
Request parameter
Item | Type | Description | Remarks |
---|---|---|---|
projectId | string | Project ID | Search projectList |
stageId | string | stage ID | Search with stageList |
Request query
None
Request body
{
"name": "string",
"type": "string",
"config": "TEnvServer" | "TEnvAutoScalingGroup" | "TEnvKubernetesService" | "TEnvObjectStorage"
}
Item | Type | Requirement status | Description | Remarks |
---|---|---|---|---|
name | string | N Required when editing a name | Stage name | |
type | string | N Required when editing a deployment target | Deployment target type | "Server" | "AutoScalingGroup" |. "KubernetesService" |"ObjectStorage" |
Config | TEnvServer | TEnvAutoScalingGroup | TEnvKubernetesService|TEnvObjectStorage | N Required when editing a deployment target | Set a deployment target | If type="Server", then TEnvServer If type="AutoScalingGroup", then TEnvAutoScalingGroup If type="TEnvKubernetesService", then TEnvKubernetesService If type="ObjectStorage", then TEnvObjectStorage |
TEnvServer
{
"serverNo": ["number"]
}
Item | Type | Requirement status | Description | Remarks |
---|---|---|---|---|
serverNo | number[] | Y | Server number | Search with serverList API |
TEnvAutoScalingGroup
{
"autoScalingGroupNo": "number"
}
Item | Type | Requirement status | Description | Remarks |
---|---|---|---|---|
autoScalingGroupNo | number | Y | ASG number | Search with autoScalingGroupList API |
TEnvKubernetesService
{
"clusterNo": "number"
}
Item | Type | Requirement status | Description | Remarks |
---|---|---|---|---|
clusterNo | number | Y | Cluster number | Search with kubernetesServiceClusterList API |
TEnvObjectStorage
{
"bucketName": "string"
}
Item | Type | Requirement status | Description | Remarks |
---|---|---|---|---|
bucketName | string | Y | Bucket name | Search with bucketNameList API |
Response
Response body
{
"id": "number",
"name": "string"
}
Item | Type | Description | Remarks |
---|---|---|---|
id | number | stage id | |
name | string | Stage name |
Was this article helpful?