Skip to content

Instantly share code, notes, and snippets.

@ujjwal-up
Created April 23, 2025 10:17
Show Gist options
  • Save ujjwal-up/f31549817a7e1a28737a9005cf70ce76 to your computer and use it in GitHub Desktop.
Save ujjwal-up/f31549817a7e1a28737a9005cf70ce76 to your computer and use it in GitHub Desktop.
Request json
{
"recipeID": "2bea60b1-b165-4e6d-8e02-48ed32b81a3d",
"userID": "qmMK9EramJXx0WO25OTseEGXSMi1",
"deviceID": "1e3f6a86-a058-4322-bfd2-198df0c84f05",
"recipeJSON": {
"data": {
"Recipe_by_pk": {
"__typename": "Recipe",
"active": true,
"author": "",
"cooking_time": 10,
"created_at": "2023-07-21T10:58:33.189302",
"created_by": null,
"created_source": "recipeAdmin",
"cuisine": [
"Stir Fry"
],
"default": true,
"description": "A fast and delightful mélange of broccoli, mushrooms and onions, with a bite and crunch that makes for a great change from everyday boring food ",
"diet": [
"Veg"
],
"editor": "Ardhi Vivek",
"hidden_tags": [],
"id": "2bea60b1-b165-4e6d-8e02-48ed32b81a3d",
"image_url": "https://res.cloudinary.com/dgakjrw8j/image/upload/v1650331882/Stir%20Fry/20220408_133644_sirsjn.jpg",
"ingredients": [
"Jvrv1829TmalCfkvRg7z",
"dSdkOQKpezETvBaDZWgl",
"ErabFkxFKvMgpveUMe6H"
],
"is_deleted": false,
"is_public": false,
"last_edited_at": null,
"max_serving": 2,
"meal_type": [],
"metadata": {
"nutritionalValues": {
"fat": 0,
"carbs": 3,
"protein": 1,
"calories": 15
}
},
"min_serving": 2,
"name": "Stir Fry",
"parameters": {
"spice": "medium",
"sweetness": null
},
"parent_recipe_id": null,
"prep_time": null,
"recipe_market_price": 0,
"tags": [],
"updated_at": "2024-12-11T11:46:13.315883",
"substep_ids": [
{
"rank": 0,
"subStepId": "5e4cb482-9a0f-4bc1-815e-676707bf23b9"
},
{
"rank": 1,
"subStepId": "85bae20c-fc6f-4bff-91b8-46960afb3f7d"
},
{
"rank": 2,
"subStepId": "94a94fe4-5f5a-4553-8946-db5262e97bd3"
},
{
"rank": 3,
"subStepId": "5d5188e3-a3f5-4c11-9d21-746f4d343717"
}
]
},
"Substep": [
{
"__typename": "Substep",
"created_at": "2025-04-21T12:31:43.857547",
"description": "",
"golden_step_nickname": null,
"id": "94a94fe4-5f5a-4553-8946-db5262e97bd3",
"ingredients": [],
"is_golden": true,
"media": {
"url": "",
"loop": true,
"muted": true,
"title": "",
"duration": 0,
"startTime": 0
},
"name": "",
"notes": null,
"parameters": {
"cap": "on",
"lid": "on",
"scrape": false,
"settings": [
{
"kd": null,
"ki": null,
"kp": null,
"time": 180,
"speed": 0,
"exitTime": null,
"stirDuty": null,
"stirAngle": null,
"scaleModel": {
"type": "none"
},
"heatingMode": "CLASSIC",
"pidConstant": null,
"temperature": "90",
"strategyType": ""
}
]
},
"rank": 0,
"tags": [],
"type": "instruction",
"updated_at": "2025-04-21T12:31:43.857547"
},
{
"__typename": "Substep",
"created_at": "2025-04-21T12:31:43.857547",
"description": "Chilli and garlic get tempering in oil",
"golden_step_nickname": null,
"id": "5e4cb482-9a0f-4bc1-815e-676707bf23b9",
"ingredients": [
"Jvrv1829TmalCfkvRg7z",
"dSdkOQKpezETvBaDZWgl",
"ErabFkxFKvMgpveUMe6H"
],
"is_golden": true,
"media": {
"url": "",
"loop": true,
"muted": true,
"title": "",
"duration": 0,
"startTime": 0
},
"name": "",
"notes": null,
"parameters": {
"items": [
{
"ingredients": [
{
"amount": {
"qty": 10,
"unit": "cloves"
},
"default": true,
"critical": true,
"essential": true,
"ingredientId": "Jvrv1829TmalCfkvRg7z",
"ingredientDetail": "don't put too much"
},
{
"prep": {
"prepId": null
},
"amount": {
"qty": 10,
"unit": "g"
},
"essential": true,
"ingredientId": "dSdkOQKpezETvBaDZWgl",
"ingredientDetail": "please put a lot"
},
{
"prep": {
"prepId": null
},
"amount": {
"qty": 10,
"unit": "g"
},
"critical": true,
"essential": true,
"ingredientId": "ErabFkxFKvMgpveUMe6H",
"ingredientDetail": "please don't put"
}
]
}
],
"location": "Jar"
},
"rank": 1,
"tags": [],
"type": "ingredients",
"updated_at": "2025-04-21T12:31:43.857547"
},
{
"__typename": "Substep",
"created_at": "2025-04-21T12:31:43.857547",
"description": "Onions get cut and sautéed",
"golden_step_nickname": null,
"id": "85bae20c-fc6f-4bff-91b8-46960afb3f7d",
"ingredients": [],
"is_golden": true,
"media": {
"url": "",
"loop": true,
"muted": true,
"title": "",
"duration": 0,
"startTime": 0
},
"name": "Sautéing Onions ",
"notes": null,
"parameters": {
"cap": "off",
"lid": "off",
"settings": [
{
"kd": null,
"ki": null,
"kp": null,
"time": 120,
"speed": 13,
"exitTime": null,
"stirDuty": null,
"stirAngle": null,
"scaleModel": {
"type": "none"
},
"heatingMode": "CLASSIC",
"pidConstant": null,
"temperature": "110",
"strategyType": ""
}
]
},
"rank": 2,
"tags": [],
"type": "instruction",
"updated_at": "2025-04-21T12:31:43.857547"
},
{
"__typename": "Substep",
"created_at": "2025-04-21T12:31:43.857547",
"description": "Serve",
"golden_step_nickname": null,
"id": "5d5188e3-a3f5-4c11-9d21-746f4d343717",
"ingredients": [],
"is_golden": true,
"media": {
"url": "https://res.cloudinary.com/dgakjrw8j/image/upload/v1690183378/VerticalVideosE3/dmvkfncvjfx9duyjbnai.jpg",
"loop": true,
"muted": true,
"title": "",
"duration": 0,
"startTime": 0
},
"name": "",
"notes": null,
"parameters": {
"location": "Bowl",
"description": "",
"outsideDescription": ""
},
"rank": 3,
"tags": [],
"type": "outsideInstruction",
"updated_at": "2025-04-21T12:31:43.857547"
}
]
}
},
"args": {
"role": "admin",
"mode": "not-guided",
"prompt": ""
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment