Download OpenAPI specification:
API for recipe management and cooking assistance
| username required | string [ 1 .. 64 ] characters ^[a-zA-Z0-9_.-]+$ Alphanumeric, underscores, hyphens, and dots only |
| password required | string [ 4 .. 128 ] characters |
{- "username": "string",
- "password": "string"
}{- "message": "string"
}| username required | string [ 1 .. 64 ] characters ^[a-zA-Z0-9_.-]+$ Alphanumeric, underscores, hyphens, and dots only |
| password required | string [ 4 .. 128 ] characters |
{- "username": "string",
- "password": "string"
}{- "token": "string"
}| username | string [ 1 .. 64 ] characters ^[a-zA-Z0-9_.-]+$ Alphanumeric, underscores, hyphens, and dots only |
| password | string [ 4 .. 128 ] characters |
object (UserPreferences) |
{- "username": "string",
- "password": "string",
- "preferences": {
- "language": "EN",
- "theme": "LIGHT",
- "diet": [
- "string"
], - "allergies": [
- "string"
], - "aboutMe": [
- "string"
]
}
}{- "message": "string"
}[- {
- "title": "string",
- "ingredients": [
- {
- "quantity": 0,
- "unit": "string",
- "name": "string"
}
], - "instructions": [
- "string"
], - "portions": 0.5,
- "nutrients": {
- "calories": 0,
- "protein": 0,
- "fat": 0,
- "carbs": 0
}, - "id": 1,
- "createdAt": "2019-08-24T14:15:22Z",
- "editedAt": "2019-08-24T14:15:22Z",
- "openedAt": "2019-08-24T14:15:22Z"
}
]| title required | string [ 1 .. 255 ] characters |
required | Array of objects (RecipeIngredient) non-empty |
| instructions required | Array of strings non-empty [ items non-empty ] |
| portions required | number >= 0.5 |
object (RecipeNutrients) |
{- "title": "string",
- "ingredients": [
- {
- "quantity": 0,
- "unit": "string",
- "name": "string"
}
], - "instructions": [
- "string"
], - "portions": 0.5,
- "nutrients": {
- "calories": 0,
- "protein": 0,
- "fat": 0,
- "carbs": 0
}
}{- "id": 1
}| recipeId required | integer <int64> >= 1 |
{- "title": "string",
- "ingredients": [
- {
- "quantity": 0,
- "unit": "string",
- "name": "string"
}
], - "instructions": [
- "string"
], - "portions": 0.5,
- "nutrients": {
- "calories": 0,
- "protein": 0,
- "fat": 0,
- "carbs": 0
}, - "id": 1,
- "createdAt": "2019-08-24T14:15:22Z",
- "editedAt": "2019-08-24T14:15:22Z",
- "openedAt": "2019-08-24T14:15:22Z"
}| recipeId required | integer <int64> >= 1 |
| title | string [ 1 .. 255 ] characters |
Array of objects (RecipeIngredient) non-empty | |
| instructions | Array of strings non-empty [ items non-empty ] |
| portions | number >= 0.5 |
object (RecipeNutrients) |
{- "title": "string",
- "ingredients": [
- {
- "quantity": 0,
- "unit": "string",
- "name": "string"
}
], - "instructions": [
- "string"
], - "portions": 0.5,
- "nutrients": {
- "calories": 0,
- "protein": 0,
- "fat": 0,
- "carbs": 0
}
}{- "title": "string",
- "ingredients": [
- {
- "quantity": 0,
- "unit": "string",
- "name": "string"
}
], - "instructions": [
- "string"
], - "portions": 0.5,
- "nutrients": {
- "calories": 0,
- "protein": 0,
- "fat": 0,
- "carbs": 0
}, - "id": 1,
- "createdAt": "2019-08-24T14:15:22Z",
- "editedAt": "2019-08-24T14:15:22Z",
- "openedAt": "2019-08-24T14:15:22Z"
}| prompt required | string [ 1 .. 4096 ] characters |
| language | string (Language) Enum: "EN" "DE" "HU" Active UI language; generated recipe content is written in it |
{- "prompt": "string",
- "language": "EN"
}[- {
- "title": "string",
- "ingredients": [
- {
- "quantity": 0,
- "unit": "string",
- "name": "string"
}
], - "instructions": [
- "string"
], - "portions": 0.5,
- "nutrients": {
- "calories": 0,
- "protein": 0,
- "fat": 0,
- "carbs": 0
}
}
]required | object (RecipeInput) |
{- "recipe": {
- "title": "string",
- "ingredients": [
- {
- "quantity": 0,
- "unit": "string",
- "name": "string"
}
], - "instructions": [
- "string"
], - "portions": 0.5,
- "nutrients": {
- "calories": 0,
- "protein": 0,
- "fat": 0,
- "carbs": 0
}
}
}{- "calories": 0,
- "protein": 0,
- "fat": 0,
- "carbs": 0
}required | object (RecipeInput) |
| prompt required | string [ 1 .. 4096 ] characters |
{- "recipe": {
- "title": "string",
- "ingredients": [
- {
- "quantity": 0,
- "unit": "string",
- "name": "string"
}
], - "instructions": [
- "string"
], - "portions": 0.5,
- "nutrients": {
- "calories": 0,
- "protein": 0,
- "fat": 0,
- "carbs": 0
}
}, - "prompt": "string"
}{- "response": "string"
}