Skip to content

Instantly share code, notes, and snippets.

@f0rr0
Forked from akki91/cocktail.json
Last active September 29, 2020 00:12
Show Gist options
  • Save f0rr0/b5d16e0b31efb8285b09a794702ce38c to your computer and use it in GitHub Desktop.
Save f0rr0/b5d16e0b31efb8285b09a794702ce38c to your computer and use it in GitHub Desktop.
Skin kult apis
{
"data":{
"sections":[
{
"items":[
{
"type": "cocktail-intent",
"text_color": "#ffffff",
"title": "Emergency Anti Acne",
"subtitle": "Moisturizer + Face Serum",
"price": {
"price": "",
"price_amount": 20,
"price_before_discount": ""
},
"when_to_use": {
"icon": "",
"value": ""
},
"score": {
"header": "Cocktail Score",
"values": [98, 98, 98]
}
},
{
"header":"Skin Goals Addressed",
"skin_goals":[],
"type":"skin-goals",
"section": "skin-goals"
},
{
"header":"About",
"description":"This cocktail has skin resurfacing .....",
"type":"about-cocktail",
"section": "about-cocktail"
},
{
"type": "product-list",
"section": "product-list",
"items": [
{
"selected_variant_uuid": "32-ejeokfj-0340irefewfwefewf",
"variant_details": ["Simple.Product"]
},
{
"selected_variant_uuid": "32-ejeokfj-0340irefewfwefewf",
"variant_details": ["Simple.Product"]
},
]
},
{
"media":{},
"type":"how-to",
"section": "how-to"
}
],
"section":"cocktail",
"uuid":"6HaFkzfdvjT7YQrHeYJ9uN1596727575039",
"is_loved":"true"
}
]
}
}
{
"data": {
"sections": [
{
"items": [
{
"type": "shop-intent",
"background_image": "",
"text_color": "#ffffff",
"title": "RESULTS IN 12-48 HOURS",
"subtitle": "Treating active acne with overnight spot treatments"
},
{
"description": "Spot treatments can be drying.....",
"type": "intent-summary"
},
{
"type": "intent-section",
"step_number": null,
"title": null,
"sub_title": null,
"header": [
{
"title": "Cocktails",
"type": "text"
},
{
"media": {
"height": "55px",
"identifier": "foryou",
"width": "58px"
},
"type": "image"
}
],
"tips": [
{
"media": {
"dominant_color": "#c1d8cc",
"height": "602px",
"loop": false,
"thumbnail_image_url": null,
"type": "image",
"url": "https://kult-assets.imgix.net/skincare/quiz/after.jpg",
"uuid": "after",
"width": "400px"
},
"is_loved": true,
"target": {
},
}
],
"stories": [
{
"media":{
"dominant_color":"#010101",
"height":"276px",
"loop":false,
"thumbnail_image_url":null,
"type":"image",
"url":"https://kult-images.imgix.net/3kMkp27AJCQPIdLX7NW2T2-media-1599142260224.jpg?w=414&dpr=2&q=50",
"uuid":"3kMkp27AJCQPIdLX7NW2T2-media-1599142260224",
"width":"414px"
},
"target":{
"sub_title":null,
"title":"Terracotta",
"type":"story",
"uuid":"f75aba94-b5f8-11ea-936c-0f3cd4ffa5a9"
}
}
],
"items": [
{
"when_to_use": {
"icon": "",
"value": ""
},
"title": "Emergency Anti Acne",
"sub_title": "Serus + Moisturiser + ",
"description": "Soothes Irritation",
"score": {
"header": "Cocktail Score",
"values": [98, 98, 98]
},
"is_loved": true,
"images": [
/* Shared Media */
],
"target": {
},
"type": "cocktail-carousel-item"
}
]
},
{
"type": "intent-section",
"step_number": "1",
"title": "Some Title Here",
"sub_title": "Some subtitle here",
"header": null,
"items": [
{
"product": { /* Simple Product */ },
"extra_info" : {
"text_color": "",
"background_color: ""
},
"type": "product-carousel-item"
}
],
"tips": [],
"stories": [
{
"media":{
"dominant_color":"#010101",
"height":"276px",
"loop":false,
"thumbnail_image_url":null,
"type":"image",
"url":"https://kult-images.imgix.net/3kMkp27AJCQPIdLX7NW2T2-media-1599142260224.jpg?w=414&dpr=2&q=50",
"uuid":"3kMkp27AJCQPIdLX7NW2T2-media-1599142260224",
"width":"414px"
},
"target":{
"sub_title":null,
"title":"Terracotta",
"type":"story",
"uuid":"f75aba94-b5f8-11ea-936c-0f3cd4ffa5a9"
}
}
]
}
]
}
]
}
}
{
"data":{
"sections":[
{
"items":[
{
"skin_code_icons":[
"skin_code_combination_texture_border",
"skin_code_resistant_texture_border",
"skin_code_pigmented_texture_border",
"skin_code_tight_texure_border"
],
"skin_concern_icons":[
"concern_dark_circles_border",
"concern_dark_spots_patches_border"
],
"background_image":{
},
"title":"",
"sub_title":"",
"dermat_data": {
"subtitle": "",
"title": "",
"doctors": [
{ "name": "", "image": {}, "about": "" },
{ "name": "", "image": {}, "about": "" }
]
},
"type": "shop-header"
},
{
"header":"Skin Goals Addressed",
"skin_goals":[
{
"name":"SKIN SOOTHING",
"hex_code":"#c1d8cc"
},
{
"name":"FIGHT ACNE BACTERIA",
"hex_code":"#c1d8cc"
},
{
"name":"HYDRATION",
"hex_code":"#c1d8cc"
}
],
"type":"skin-goals"
},
{
"header":[
{
"title":"Stories",
"type":"text"
},
{
"media":{
"height":"55px",
"identifier":"foryou",
"width":"58px"
},
"type":"image"
}
],
"items":[
{
"media":{
"dominant_color":"#010101",
"height":"276px",
"loop":false,
"thumbnail_image_url":null,
"type":"image",
"url":"https://kult-images.imgix.net/3kMkp27AJCQPIdLX7NW2T2-media-1599142260224.jpg?w=414&dpr=2&q=50",
"uuid":"3kMkp27AJCQPIdLX7NW2T2-media-1599142260224",
"width":"414px"
},
"target":{
"sub_title":null,
"title":"Terracotta",
"type":"story",
"uuid":"f75aba94-b5f8-11ea-936c-0f3cd4ffa5a9"
}
}
],
"section":"stories-list",
"type":"stories-list"
},
{
"header":[
{
"title":"Solutions",
"type":"text"
},
{
"media":{
"height":"55px",
"identifier":"foryou",
"width":"58px"
},
"type":"image"
}
],
"items":[
{
"type": "shop-intent",
"text_color": "#ffffff",
"title": "RESULTS IN 12-48 HOURS",
"subtitle": "Treating active acne with overnight spot treatments",
"target": { "uuid": "", "type": "intent" }
},
{
"type": "cocktail-intent",
"text_color": "#ffffff",
"title": "Emergency Anti Acne",
"subtitle": "Moisturizer + Face Serum",
"price": {
"price": "",
"price_amount": 20,
"price_before_discount": ""
},
"when_to_use": {
"icon": "",
"value": ""
},
// Optional Target
"target": { "uuid": "", "type": "cocktail" },
// Optional Score
"score": {
"header": "Cocktail Score",
"values": [98, 98, 98]
}
}
],
"section":"intent-list",
"type":"intent-list"
},
{
// optional
"cta": {
"background_image": {
"dominant_color":"#010101",
"height":"276px",
"loop":false,
"thumbnail_image_url":null,
"type":"image",
"url":"https://kult-images.imgix.net/3kMkp27AJCQPIdLX7NW2T2-media-1599142260224.jpg?w=414&dpr=2&q=50",
"uuid":"3kMkp27AJCQPIdLX7NW2T2-media-1599142260224",
"width":"414px"
},
"target": "Listing target object"
},
// optional
"faq": {
"background_image": {
"dominant_color":"#010101",
"height":"276px",
"loop":false,
"thumbnail_image_url":null,
"type":"image",
"url":"https://kult-images.imgix.net/3kMkp27AJCQPIdLX7NW2T2-media-1599142260224.jpg?w=414&dpr=2&q=50",
"uuid":"3kMkp27AJCQPIdLX7NW2T2-media-1599142260224",
"width":"414px"
},
"target": "Story target object",
},
"type": "footer",
"section": "footer"
}
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment