Skip to content

Instantly share code, notes, and snippets.

@NeoMax97
Created Oct 26, 2021
Embed
What would you like to do?
An example of JSON data that we can receive from Storyblok. This is data for the testimonials component.
{
"story": {
"name": "testimonials",
"created_at": "2021-10-07T13:14:52.541Z",
"published_at": "2021-10-07T13:33:00.757Z",
"id": 76429965,
"uuid": "e064ac1e-9fa2-4693-b900-e3d1bce6a29f",
"content": {
"_uid": "20f773ea-07d1-45b6-9bc4-81f66ecdfda7",
"title": "VR's Surprising Benefits",
"subtitle": "",
"component": "testimonials",
"testimonial": [
{
"_uid": "8a8e5536-75d8-4894-b2f9-1bf0358f74e2",
"text": "Lorem ipsum, dolor sit amet consectetur adipisicing elit. Tempora consectetur recusandae sit perspiciatis molestiae quia doloribus aperiam autem ea dolor pariatur aspernatur animi tenetur consequatur est sunt, pariatur aspernatur animi tenetur consequatur est sunt,",
"image": [
{
"_uid": "aa01b32b-838b-4cb7-b96e-c434c87ad7eb",
"imageAlt": "author",
"imageUrl": "https://picsum.photos/100",
"component": "image",
"_editable": "<!--#storyblok#{\"name\": \"image\", \"space\": \"129737\", \"uid\": \"aa01b32b-838b-4cb7-b96e-c434c87ad7eb\", \"id\": \"76429965\"}-->"
}
],
"component": "Testimonial",
"_editable": "<!--#storyblok#{\"name\": \"Testimonial\", \"space\": \"129737\", \"uid\": \"8a8e5536-75d8-4894-b2f9-1bf0358f74e2\", \"id\": \"76429965\"}-->"
},
{
"_uid": "ecde9020-6122-4b3a-99d8-88ad75d6f873",
"text": "Lorem ipsum, dolor sit amet consectetur adipisicing elit. Tempora consectetur recusandae sit perspiciatis molestiae quia doloribus aperiam autem ea dolor pariatur aspernatur animi tenetur consequatur est sunt, pariatur aspernatur animi tenetur consequatur est sunt,",
"image": [
{
"_uid": "ba16db34-4de1-4a10-a9ba-0ca1c89bd619",
"imageAlt": "author",
"imageUrl": "https://picsum.photos/100",
"component": "image",
"_editable": "<!--#storyblok#{\"name\": \"image\", \"space\": \"129737\", \"uid\": \"ba16db34-4de1-4a10-a9ba-0ca1c89bd619\", \"id\": \"76429965\"}-->"
}
],
"component": "Testimonial",
"_editable": "<!--#storyblok#{\"name\": \"Testimonial\", \"space\": \"129737\", \"uid\": \"ecde9020-6122-4b3a-99d8-88ad75d6f873\", \"id\": \"76429965\"}-->"
},
{
"_uid": "f4a0d2be-08e8-46d7-8f4e-a84c9b8602dc",
"text": "Lorem ipsum, dolor sit amet consectetur adipisicing elit. Tempora consectetur recusandae sit perspiciatis molestiae quia doloribus aperiam autem ea dolor pariatur aspernatur animi tenetur consequatur est sunt, pariatur aspernatur animi tenetur consequatur est sunt,",
"image": [
{
"_uid": "8a09d0e8-487e-47d6-81d1-2ccefe1fd576",
"imageAlt": "author",
"imageUrl": "https://picsum.photos/100",
"component": "image",
"_editable": "<!--#storyblok#{\"name\": \"image\", \"space\": \"129737\", \"uid\": \"8a09d0e8-487e-47d6-81d1-2ccefe1fd576\", \"id\": \"76429965\"}-->"
}
],
"component": "Testimonial",
"_editable": "<!--#storyblok#{\"name\": \"Testimonial\", \"space\": \"129737\", \"uid\": \"f4a0d2be-08e8-46d7-8f4e-a84c9b8602dc\", \"id\": \"76429965\"}-->"
}
],
"_editable": "<!--#storyblok#{\"name\": \"testimonials\", \"space\": \"129737\", \"uid\": \"20f773ea-07d1-45b6-9bc4-81f66ecdfda7\", \"id\": \"76429965\"}-->"
},
"slug": "testimonials",
"full_slug": "components/testimonial-section/testimonials",
"sort_by_date": null,
"position": 0,
"tag_list": [],
"is_startpage": false,
"parent_id": 76429960,
"meta_data": null,
"group_id": "3261f3f9-82a5-4a0e-a990-ba2552bf8a3e",
"first_published_at": "2021-10-07T13:33:00.757Z",
"release_id": null,
"lang": "default",
"path": null,
"alternates": [],
"default_full_slug": null,
"translated_slugs": null
},
"cv": 1634725270,
"rels": [],
"links": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment