Environments

Save Warm Hook

Persists and activates the supplied script as the warm hook for the environment without running a test. Use this when you want to save quickly without waiting for a sandbox to spin up.

post/v1/environments/{environmentId}/warm-hooks/save

Request

  • Base URL
    https://api.tryreplicas.com
  • URL
    https://api.tryreplicas.com/v1/environments/{environmentId}/warm-hooks/save
  • Auth
    HTTP bearer

Path parameters

environmentIdstring required

Environment UUID, or the literal string global.

Request body

contentstring required

Shell script to persist and activate

Response

Warm hook saved and activated

Changes

No recorded changes to this operation across all 1 revision of this API.