Scenario List
- Print
- PDF
Scenario List
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Summary
Search the scenario list of the SourceDeploy project.
Request
API URL
GET {SOURCEDEPLOY_API_URL}/project/{projectId}/stage/{stageId}/scenario
Request parameter
Item | Type | Description | Remarks |
---|---|---|---|
projectId | string | Project ID | Search with projectList API |
stageId | string | stage ID | Search with stageList API |
Request query
Item | Requirement status | Type | Description | Remarks |
---|---|---|---|---|
scenarioName | N | string | Search by scenario name | |
pageSize | N | string | Page size | Up to 100 (default: 100) |
pageNo | N | string | Page number | Starts from 1 |
Request body
Response
Response body
{
"project": {
"id": "number",
"name": "string"
},
"stage": {
"id": "number",
"name": "string"
},
"scenarioList": [
{
"id": "number",
"name": "string"
}
]
}
Item | Type | Description | Remarks |
---|---|---|---|
project.id | number | Project ID | |
project.name | string | Project name | |
stage.id | number | stage id | |
stage.name | string | Stage name | |
scenarioList.id | number | Scenario ID | |
scenarioList.name | string | Scenario name |
Was this article helpful?