Environments
Save and Test Warm Hook
Saves the supplied script as the active warm hook for the environment and runs it in an isolated sandbox. Always persists the new version; the response includes the test result so callers can decide whether to roll back. The endpoint takes 30–90 seconds to return because it spins up a real sandbox.
post/v1/environments/{environmentId}/warm-hooks/save-test
Request
- Base URLhttps://api.tryreplicas.com
- URLhttps://api.tryreplicas.com/v1/environments/{environmentId}/warm-hooks/save-test
- AuthHTTP bearer
Path parameters
environmentIdstring required
Environment UUID, or the literal string global.
Request body
Response
Warm hook saved (test result included in body)
Changes
No recorded changes to this operation across all 1 revision of this API.