Path Parameters
The ID of the Mock API
Required string length:
5 - 10Example:
"jjl8y"
Response
200 - application/json
All scenarios
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