curl --request POST \
--url https://api.getcargo.io/v1/expression/recipes/{uuid}/newVersion \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"category": "other",
"isPublic": true,
"placeholders": [
{
"slug": "<string>",
"name": "<string>",
"kind": "string",
"description": "<string>"
}
],
"expression": "<string>"
}
'{}Create a new version of a recipe
curl --request POST \
--url https://api.getcargo.io/v1/expression/recipes/{uuid}/newVersion \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"category": "other",
"isPublic": true,
"placeholders": [
{
"slug": "<string>",
"name": "<string>",
"kind": "string",
"description": "<string>"
}
],
"expression": "<string>"
}
'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Resource UUID
Request body schema.
Recipe name.
Recipe description.
Recipe category.
other, classification, cleaning, marketing, sales, event, copywriting Whether the recipe is public.
Recipe placeholders.
Show child attributes
Recipe expression.
Successful response
The response is of type object.
Was this page helpful?