name required | string |
email required | string <email> |
password required | string |
password_confirmation required | string |
allow_suggestion required | boolean |
allow_newsletter required | boolean |
{- "name": "string",
- "password": "string",
- "password_confirmation": "string",
- "allow_suggestion": true,
- "allow_newsletter": true
}
null
name | string |
allow_newsletter | boolean |
allow_suggestion | boolean |
string | |
avatar | string |
current_password | string |
password | string |
password_confirmation | string |
{- "name": "string",
- "allow_newsletter": true,
- "allow_suggestion": true,
- "email": "string",
- "avatar": "string",
- "current_password": "string",
- "password": "string",
- "password_confirmation": "string"
}
user_id required | integer |
difficulty_id required | integer |
cuisine_is | integer |
category_id required | integer |
title required | string |
description | string |
image required | string |
execution_time required | integer |
preparation_time | integer |
waiting_time | integer |
required | Array of objects (RecipeIngredient) |
required | object (RecipePortion) |
required | Array of objects (RecipeInstruction) |
Array of objects (RecipeUtensil) |
{- "user_id": 0,
- "difficulty_id": 0,
- "cuisine_is": 0,
- "category_id": 0,
- "title": "string",
- "description": "string",
- "image": "string",
- "execution_time": 0,
- "preparation_time": 0,
- "waiting_time": 0,
- "ingredients": [
- {
- "ingredient_id": 0,
- "amount": 0,
- "preparation": "string",
- "is_main": true,
- "sort": 0
}
], - "portions": {
- "portion_type_id": 0,
- "amount": 0
}, - "instructions": [
- {
- "name": "string",
- "description": "string",
- "sort": 0
}
], - "utensils": [
- {
- "utensil_id": 0,
- "amount": 0,
- "sort": 0
}
]
}