Skip to content

Instantly share code, notes, and snippets.

@tbarisic
Last active April 3, 2017 07:50
Show Gist options
  • Save tbarisic/b987fdc57fee4cee266fbc3e5cf6e9a5 to your computer and use it in GitHub Desktop.
Save tbarisic/b987fdc57fee4cee266fbc3e5cf6e9a5 to your computer and use it in GitHub Desktop.
{
"data": {
"type": "recipes",
"attributes": {
"preparationTime": 100
},
"relationships": {
"device": {
"data": [{"id": "d5ec6b75-ca0d-4c83-9c6a-85645e11cbcd", "type": "devices"}]
},
"coverImage": {
"data": {"id": "ddddeeee-80f9-45a1-97d2-db004c6267c7", "type": "media"}
},
"ingredientOverviewImage": {
"data": {"id": "ddddeeee-80f9-45a1-97d2-db004c6267c7", "type": "media"}
},
"equipmentOverviewImage": {
"data": {"id": "ddddeeee-80f9-45a1-97d2-db004c6267c7", "type": "media"}
},
"tags": {
"data": [
{"id": "5fa70764-8a62-459b-bb03-5b88af427441", "type": "tags"},
{"id": "d307e663-a2d3-42ec-a3b5-984f549dbb85", "type": "tags"}
]
},
"recipeTranslation": {
"data": {
"type": "recipeTranslations",
"attributes": {
"language": "en",
"title": "Malaysian potato fritters",
"description": "Fritters made of potato"
}
}
},
"recipeIngredients": {
"data": [
{
"type": "recipeIngredients",
"attributes": {
"metricUnit": "KILOGRAM",
"metricQuantity": 23.3,
"ingredientOrder": 1
},
"relationships": {
"ingredient": {
"data": {
"id": "00000000-0003-0004-bb6d-6bb9bd380a11",
"type": "ingredients"
}
}
}
},
{
"type": "recipeIngredients",
"attributes": {
"name": "Apple",
"language": "en_US",
"metricUnit": "PIECE",
"metricQuantity": 23.3,
"usUnit": "PIECE",
"usQuantity": 243.3,
"impUnit": "PIECE",
"impQuantity": 253.3,
"ingredientOrder": 2
}
}
]
},
"processingSteps": {
"data": [
{
"type": "processingStep",
"attributes": {
"order": 1,
"durationSeconds": 23,
"stepType": "71e5a1be-8d94-4152-8dbd-7f4ffddf71aa",
"temperatureCelsius": 230
},
"relationships": {
"stepImage": {
"data": {"id": "ddddeeee-80f9-45a1-97d2-db004c6267c7", "type": "media"}
},
"processingStepTranslations": {
"data": [
{
"type": "processingStepTranslations",
"attributes": {
"language": "de_DE",
"description": "This is a processing step"
}
}
]
}
}
}
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment