Skip to content

Instantly share code, notes, and snippets.

@hpstuff
Last active November 17, 2016 16:09
Show Gist options
  • Save hpstuff/a40f416f0a552a931f947b7ca59115b8 to your computer and use it in GitHub Desktop.
Save hpstuff/a40f416f0a552a931f947b7ca59115b8 to your computer and use it in GitHub Desktop.
api content models
{
"id": 1,
"type": "accent-contents",
"attributes": {
"order": 1,
"content": "<strong font-size=\"30px\">307,000</strong><p>The website managed over 307,000 visitors in the space of the first 2 days</p>"
}
}
{
"id": 1,
"type": "grid-item-contents",
"attributes": {
"order": 1,
"title": "Awareness",
"image": "/image_02.jpg",
"content": "Designing a home screen for the user so that they maintain awareness of their current surroundings."
}
}
{
"id": 1,
"type": "grid-list-contents",
"attributes": {
"order": 1
},
"relationships": {
"items": {
"data": [
{"id": 1, "type": "grid-item-contents"},
{"id": 2, "type": "grid-item-contents"},
{"id": 3, "type": "grid-item-contents"},
{"id": 4, "type": "grid-item-contents"},
]
}
}
}
{
"id": 1,
"type": "image-contents",
"attributes": {
"order": 1,
"path": "/image_url.jpg",
"full-width": false
}
}
{
"id": 1,
"type": "image-contents",
"attributes": {
"order": 1,
"path": "/image_url.jpg",
"align": "left",
"title": "Custom",
"background": "#f6f7f8",
"content": "Once the Athlon team and the in-house Motorola design team had both agreed on the higher level architecture, the wireframes were then handed to Motorola’s Visual design team who would skin the frames so that the application lived well within their own branding."
}
}
{
"id": 1,
"type": "images-contents",
"attributes": {
"order": 1,
"full-width": false,
"images": [
"/image_01.jpg", "/image_02.jpg", "/image_03.jpg"
]
}
}
{
"id": 1,
"type": "quote-contents",
"attributes": {
"order": 1,
"content": "Athlon took on the brief with enthusiasm and have created a website that surpasses their brief. We are extremely pleased to have had their support.",
"source": "Rob breare, COO"
}
}
{
"id": 1,
"type": "text-contents",
"attributes": {
"order": 1,
"title": "Narrowing down user needs",
"content": "Large businesses require a lot of IT infrastructure and a department to look after it. Small businesses often can’t afford to have that sort of internal support in place, yet they need fully operational IT systems in"
}
}
{
"id": 1,
"type": "video-contents",
"attributes": {
"order": 1,
"poster": "/poster_url.jpg",
"full-width": false,
"sources": [
{
"url": "/video_source.mp4",
"type": "video/mp4"
},
{
"url": "/video_source.webm",
"type": "video/webm"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment