Newer Version Available
Recipe Resource
- Resource URL
-
1/wave/recipes/<id> - Formats
- JSON
- Available Version
- 38.0
- Available Components
- HTTP Methods
- DELETE GET PATCH PUT
- Run a Recipe
- To run a Data Prep recipe, use the Dataflow Jobs Resource API. For examples of how to start and stop recipes, see Start and Stop a Dataflow Job or Recipe.
- Schedule a Recipe
- To schedule a recipe, use the Schedule Resource API. For examples of how to schedule recipes, see Schedule Dataflows, Recipes, and Data Syncs.
- Request parameters for GET
-
Parameter Name Type Description Required or Optional Available Version format ConnectRecipeFormatTypeEnum Specifies the format of the returned recipe. Valid values are: - R2 (Data Prep Classic)
- R3 (Data Prep)
Required for Data Prep recipes, Optional for Data Prep Classic recipes. 49.0 historyId Id Use the history ID to request a specific recipe version. Optional 51.0 The following REST URL shows how to use the format request parameter to return a Data Prep recipe via the GET request.
1/wave/recipes/<05vS7000000xxxxxxx>?format=R3 - Response body for GET, PATCH, and PUT
- Recipe
- Request body for PATCH
-
Property Name Type Description Required or Optional Available Version enableEditorValidation Boolean Indicates whether editor validation for the recipe is enabled (true) or not ( false). Required 53.0 recipeFile Binary The recipe file. Required 38.0 recipeObject RecipeInput[] The recipe definition. Required 38.0 validationContext ConnectRecipeValidationContextEnum The recipe validation context. Valid values are: - Default
- Editor
Required 53.0 The following JSON shows how to update a recipe, specifically the license type for the recipe.
1{ 2 "recipeObject" : { 3 "licenseAttributes": { 4 "type": "Sonic" 5 } 6 } 7} - Request body for PUT
- Use the PUT API request to revert to a previous historical version.
Asset Revert History Input
The following JSON shows the revert request for a recipe version.
1{ 2 "historyId" : "0RmRM000000xxxxxxx" 3}