Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AdamChristie/bd167020e6e87dcdf6cb8880a3f36ee1 to your computer and use it in GitHub Desktop.
Save AdamChristie/bd167020e6e87dcdf6cb8880a3f36ee1 to your computer and use it in GitHub Desktop.
body
{
"data": {
"id": "8276ceb4-55ed-4652-9fcc-641d3b627a77",
"vibe_id": "3041117d-c25d-46a3-a8e9-6dea90856f2e",
"address": {},
"blocks": [
{
"type": "primary_media",
"data": {
"children": [
{
"children": [
{
"artifact_url": "https://assets-development.ppassets.com/2o7UrVxN5ycweLA9nUK2ME/flyer/media_asset/animated",
"children": [
{
"content": {
"asset": {
"asset_service_id": "1vpLJ0D8ZsQKdsfkbi0DkK",
"type": "background",
"versions": [
{
"type": "image/jpg",
"uri": "https://assets-development.ppassets.com/1vpLJ0D8ZsQKdsfkbi0DkK/flyer/ugc_background/portrait"
}
]
}
},
"id": "background_layer_0",
"path": "graphicsData.children.0.children.0.children.0",
"resource_id": "comp-ugc",
"transform": {
"0": 1,
"1": 0,
"2": 0,
"3": 0,
"4": 0,
"5": 1,
"6": 0,
"7": 0,
"8": 0,
"9": 0,
"10": 1,
"11": 0,
"12": 0,
"13": 0,
"14": 0,
"15": 1
},
"type": "background_layer"
}
],
"composite_url": "https://ucarecdn.com/c28ab1c5-01aa-48e3-81e6-fe3b6830d323/",
"type": "scene"
}
],
"type": "scenario"
}
],
"type": "media"
}
},
{
"type": "basic_info",
"settings": {
"elements": [
{
"component": "title",
"data": "title"
},
{
"component": "hostedBy",
"data": "host"
},
{
"component": "description",
"data": "description"
},
{
"component": "date",
"data": "fullDate"
},
{
"component": "location",
"data": "address"
}
]
},
"data": {
"address": {
"data": {
"city": "New York",
"country": "USA",
"postal_code": "10006",
"region": "NY",
"street1": "123 Location Ave",
"street2": ""
},
"type": "address"
},
"description": {
"data": "An optional short description",
"type": "text"
},
"end_date": {
"type": "date"
},
"full_date": {
"data": {
"start_time": "2019-06-30T19:42:02.792Z"
},
"type": "date"
},
"host": {
"data": "You",
"type": "text"
},
"start_date": {
"data": "2019-06-30T19:42:02.792Z",
"type": "date"
},
"title": {
"data": "Event Title",
"type": "text"
}
}
},
{
"type": "rich_text",
"data": {
"mobiledoc": {
"atoms": [],
"cards": [],
"markups": [
[
"em"
],
[
"strong"
]
],
"sections": [
[
1,
"p",
[
[
0,
[],
0,
"Details about your event, i.e. "
],
[
0,
[
0,
1
],
2,
"directions"
],
[
0,
[],
0,
", accommodations, parking instructions etc."
]
]
]
],
"version": "0.3.1"
},
"title": "Details"
},
"id": "88d2ee64-6ff0-41b4-bba7-3818c1a04374"
},
{
"type": "guest_list"
}
],
"browse_media_asset_id": "1oVsuH1uQMlZCeBOi8OJ3h",
"browse_desk_evt_asset_id": "wU4kJKBYpQrbKar9cvCXw",
"browse_mobi_evt_asset_id": "3WdFEipGwC20yLH4jSji0q",
"data_version": "2.0",
"labels": [
"holiday",
"professional"
],
"layout": {
"type": "dynamic-square",
"media": {
"item": "",
"type": ""
}
},
"location": {
"lat": 0,
"long": 0
},
"max_additional_guests": 0,
"name": "pmeskers - frosty 1",
"preview_image_url": "https://assets-development.ppassets.com/2o7UrVxN5ycweLA9nUK2ME/flyer/media_asset/animated",
"rsvp": true,
"rsvp_type": "YesNo",
"sort": 8,
"state": "active",
"color_collection_id": "e4b07b4f-ab5b-44d4-ad13-598d5b8b1efe",
"page_style_id": "0601708f-b9b9-449a-9915-174a4a7f8d4c",
"created_at": "2019-06-27T15:53:13.61905Z",
"updated_at": "2019-06-28T19:42:16.245016Z"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment