Skip to content

Instantly share code, notes, and snippets.

@laffy
Created January 3, 2014 15:31
Show Gist options
  • Save laffy/8239769 to your computer and use it in GitHub Desktop.
Save laffy/8239769 to your computer and use it in GitHub Desktop.
{
"current_page": 1,
"total_count": 33,
"total_pages": 7,
"_embedded": {
"events": [
{
"vanity_name": "it-needs-an-event",
"name": "it needs an event...",
"description": "dsfsdf",
"starts_at": "2014-01-04T10:30:41+00:00",
"ends_at": "2014-01-04T13:30:41+00:00",
"tags": "",
"_embedded": {
"location": {
"name": null,
"address": "Liverpool, Merseyside, UK",
"latitude": 53.4083714,
"longitude": -2.9915726
},
"image": {
"_links": null,
"_embedded": null,
"id": null,
"file": null,
"file_uid": null,
"url": null,
"is_private": null,
"resource_type": null,
"resource_id": null,
"asset_type": null,
"created_at": null,
"updated_at": null,
"expires_at": null,
"meta": null
}
}
},
{
"vanity_name": "my-first-event",
"name": "my first event",
"description": "description of event...",
"starts_at": "2014-02-01T14:00:37+00:00",
"ends_at": "2014-02-08T17:00:37+00:00",
"tags": "drum and/or bass",
"_embedded": {
"location": {
"name": "Old Trafford Stadium",
"address": "Old Trafford, Sir Matt Busby Way, Manchester, United Kingdom",
"latitude": 53.463056,
"longitude": -2.291389
},
"image": {
"_links": {
"self": {
"href": "http://localhost:4006/_assets/a3a97a72-4bb4-473f-b7b2-0a132f7d5cbe"
},
"sizes": {
"158x58#": {
"href": "http://localhost:4006/media/W1siZiIsInB1YmxpYy8yMDEzLzEyLzE5LzEzLzIvNi83MzcvbWljcm9zb2Z0bWVyY2hhbmRpc2UuanBnIl0sWyJwIiwidGh1bWIiLCIxNTh4NTgjIl1d"
}
}
},
"_embedded": {
"errors": {}
},
"id": "a3a97a72-4bb4-473f-b7b2-0a132f7d5cbe",
"file": null,
"file_uid": "public/2013/12/19/13/2/6/737/microsoftmerchandise.jpg",
"url": "http://localhost:4006/media/W1siZiIsInB1YmxpYy8yMDEzLzEyLzE5LzEzLzIvNi83MzcvbWljcm9zb2Z0bWVyY2hhbmRpc2UuanBnIl1d",
"is_private": false,
"resource_type": "event",
"resource_id": "934953fa-f003-49cc-9593-958be4632253",
"asset_type": "Event::Flyer",
"created_at": "2013-12-19T13:02:08+00:00",
"updated_at": "2013-12-19T13:02:14+00:00",
"expires_at": null,
"meta": {
"mime_type": "image/jpeg",
"width": 850,
"height": 478
}
}
}
},
{
"vanity_name": "foo-de64df",
"name": "foo",
"description": "bar",
"starts_at": "2014-05-12T10:00:00+00:00",
"ends_at": "2014-05-12T12:00:00+00:00",
"tags": "foo,bar",
"_embedded": {
"location": {
"name": null,
"address": null,
"latitude": null,
"longitude": null
},
"image": {
"_links": null,
"_embedded": null,
"id": null,
"file": null,
"file_uid": null,
"url": null,
"is_private": null,
"resource_type": null,
"resource_id": null,
"asset_type": null,
"created_at": null,
"updated_at": null,
"expires_at": null,
"meta": null
}
}
},
{
"vanity_name": "foo-2bd3b8",
"name": "foo",
"description": "bar",
"starts_at": "2014-05-12T10:00:00+00:00",
"ends_at": "2014-05-12T12:00:00+00:00",
"tags": "foo,bar",
"_embedded": {
"location": {
"name": null,
"address": null,
"latitude": null,
"longitude": null
},
"image": {
"_links": null,
"_embedded": null,
"id": null,
"file": null,
"file_uid": null,
"url": null,
"is_private": null,
"resource_type": null,
"resource_id": null,
"asset_type": null,
"created_at": null,
"updated_at": null,
"expires_at": null,
"meta": null
}
}
},
{
"vanity_name": "foo-adeb7b",
"name": "foo",
"description": "bar",
"starts_at": "2014-05-12T10:00:00+00:00",
"ends_at": "2014-05-12T12:00:00+00:00",
"tags": "foo,bar",
"_embedded": {
"location": {
"name": null,
"address": null,
"latitude": null,
"longitude": null
},
"image": {
"_links": null,
"_embedded": null,
"id": null,
"file": null,
"file_uid": null,
"url": null,
"is_private": null,
"resource_type": null,
"resource_id": null,
"asset_type": null,
"created_at": null,
"updated_at": null,
"expires_at": null,
"meta": null
}
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment