Stage Update
    • PDF

    Stage Update

    • PDF

    Article summary

    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

    ItemTypeDescriptionRemarks
    projectIdstringProject IDSearch projectList
    stageIdstringstage IDSearch with stageList

    Request query

    None

    Request body

    {
        "name": "string",
        "type": "string",
        "config": "TEnvServer" | "TEnvAutoScalingGroup" | "TEnvKubernetesService" | "TEnvObjectStorage"
    }
    
    ItemTypeRequirement statusDescriptionRemarks
    namestringN
    Required when editing a name
    Stage name
    typestringN
    Required when editing a deployment target
    Deployment target type"Server" | "AutoScalingGroup" |. "KubernetesService" |"ObjectStorage"
    ConfigTEnvServer | TEnvAutoScalingGroup | TEnvKubernetesService|TEnvObjectStorageN
    Required when editing a deployment target
    Set a deployment targetIf type="Server", then TEnvServer
    If type="AutoScalingGroup", then TEnvAutoScalingGroup
    If type="TEnvKubernetesService", then TEnvKubernetesService
    If type="ObjectStorage", then TEnvObjectStorage

    TEnvServer

    {		
        "serverNo": ["number"]
    }
    
    ItemTypeRequirement statusDescriptionRemarks
    serverNonumber[]YServer numberSearch with serverList API

    TEnvAutoScalingGroup

    {		
        "autoScalingGroupNo": "number"
    }
    
    ItemTypeRequirement statusDescriptionRemarks
    autoScalingGroupNonumberYASG numberSearch with autoScalingGroupList API

    TEnvKubernetesService

    {		
        "clusterNo": "number"
    }
    
    ItemTypeRequirement statusDescriptionRemarks
    clusterNonumberYCluster numberSearch with kubernetesServiceClusterList API

    TEnvObjectStorage

    {		
        "bucketName": "string"
    }
    
    ItemTypeRequirement statusDescriptionRemarks
    bucketNamestringYBucket nameSearch with bucketNameList API

    Response

    Response body

    {
    		"id": "number",
    		"name": "string"
    }
    
    ItemTypeDescriptionRemarks
    idnumberstage id
    namestringStage name

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.