SourceDeploy scenario list
    • PDF

    SourceDeploy scenario list

    • PDF

    Article summary

    Overview

    View the SourceDeploy scenario list.

    Requests

    API URL

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

    Request parameters

    ItemTypeRequirement statusDescriptionRemarks
    projectIdstringYSourceDeploy project IDView with sourceDeployProjectList API
    stageIdstringYSourceDeploy stage IDView with sourceDeployStageList API

    Request queries

    ItemTypeRequirement statusDescriptionRemarks
    pageNostringNPage number. Forward the entire list if there is no pageNo or pageSizerequired if pageSize exist
    pageSizestringNPage size. Forward the entire list if there is no pageNo or pageSizerequired if pageNo exist
    searchWordstringNScenario name to search (forward scenario list including strings)

    Request bodies

    None

    Responses

    Response bodies

    {
        "scenarioList": [
            {
                "id": "integer",
                "name": "string",
                "source": {
                    "type": "string",
                  	"target": "TSourceSourceBuild" | "TSourceObjectStorage" | "TSourceKubernetes"
                }
            }
        ]
    }
    
    ItemTypeDescriptionRemarks
    idintegerScenario ID
    namestringScenario name
    source.typestringDeployment target type"SourceBuild"| "ObjectStorage" |"KubernetesService"
    source.targetTSourceSourceBuild | TSourceObjectStorage | TSourceKubernetesDeployment target typeWhen source.type= SourceBuild, TSourceSourceBuild
    When source.type= ObjectStorage, TSourceObjectStorage
    When source.type= KubernetesService, TSourceKubernetes

    TSourceSourceBuild

    {
        "projectName": "string"
    }  
    
    ItemTypeDescriptionRemarks
    source.target.projectNamestringBuild project namerequired if deploy.type is SourceBuild

    TSourceObjectStorage

    {
        "file": "string"
    } 
    
    ItemTypeDescriptionRemarks
    source.target.filestringObject Storage file, including pathrequired if deploy.type is ObjectStorage

    TSourceKubernetes

    {
        "manifest": "string"
    }
    
    ItemTypeDescriptionRemarks
    source.target.manifeststringManifest file path and namerequired if deploy.type is KubernetesService

    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.