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.manifeststringマニフェストファイルのパスと名前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.