How to Update Requests
Prerequisites
Why Update Requests?
At some point in time, API providers will change the contract of a request. For example, maybe a component in the request or its response needs to be updated. When this happens we need to update the request on Stoobly's side as well. This is done in one of two ways:
Manually editing the request
Replay and overwriting the request
Updating Requests
Before updating a request, it is recommended to create a snapshot
There are three strategies to update a request:
Editing
Editing from the UIEditing with SnapshotsReplaying
Replaying from the UIReplaying from the CLIContract-Driven Updating
Updating with Open APIReverting Changes
In case you update a request with unintended consequences, you can reset it to the last snapshot state. For more information see our documentation on the snapshots feature:
SnapshotsCommand
Options
Last updated