Skip to content

Instantly share code, notes, and snippets.

@dbouwman
Created February 19, 2016 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbouwman/d489b83ecd2a1680acc1 to your computer and use it in GitHub Desktop.
Save dbouwman/d489b83ecd2a1680acc1 to your computer and use it in GitHub Desktop.
site patch payload
{
"data": {
"attributes": {
"draft": {
"cssUrl": "https://opendatadev.arcgis.com/utilities/retrieve_css/preview-css-ff0bf5899d67ae43aaf6f7dd3b42349c0fbf817d.css",
"layout": {
"cards": [
{
"component": {
"editor": "jumbotron-card-editor",
"minWidth": 12,
"name": "jumbotron-card",
"settings": {
"header": "Agency Layout",
"imageUrl": null,
"showLocation": false,
"showSearch": true,
"subheader": "This is our Open Data website"
}
},
"height": 5,
"width": 12,
"x": 0,
"y": 0
},
{
"component": {
"editor": "category-card-editor",
"name": "category-card",
"settings": {
"category": "Business",
"keyword": "boundaries"
}
},
"height": 2,
"width": 2,
"x": 0,
"y": 5
},
{
"component": {
"editor": "category-card-editor",
"name": "category-card",
"settings": {
"category": "Boundaries",
"keyword": "boundaries"
}
},
"height": 2,
"width": 2,
"x": 2,
"y": 5
},
{
"component": {
"editor": "category-card-editor",
"name": "category-card",
"settings": {
"category": "Infrastructure",
"keyword": "boundaries"
}
},
"height": 2,
"width": 2,
"x": 4,
"y": 5
},
{
"component": {
"editor": "category-card-editor",
"name": "category-card",
"settings": {
"category": "Planning",
"keyword": "boundaries"
}
},
"height": 2,
"width": 2,
"x": 6,
"y": 5
},
{
"component": {
"editor": "category-card-editor",
"name": "category-card",
"settings": {
"category": "Safety",
"keyword": "boundaries"
}
},
"height": 2,
"width": 2,
"x": 8,
"y": 5
},
{
"component": {
"editor": "category-card-editor",
"name": "category-card",
"settings": {
"category": "Schools",
"keyword": "boundaries"
}
},
"height": 2,
"width": 2,
"x": 10,
"y": 5
},
{
"component": {
"name": "markdown-card",
"settings": {
"markdown": "# Hello World \n Lets not be stupid about this. But we need images and other things of goodness \n \n <hr>\n### And Lists \n - of good things\n- and bad"
}
},
"height": 4,
"width": 6,
"x": 0,
"y": 7
},
{
"component": {
"editor": "map-card-editor",
"name": "map-card",
"settings": {
"title": "Default Map",
"webmap": "6e03e8c26aad4b9c92a87c1063ddb0e3"
}
},
"height": 4,
"width": 6,
"x": 6,
"y": 7
}
],
"footer": {
"copyrightName": "My Municipality",
"height": "50px",
"link1": {
"text": "",
"url": ""
},
"link2": {
"text": "",
"url": ""
},
"link3": {
"text": "",
"url": ""
}
},
"header": {
"fullWidth": false,
"iframeHeight": "120px",
"links": [],
"logoUrl": "http://omgnikki.com/wp-content/uploads/2015/03/sm-icon_pin.png",
"title": "My Municipality"
}
},
"style": {
"$brand-primary": "#428bca",
"$footer-bg": "#f8f8f8",
"$footer-height": "60px",
"$navbar-default-bg": "#CCCCCC",
"$navbar-default-link-color": "#CCCCCC",
"$navbar-default-link-hover-color": "#000000",
"$navbar-height": "80px"
}
},
"layout": {},
"style": {},
"title": "My Koop Sfgdite",
"uiVersion": "2",
"updatedAt": "2016-02-19T19:19:07.621Z",
"updatedBy": null
},
"id": "388",
"type": "site"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment