Skip to content

Instantly share code, notes, and snippets.

@sitereactor
Created September 3, 2019 15:14
Show Gist options
  • Save sitereactor/8e08183fd7c0f2bb5de42ba4bcb199fa to your computer and use it in GitHub Desktop.
Save sitereactor/8e08183fd7c0f2bb5de42ba4bcb199fa to your computer and use it in GitHub Desktop.
Json output of root content request to Headless on v8
{
"_creatorName": "Morten Christensen",
"_url": "/",
"_writerName": "Administrator",
"_hasChildren": true,
"_level": 1,
"_createDate": "2019-08-29T12:04:38.363Z",
"_id": "ca4249ed-2b23-4337-b522-63cabe5587d1",
"_updateDate": "2019-08-29T12:04:43.507Z",
"_links": {
"self": {
"href": "/cdn/content/ca4249ed-2b23-4337-b522-63cabe5587d1"
},
"heroctalink": {
"href": "/cdn/content/ec4aafcc-0c25-4f25-a8fe-705bfae1d324",
"title": "Products"
},
"footerctalink": {
"href": "/cdn/content/1d770f10-d1ca-4a26-9d68-071e2c9f7ac1",
"title": "Blog"
},
"herobackgroundimage": {
"href": "/cdn/media/662af6ca-411a-4c93-a6c7-22c4845698e7",
"title": "Umbraco Campari Meeting Room"
},
"root": {
"href": "/cdn/content"
},
"children": {
"href": "/cdn/content/ca4249ed-2b23-4337-b522-63cabe5587d1/children"
},
"ancestors": {
"href": "/cdn/content/ca4249ed-2b23-4337-b522-63cabe5587d1/ancestors"
},
"descendants": {
"href": "/cdn/content/ca4249ed-2b23-4337-b522-63cabe5587d1/descendants"
}
},
"contentTypeAlias": "home",
"name": "Home",
"sortOrder": 0,
"heroHeader": "Umbraco Demo",
"heroDescription": "Moonfish, steelhead, lamprey southern flounder tadpole fish sculpin bigeye, blue-redstripe danio collared dogfish. Smalleye squaretail goldfish arowana butterflyfish pipefish wolf-herring jewel tetra, shiner; gibberfish red velvetfish. Thornyhead yellowfin pike threadsail ayu cutlassfish.",
"heroCTACaption": "Check our products",
"HeroCtalink": {
"_creatorName": "Morten Christensen",
"_url": "/products/",
"_writerName": "Administrator",
"_hasChildren": true,
"_level": 2,
"_createDate": "2019-08-29T12:04:38.473Z",
"_id": "ec4aafcc-0c25-4f25-a8fe-705bfae1d324",
"_updateDate": "2019-08-29T12:04:43.59Z",
"_links": {
"featuredproducts": [
{
"href": "/cdn/content/262beb70-53a6-49b8-9e98-cfde2e85a78e",
"title": "Biker Jacket"
},
{
"href": "/cdn/content/df1eb830-411b-4d41-a343-3917b76d533c",
"title": "Tattoo"
},
{
"href": "/cdn/content/4e96411a-b8e1-435f-9322-2faee30ef5f2",
"title": "Unicorn"
},
{
"href": "/cdn/content/d390a562-107d-4f02-8df7-57aa86bad752",
"title": "Ping Pong Ball"
},
{
"href": "/cdn/content/bb7d5ae0-07ac-40b8-b5b9-18c36947fb56",
"title": "Bowling Ball"
},
{
"href": "/cdn/content/202cdc2f-1a45-40f4-a653-a7b321e1c54c",
"title": "Jumpsuit"
},
{
"href": "/cdn/content/103171c8-e11c-4002-9bb2-f3404cada22a",
"title": "Banjo"
},
{
"href": "/cdn/content/061662b9-b02a-4dcf-af59-92b603e8e3e1",
"title": "Knitted West"
}
]
},
"contentTypeAlias": "products",
"name": "Products",
"parentId": "ca4249ed-2b23-4337-b522-63cabe5587d1",
"sortOrder": 0,
"pageTitle": "Our Gorgeous Selection",
"bodyText": {
"name": "1 column layout",
"sections": [
{
"grid": 12,
"allowAll": true,
"rows": []
}
]
},
"seoMetaDescription": "",
"keywords": [],
"umbracoNavihide": false,
"defaultCurrency": "€",
"featuredProducts": []
},
"bodyText": {
"name": "1 column layout",
"sections": [
{
"grid": 12,
"rows": [
{
"name": "Full Width",
"areas": [
{
"grid": 12,
"allowAll": false,
"allowed": [
"media",
"macro",
"embed",
"headline"
],
"hasConfig": false,
"controls": [
{
"value": {
"macroAlias": "latestBlogposts",
"macroParamsDictionary": {
"numberOfPosts": "3",
"startNodeId": "umb://document/1d770f10d1ca4a269d68071e2c9f7ac1"
}
},
"editor": {
"name": "Macro",
"alias": "macro",
"view": "macro",
"render": null,
"icon": "icon-settings-alt",
"config": {}
},
"active": false
}
]
}
],
"hasConfig": false,
"id": "314cb47b-fbe1-eeb6-f7cc-38db875d0f06"
}
]
}
]
},
"footerHeader": "Umbraco Demo",
"footerDescription": "Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem. Curabitur arcu erat, accumsan id imperdiet et, porttitor at sem. Vivamus suscipit tortor eget felis porttitor volutpat",
"footerCTACaption": "Read All on the Blog",
"FooterCtalink": {
"_creatorName": "Morten Christensen",
"_url": "/blog/",
"_writerName": "Administrator",
"_hasChildren": true,
"_level": 2,
"_createDate": "2019-08-29T12:04:38.613Z",
"_id": "1d770f10-d1ca-4a26-9d68-071e2c9f7ac1",
"_updateDate": "2019-08-29T12:04:44.08Z",
"_links": null,
"contentTypeAlias": "blog",
"name": "Blog",
"parentId": "ca4249ed-2b23-4337-b522-63cabe5587d1",
"sortOrder": 3,
"seoMetaDescription": "",
"keywords": [],
"umbracoNavihide": false,
"pageTitle": "Behind The Scenes",
"bodyText": {
"name": "1 column layout",
"sections": [
{
"grid": 12,
"allowAll": true,
"rows": []
}
]
},
"howManyPostsShouldBeShown": 2,
"disqusShortname": ""
},
"footerAddress": "Umbraco HQ - Unicorn Square - Haubergsvej 1 - 5000 Odense C - Denmark - +45 70 26 11 62",
"HeroBackgroundImage": {
"_creatorName": "Administrator",
"_url": "/media/662af6ca411a4c93a6c722c4845698e7/00000006000000000000000000000000/16403439029_f500be349b_o.jpg",
"_writerName": "Administrator",
"_hasChildren": false,
"_level": 2,
"_createDate": "2019-08-29T12:04:42.057Z",
"_id": "662af6ca-411a-4c93-a6c7-22c4845698e7",
"_updateDate": "2019-08-29T12:04:42.057Z",
"_links": null,
"contentTypeAlias": "Image",
"name": "Umbraco Campari Meeting Room",
"parentId": "b6f11172-373f-4473-af0f-0b0e5aefd21c",
"sortOrder": 0,
"umbracoFile": {
"src": "/media/662af6ca411a4c93a6c722c4845698e7/00000006000000000000000000000000/16403439029_f500be349b_o.jpg",
"focalPoint": null,
"crops": null
},
"umbracoWidth": 1600,
"umbracoHeight": 1067,
"umbracoBytes": 759116,
"umbracoExtension": "jpg"
},
"font": "serif",
"colorTheme": "earth",
"sitename": "Umbraco Sample Site",
"SiteLogo": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment