Update a stub mapping
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
The ID of the Mock API
The UUID of stub mapping
Body
This stub mapping's unique identifier
Alias for the id
The stub mapping's name
Indicates that the stub mapping should be persisted immediately on create/update/delete and survive resets to default.
This stub mapping's priority relative to others. 1 is highest.
The name of the scenario that this stub mapping is part of
The required state of the scenario in order for this stub to be matched.
The new state for the scenario to be updated to after this stub is served.
A map of the names of post serve action extensions to trigger and their parameters.
The list of serve event listeners
Arbitrary metadata to be used for e.g. tagging, documentation. Can also be used to find and remove stubs.
Response
This stub mapping's unique identifier
Alias for the id
The stub mapping's name
Indicates that the stub mapping should be persisted immediately on create/update/delete and survive resets to default.
This stub mapping's priority relative to others. 1 is highest.
The name of the scenario that this stub mapping is part of
The required state of the scenario in order for this stub to be matched.
The new state for the scenario to be updated to after this stub is served.
A map of the names of post serve action extensions to trigger and their parameters.
The list of serve event listeners
Arbitrary metadata to be used for e.g. tagging, documentation. Can also be used to find and remove stubs.