Newer Version Available

This content describes an older version of this product. View Latest

Recipes List Resource

Returns a collection of Data Prep recipes and creates a recipe.
Resource URL
1/wave/recipes
Formats
JSON
Available Version
38.0
Available Components
HTTP Methods
GET POST
Request parameters for GET
Parameter Name Type Description Required or Optional Available Version
format Connect​Recipe​Format​Type​Enum Returns a collection filtered by the format of the current recipe definition. Valid values are:
  • R2 (Data Prep Classic)
  • R3 (Data Prep)
Optional 48.0
last​Modified​After String Returns a collection filtered by recipes with a last modified date after the given value. Optional 55.0
last​Modified​Before String Returns a collection filtered by recipes with a last modified date before the given value. Optional 55.0
license​Type Connect​Analytics​License​Type​Enum Filters the collection by the Analytics license type. Valid values are
  • Einstein​Analytics (Analytics)
  • Mulesoft​Data​Path (Mulesoft Data Works)
  • Sonic (Salesforce Data Pipeline)
Optional 52.0
next​Scheduled​After String Returns a collection filtered by recipes with a scheduled run after the given value. Optional 55.0
next​Scheduled​Before String Returns a collection filtered by recipes with a scheduled run before the given value. Optional 55.0
page String A generated token that indicates the view of the objects to be returned. Optional 38.0
page​Size Int Number of items to be returned in a single page. Minimum is 1, maximum is 200, and default is 25. Optional 38.0
q String Search terms. Individual terms are separated by spaces. A wildcard is automatically appended to the last token in the query string. If the user’s search query contains quotation marks or wildcards, those symbols are automatically removed from the query string in the URI along with any other special characters. Optional 38.0
sort Connect​Wave​Sort​Order​Type​Enum The type of sort order to be applied to the returned collection. Valid values are:
  • App
  • Created​By
  • Created​By​Id
  • Created​Date
  • Folder​Name
  • Last​Modified
  • Last​Modified​By
  • Last​Modified​By​Id
  • Last​Modified​Date
  • Mru (Most Recently Used, last viewed date)
  • Name
  • Title
  • Type
Optional 38.0
status Connect​Recipe​Status​Enum[] Returns a collection filtered by the statuses of the recipe. Valid values are:
  • Failure (Failure and Cancelled)
  • New (Never run or has no recent run)
  • Queued
  • Running
  • Success
  • Warning
Optional 55.0

The following REST URL shows how to use the q parameter as a search query in the GET request.

1/wave/recipes?q=MyRecipe
Response body for GET
Recipe Collection
Request body for POST
Property Name Type Description Required or Optional Available Version
enable​Editor​Validation Boolean Indicates whether editor validation for the recipe is enabled (true) or not ( false). Required 53.0
recipe​File Binary The recipe file. Required 38.0
recipe​Object Recipe​Input[] The recipe definition. Required 38.0
validation​Context Connect​Recipe​Validation​Context​Enum The recipe validation context. Valid values are:
  • Default
  • Editor
Required 53.0

The following JSON shows how to create a recipe.

1{
2    "recipeDefinition" : {
3        "name" : "MyDataPrepRecipe",
4        "nodes" : { array of node objects },
5        "ui" : { ui metadata object },
6        "version" : "1.0"
7    }              
8}
Response body for POST
Recipe