v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-304917042.1 MB
mocks

Create a scenario for a mock

post/v1/mocks/{mock_id}/scenarios

Path parameters

mock_idstring uuid required

Request body

namestring required
priorityinteger
match_methodstring
match_path_patternstring nullable
match_headersobject
match_queryobject
match_bodyobject
response_statusinteger
response_headersobject
delay_msinteger
is_enabledboolean

Response

Successful Response

idstring uuid required
mock_idstring uuid required
namestring required
priorityinteger required
match_methodstring required
match_path_patternstring nullable required
match_headersobject required
match_queryobject required
match_bodyobject required
response_statusinteger required
response_headersobject required
delay_msinteger required
is_enabledboolean required
created_atstring date-time required
updated_atstring date-time required