SourceDeploy 시나리오 목록
    • PDF

    SourceDeploy 시나리오 목록

    • PDF

    Article Summary

    개요

    SourceDeploy 프로젝트 시나리오 목록을 조회합니다.

    요청

    API URL

    GET  {SOURCEPIPELINE_API_URL}/sourcedeploy/project/{projectId}/stage/{stageId}/scenario
    

    요청 Parameter

    항목타입필수여부설명비고
    projectIdstringYSourceDeploy 프로젝트 IDsourceDeployProjectList API 로 조회
    stageIdstringYSourceDeploy 스테이지 IDsourceDeployStageList API 로 조회

    요청 Query

    항목타입필수여부설명비고
    pageNostringN페이지 넘버 pageNo, pageSize가 없다면 전체 리스트를 전달required if pageSize exist
    pageSizestringN페이지 사이즈 pageNo, pageSize가 없다면 전체 리스트를 전달required if pageNo exist
    searchWordstringN검색할 시나리오 이름 (문자열이 포함되어 있는 시나리오 리스트를 전달)

    요청 Body

    없음

    응답

    응답 Body

    {
        "scenarioList": [
            {
                "id": "integer",
                "name": "string",
                "source": {
                    "type": "string",
                  	"target": "TSourceSourceBuild" | "TSourceObjectStorage" | "TSourceKubernetes"
                }
            }
        ]
    }
    
    항목타입설명비고
    idinteger시나리오 ID
    namestring시나리오 이름
    source.typestring배포 대상 타입"SourceBuild"| "ObjectStorage" |"KubernetesService"
    source.targetTSourceSourceBuild | TSourceObjectStorage | TSourceKubernetes배포 대상 타입source.type= SourceBuild 일때, TSourceSourceBuild
    source.type= ObjectStorage 일때, TSourceObjectStorage
    source.type= KubernetesService 일때, TSourceKubernetes

    TSourceSourceBuild

    {
        "projectName": "string"
    }  
    
    항목타입설명비고
    source.target.projectNamestring빌드 프로젝트 이름required if deploy.type is SourceBuild

    TSourceObjectStorage

    {
        "file": "string"
    } 
    
    항목타입설명비고
    source.target.filestring오브젝트 스토리지 파일, 경로포함required if deploy.type is ObjectStorage

    TSourceKubernetes

    {
        "manifest": "string"
    }
    
    항목타입설명비고
    source.target.manifeststringmanifest 파일 경로 및 이름required if deploy.type is KubernetesService

    이 문서가 도움이 되었습니까?

    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.