mocks

Update a scenario

put/v1/mocks/scenarios/{scenario_id}

Path parameters

scenario_idstring uuid required

Request body

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

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

Changes

Changed in 1 of the 3 revisions of this API.6

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog