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 should also update the Stoobly request.
Updating Requests
Before updating a request, it is recommended to create a snapshot in case changes need to be reverted.
There are three main strategies to update request(s):
Editing
Replaying
Overwriting
Persisting Changes
How to Snapshot RequestsReverting 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
stoobly-agent request reset
Options
$ stoobly-agent request reset --help
Usage: stoobly-agent request reset [OPTIONS] REQUEST_KEY
Reset a request to its snapshot state
Options:
--force Toggles whether resources are hard deleted.
-h, --help Show this message and exit.
Last updated
Was this helpful?