mocks

Atomically replace all scenarios on a mock

put/v1/mocks/{mock_id}/scenarios

Path parameters

mock_idstring uuid required

Request body

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