Skip to content

Instantly share code, notes, and snippets.

@octate
Created January 10, 2020 05:19
Show Gist options
  • Save octate/8aaefbe682de9a918b24d71ed0c7f8e3 to your computer and use it in GitHub Desktop.
Save octate/8aaefbe682de9a918b24d71ed0c7f8e3 to your computer and use it in GitHub Desktop.
fynd feed dummy api
{
"platform": "",
"title": "feed",
"slug": "feed",
"type": "custom",
"tags": "",
"application": "",
"description": "Fynd feed page",
"publish": "",
"content": [
{
"type": "slider",
"title": "Refer and Earn",
"cards": [
{
"footer": {
"title": "",
"icon": ""
},
"action": {
"page": {
"type": "loyalty"
},
"type": "page"
},
"banner": {
"landscape": "",
"portrait": "https://unsplash.it/274/400?image=1"
}
}
]
},
{
"type": "slider",
"tags": [],
"title": "Top Offers",
"cards": [
{
"action": {
"page": {
"query": {},
"params": {
"slug": ["test-store-id-a2ca0f72"]
},
"url": "",
"type": "collection"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=2"
}
},
{
"action": {
"page": {
"query": {},
"params": {
"slug": ["test-store-id-a2ca0f72"]
},
"url": "",
"type": "collection"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=3"
}
},
{
"action": {
"page": {
"query": {},
"params": {
"slug": ["test-store-id-a2ca0f72"]
},
"url": "",
"type": "collection"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=4"
}
},
{
"action": {
"page": {
"query": {},
"params": {
"slug": ["test-store-id-a2ca0f72"]
},
"url": "",
"type": "collection"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=5"
}
}
]
},
{
"type": "slider",
"tags": [],
"title": "Special Deal",
"orientation": "landscape",
"cards": [
{
"action": {
"page": {
"query": {},
"params": {
"slug": ["test-store-id-a2ca0f72"]
},
"url": "",
"type": "collection"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=3"
}
},
{
"action": {
"page": {
"query": {},
"params": {
"slug": ["test-store-id-a2ca0f72"]
},
"url": "",
"type": "collection"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=4"
}
},
{
"action": {
"page": {
"query": {},
"params": {
"slug": ["test-store-id-a2ca0f72"]
},
"url": "",
"type": "collection"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=5"
}
}
]
},
{
"type": "slider",
"tags": ["offer"],
"title": "Grab special offers",
"subtitle": "SHOP NOW",
"orientation": "landscape",
"cards": [
{
"action": {
"page": {
"query": {},
"params": {
"brand": ["globus"]
},
"url": "",
"type": "products"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=4"
}
},
{
"action": {
"page": {
"query": {},
"params": {
"slug": ["test-store-id-a2ca0f72"]
},
"url": "",
"type": "collection"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=5"
}
},
{
"action": {
"page": {
"query": {},
"params": {
"slug": ["test-store-id-a2ca0f72"]
},
"url": "",
"type": "collection"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=6"
}
}
]
},
{
"type": "carousal",
"tags": [],
"title": "Discover brands",
"subtitle": "",
"orientation": "landscape",
"cards": [
{
"action": {
"page": {
"query": {
"brand": ["globus"]
},
"params": {},
"url": "",
"type": "products"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=7"
},
"title": "Globus",
"subtitle": ""
},
{
"action": {
"page": {
"query": {
"brand": ["globus"]
},
"params": {},
"url": "",
"type": "products"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=8"
},
"title": "",
"subtitle": ""
},
{
"action": {
"page": {
"query": {
"brand": ["globus"]
},
"params": {},
"url": "",
"type": "products"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=9"
},
"title": "Globus",
"subtitle": ""
},
{
"action": {
"page": {
"query": {
"brand": ["globus"]
},
"params": {},
"url": "",
"type": "products"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=10"
},
"title": "Globus",
"subtitle": ""
},
{
"action": {
"page": {
"query": {
"brand": ["globus"]
},
"params": {},
"url": "",
"type": "products"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=11"
},
"title": "Globus",
"subtitle": ""
},
{
"action": {
"page": {
"query": {
"brand": ["globus"]
},
"params": {},
"url": "",
"type": "products"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=12"
},
"title": "Globus",
"subtitle": ""
},
{
"action": {
"page": {
"query": {
"brand": ["globus"]
},
"params": {},
"url": "",
"type": "products"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=13"
},
"title": "Globus",
"subtitle": ""
},
{
"action": {
"page": {
"query": {
"brand": ["globus"]
},
"params": {},
"url": "",
"type": "products"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=14"
},
"title": "Globus",
"subtitle": ""
}
],
"actions": [
{
"display": "All Brands",
"image": "",
"action": {
"page": {
"query": {},
"params": {},
"type": "brands"
},
"type": "page"
}
}
]
},
{
"type": "carousal",
"tags": ["offer", "carousel"],
"title": "Discover Categories",
"subtitle": "",
"orientation": "landscape",
"cards": [
{
"action": {
"page": {
"query": {
"l2_category": ["polos-t-shirts"]
},
"params": {},
"url": "",
"type": "products"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=9"
},
"title": "",
"subtitle": ""
},
{
"action": {
"page": {
"query": {
"l2_category": ["polos-t-shirts"]
},
"params": {},
"url": "",
"type": "products"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=10"
},
"title": "",
"subtitle": ""
},
{
"action": {
"page": {
"query": {
"l2_category": ["polos-t-shirts"]
},
"params": {},
"url": "",
"type": "products"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=11"
},
"title": "",
"subtitle": ""
},
{
"action": {
"page": {
"query": {
"l2_category": ["polos-t-shirts"]
},
"params": {},
"url": "",
"type": "products"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=12"
},
"title": "",
"subtitle": ""
},
{
"action": {
"page": {
"query": {
"l2_category": ["polos-t-shirts"]
},
"params": {},
"url": "",
"type": "products"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=13"
},
"title": "",
"subtitle": ""
},
{
"action": {
"page": {
"query": {
"l2_category": ["polos-t-shirts"]
},
"params": {},
"url": "",
"type": "products"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=14"
},
"title": "",
"subtitle": ""
},
{
"action": {
"page": {
"query": {
"l2_category": ["polos-t-shirts"]
},
"params": {},
"url": "",
"type": "products"
},
"type": "page"
},
"banner": {
"portrait": "https://unsplash.it/274/400?image=15"
},
"title": "",
"subtitle": ""
}
],
"actions": [
{
"display": "All Categories",
"image": "",
"action": {
"page": {
"query": {},
"params": {},
"url": "",
"type": "products"
},
"type": "page"
}
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment