Files
eatvio_app/test/fixtures/feed/plan_pagination_response.json

64 lines
1.5 KiB
JSON

{
"data": [
{
"id": 1,
"slug": "weight-loss-plan",
"name": "Weight Loss Plan",
"image": "https://example.com/plan.jpg",
"duration": 30,
"state": "active",
"type": {
"fit": false,
"slim": true,
"behavior": false,
"wellness": false
},
"description_md": "Weight loss plan description",
"packets_count": 3,
"packet1_options": {
"items": ["Item 1", "Item 2"],
"price": 1500.0,
"short": "Option 1",
"description_md": "Description",
"has_personal_diet": false
},
"packet2_options": null,
"packet3_options": null,
"author": {
"author_slug": "consultant-1",
"author_name": "Consultant Name",
"author_profile_icon": "https://example.com/consultant.jpg",
"author_is_me": false,
"is_entity_subscribed_by_me": null,
"author_place_in_rating": null
},
"total_likes": 100,
"total_views": 1000,
"total_comments": 50,
"is_favorite": false,
"min_price_of_options": 1000.0,
"max_price_of_options": 5000.0,
"was_liked_by_me": false
}
],
"links": {
"first": "http://localhost/api/plans?page=1",
"last": "http://localhost/api/plans?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [],
"path": "http://localhost/api/plans",
"per_page": 10,
"to": 1,
"total": 1,
"total_min_price": null,
"total_max_price": null
}
}