{ "data": [ { "id": 1, "slug": "keto-diet", "name": "Keto Diet", "image": "https://example.com/keto.jpg", "duration": 30, "state": "active", "type": { "light": false, "veg": false, "carb": false, "meat": true }, "description_md": "Keto diet description", "daily_schedule": { "1": { "1": { "0": { "name": "Яйца вареные", "portion": "pcs", "quantity": 2, "product_nutritional_value_id": 401, "nutrition": { "energy": 155.0, "proteins": 12.6, "fats": 10.6, "carbohydrates": 1.1 } } }, "2": { "0": { "name": "Авокадо", "portion": "gr", "quantity": 100, "product_nutritional_value_id": 501, "nutrition": { "energy": 160.0, "proteins": 2.0, "fats": 14.0, "carbohydrates": 9.0 } } } }, "2": { "1": { "0": { "name": "Лосось", "portion": "gr", "quantity": 150, "product_nutritional_value_id": 502, "nutrition": { "energy": 312.0, "proteins": 30.0, "fats": 19.5, "carbohydrates": 0.0 } } } } }, "author": { "author_slug": "nutritionist-1", "author_name": "Nutritionist Name", "author_profile_icon": "https://example.com/nutritionist.jpg", "author_is_me": false, "is_entity_subscribed_by_me": null, "author_place_in_rating": null }, "total_likes": 50, "total_views": 500, "total_comments": 25, "was_liked_by_me": false, "is_favorite": false, "daily_nutrition": [ { "energy": 627.0, "proteins": 44.6, "fats": 44.1, "carbohydrates": 10.1 }, { "energy": 312.0, "proteins": 30.0, "fats": 19.5, "carbohydrates": 0.0 } ] } ], "links": { "first": "http://localhost/api/diets?page=1", "last": "http://localhost/api/diets?page=1", "prev": null, "next": null }, "meta": { "current_page": 1, "from": 1, "last_page": 1, "links": [], "path": "http://localhost/api/diets", "per_page": 10, "to": 1, "total": 1, "total_min_price": null, "total_max_price": null } }