Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
{
"id": "oscon2014",
"type": "Event",
"name": "OSCON",
"description": "O'Reilly Open Source Convention 2014",
"startDate":...
http://example.com/events/oscon2014
{
69 64: 6F 73 63 6F 6E 32 30 31 34 0D,
74 79 70 65: 45 76 65 6E 74 0D,
6E 61 6D 65: 4...
http://example.com/events/oscon2014
{
"id": "oscon2014",
"type": "Event",
"name": "OSCON",
"description": "O'Reilly Open S...
http://example.com/events/oscon2014
{
"id": "oscon2014",
"type": "Event",
"name": "OSCON",
"description": "O'Reilly Open S...
http://example.com/events/oscon2014
{
"id": "oscon2014",
"type": "Event",
"name": "OSCON",
"description": "O'Reilly Open S...
http://example.com/events/oscon2014
{
"@context": {
"name": "http://schema.org/name",
"description": "http://schema.org/de...
http://example.com/events/oscon2014
"@context": {
"@vocab": "http://schema.org/"
},
"id": "oscon2014",
"type": "Event",
"n...
http://example.com/events/oscon2014
"@context": {
"@vocab": "http://schema.org/"
},
"id": "oscon2014",
"type": "Event",
"n...
http://example.com/events/oscon2014
"@context": {
"@vocab": "http://schema.org/"
},
"@id": "oscon2014",
"type": "Event",
"...
http://example.com/events/oscon2014
"@context": {
"@vocab": "http://schema.org/"
},
"@id": "oscon2014",
"@type": "Event",
...
http://example.com/events/oscon2014
{
"@context": {
"@vocab": "http://schema.org/",
"startDate": { "@type": "DateTime" }
}...
http://example.com/events/oscon2014
{
"@context": {
...
"startDate": { "@type": "DateTime" }
"id": "@id",
"type": "@type"
...
http://example.com/events/oscon2014
{
"@context": "/contexts/event.jsonld",
"id": "oscon2014",
"type": "Event",
"name": "O...
http://example.com/events/oscon2014
{
"id": "oscon2014",
"type": "Event",
"name": "OSCON",
"description": "O'Reilly Open S...
http://example.com/events/oscon2014
HTTP/1.1 200 OK
Content-Type: application/json
Link: </contexts/event.jsonld>;
rel="ht...
<script type="application/ld+json">
...
</script>
http://example.com/events/
{
"@id": "/events/",
"@type": "Collection",
"member": [ ... ],
...
"operation": {
"@type": "htt...
{
"@id": "Event",
"@type": "Class",
"supportedProperty": {
"property": "name",
"required": true
}
}
http://example.com/eve...
{
"@id": "Event",
"@type": "Class",
"supportedProperty": {
"property": "name",
"required": true
}
}
http://example.com/eve...
{
"@id": "Event",
"@type": "Class",
"supportedProperty": {
"property": "name",
"required": true
}
}
http://example.com/eve...
http://example.com/events/oregon/
{
"@id": "/events/oregon/",
"@type": "Collection",
"member": [ ... ],
...
}
{
"@type": "...
{
"@id": "EventCollection",
"@type": "Class",
"subClassOf": "Collection",
"supportedOperation": {
"@type": "AddAction",
"m...
/**
* Event
*
* @HydraExpose(iri="http://schema.org/Event")
* @HydraId("event_retrieve")
* @HydraOperations( {
* "event_re...
$ php app/console hydra:generate:crud 
--entity=MLEventApiBundle:Event 
--route-prefix=/events/ 
--with-write 
--no-intera...
/**
* Event controller
*
* @Route("/events")
*/
class EventController extends HydraController
{
/**
* Creates a new Event ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
http://example.com/events/oscon2014 { "@context": { ...
Upcoming SlideShare
Loading in …5
×

http://example.com/events/oscon2014 { "@context": { ... Creating Awesome Web APIs is a Breeze

http://example.com/events/oscon2014
{
"@context": {
...
"startDate": { "@type": "DateTime" }
"id": "@id",
"type": "@type"
},
"id": "oscon2014",
"type": "Event",
"name": "OSCON",
"description": "O'Reilly Open Source Convention 2014",
"startDate": "2014-07-20T16:00:00Z",
"endDate": "2014-07-24T21:00:00Z",
"location": "Oregon Convention Center",
"organizer": "O'Reilly"
}

×