스테이지 상세

Prev Next

SourceDeploy 프로젝트의 stage 상세를 조회합니다.

요청

API URL

GET  {SOURCEDEPLOY_API_URL}/project/{projectId}/stage/{stageId}

요청 Parameter

항목 타입 설명 비고
projectId string 프로젝트 ID projectList API 로 조회
stageId string stage ID stageList API 로 조회

요청 Query

없음

요청 Body

없음

응답

응답 Body

{
    "project" : {
       "id": "number",
       "name": "string"
   },   
    "id": "number",
    "name": "string",
    "type": "string", 
    "config": "TEnvServer" | "TEnvAutoScalingGroup" | "TEnvKubernetesService" | "TEnvObjectStorage"
    
}
항목 타입 설명 비고
project.id number 프로젝트 id
project.name string 프로젝트 이름
id number stage id
name string stage 이름
type string 배포 타깃 타입 "Server" | "AutoScalingGroup" | "KubernetesService" |"ObjectStorage"
Config TEnvServer | TEnvAutoScalingGroup | TEnvKubernetesService |TEnvObjectStorage 배포 타깃 설정

TEnvServer

{		
    "serverNo": ["number"],
    "serverName": ["string"]
}
항목 타입 설명 비고
serverNo number[] 서버 번호 serverLIst API 로 조회
serverName string[] 서버 이름

TEnvAutoScalingGroup

{		
    "autoScalingGroupNo": "number",
    "autoScalingGroupName": "string" 
}
항목 타입 설명 비고
autoScalingGroupNo number ASG 번호 autoScalingGroupList API 로 조회
autoScalingGroupName string ASG 이름

TEnvKubernetesService

{		
    "clusterNo": "number",
    "clusterName": "string"
    "clusterUuid": "string",
}
항목 타입 설명 비고
clusterNo number Cluster 번호 kubernetesServiceClusterList API 로 조회
clusterName string Cluster 이름
clusterUuid string Cluster 고유 id

TEnvObjectStorage

{		
    "bucketName": "string"
}
항목 타입 설명 비고
bucketName string Bucket 이름 bucketNameList API 로 조회