curl --request GET \
--url https://wmc.wiremockapi.cloud/v1/mock-apis/{mockApiId}/scenarios \
--header 'Authorization: <api-key>'{
"scenarios": [
{
"id": "c8d249ec-d86d-48b1-88a8-a660e6848042",
"name": "my_scenario",
"possibleStates": [
"Started",
"state_1",
"state_2"
],
"state": "state_2"
}
]
}curl --request GET \
--url https://wmc.wiremockapi.cloud/v1/mock-apis/{mockApiId}/scenarios \
--header 'Authorization: <api-key>'{
"scenarios": [
{
"id": "c8d249ec-d86d-48b1-88a8-a660e6848042",
"name": "my_scenario",
"possibleStates": [
"Started",
"state_1",
"state_2"
],
"state": "state_2"
}
]
}The ID of the Mock API
5 - 10"jjl8y"
All scenarios
Show child attributes
The scenario ID
"c8d249ec-d86d-48b1-88a8-a660e6848042"
The scenario name
"my_scenario"
All the states this scenario can be in
["Started", "state_1", "state_2"]The current state of this scenario
"state_2"