How to Update Requests
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
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.
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):
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:
Snapshotsstoobly-agent request reset
$ 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.