A recipe is a process, or processes, which performs a task. Some endpoints in the API return a recipe. This contains the details of the recipe that has been started and includes an id for the recipe and its status. The recipe runs asynchronously and an endpoint /2016-07/recipes/:id allows applications to poll for the current status of any recipe they have the id of.
Consult the /2016-07/recipes/:id endpoint's reference page for details of the JSON recipe object that is returned by this and other endpoints. One example of other endpoints returning a recipe is the /2016-07/deployments/:id endpoint which returns the recipe that is performing the deprovisioning.
Each recipe has a current
status field, which may be
The recipe is actively progressing and performing its task.
The recipe is waiting for a resource to become available or task to complete.
The recipe has failed to complete its task.
The recipe has successfully run.
Updated 2 years ago