Skip to content

Instantly share code, notes, and snippets.

@hjr3
Created November 20, 2012 21:47
Show Gist options
  • Save hjr3/4121422 to your computer and use it in GitHub Desktop.
Save hjr3/4121422 to your computer and use it in GitHub Desktop.
v4 events response for nested child events
{
"_links": {
"self": {
"href": "/v4/events/24057"
},
"http://hautelook.com/rels/catalog": {
"href": "/v4/events/24057/catalog"
},
"http://hautelook.com/rels/availability": {
"href": "/v4/events/24057/availability"
},
"http://hautelook.com/rels/images/event-hero": {
"href": "/assets/24057holidayblazersmc/event-small.jpg"
},
"http://hautelook.com/rels/images/event-square": {
"href": "/assets/24057holidayblazersmc/event-square.jpg"
},
"http://hautelook.com/rels/images/seals/event-hero": {
"href": ""
},
"http://hautelook.com/rels/images/seals/catalog-banner": {
"href": ""
},
"http://hautelook.com/rels/event/parents": [
],
"http://hautelook.com/rels/event/siblings": [
]
},
"id": 24057,
"title": "Holiday Blazers",
"start_date": "2012-11-19T08:00:00-08:00",
"end_date": "2012-11-23T08:00:00-08:00",
"tagline": "",
"status": "ending",
"display_format": "Regular",
"visibility": "public",
"sale_type": "default",
"tab_categories": [
{
"tab_category": "Men"
}
],
"nesting": {
"parents": [],
"children": [
{
"id": 23128
},
{
"id": 23371
}
],
"siblings": []
},
"_embedded": {
"http://hautelook.com/rels/event/children": [
{
"_links": {
"self": {
"href": "/v4/events/23128"
}
},
"title": "Threads for Thought"
},
{
"_links": {
"self": {
"href": "/v4/events/23371"
}
},
"title": "Holiday Blazers"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment