ScenarioRunScenarioEdit
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
POST |
/api/v1/organizations/{organization_id}/verification/projects/{project_id}/runs/{id}/scenario_runs/{scenario_run_id}/scenario_edit/run |
create |
New run, with the normal preparation and admission checks |
POST |
/api/v1/organizations/{organization_id}/verification/projects/{project_id}/runs/{id}/scenario_runs/{scenario_run_id}/scenario_edit/suggest |
create |
Validated proposal ready for review |
POST |
/api/v1/organizations/{organization_id}/verification/projects/{project_id}/runs/{id}/scenario_runs/{scenario_run_id}/scenario_edit/validate |
create |
Valid proposed steps and outcomes |
Fields
| Field | Type | Required | Description |
|---|
create
POST /api/v1/organizations/{organization_id}/verification/projects/{project_id}/runs/{id}/scenario_runs/{scenario_run_id}/scenario_edit/run
Operation ID: post_api_v1_organizations_organization_id_verification_projects_project_id_runs_id_scenario_runs_scenario_run_id_scenario_edit_run.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
project_id |
path |
string |
Yes | |
id |
path |
string |
Yes | |
scenario_run_id |
path |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
idempotency_key |
string |
Yes | |
version |
integer |
Yes | |
viewer_time_zone |
string |
No |
Responses
202: New run, with the normal preparation and admission checks
application/json
| Property | Type | Required | Description |
|---|---|---|---|
web_path |
string |
Yes |
409: The reviewed scenario version changed
422: The target or scenario is unavailable
POST /api/v1/organizations/{organization_id}/verification/projects/{project_id}/runs/{id}/scenario_runs/{scenario_run_id}/scenario_edit/suggest
Operation ID: post_api_v1_organizations_organization_id_verification_projects_project_id_runs_id_scenario_runs_scenario_run_id_scenario_edit_suggest.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
project_id |
path |
string |
Yes | |
id |
path |
string |
Yes | |
scenario_run_id |
path |
string |
Yes |
Request body
application/json
The request body is object and object and object.
Responses
200: Validated proposal ready for review
application/json
The response is object and object.
409: The saved scenario changed
422: Invalid draft or edit request
503: Suggestion could not be completed
POST /api/v1/organizations/{organization_id}/verification/projects/{project_id}/runs/{id}/scenario_runs/{scenario_run_id}/scenario_edit/validate
Operation ID: post_api_v1_organizations_organization_id_verification_projects_project_id_runs_id_scenario_runs_scenario_run_id_scenario_edit_validate.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
project_id |
path |
string |
Yes | |
id |
path |
string |
Yes | |
scenario_run_id |
path |
string |
Yes |
Request body
application/json
The request body is object and object.
Responses
200: Valid proposed steps and outcomes
application/json
| Property | Type | Required | Description |
|---|---|---|---|
outcomes |
array of string or object |
Yes | |
steps |
array of string or object |
Yes |