Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
{
"id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate": "2014-05-28T20:00-07",
"endDate": "20...
http://example.com/events/cake-apicon14
{
69 64: 63 61 6B 65 2D 61 70 69 63 6F 6E 31 34,
6E 61 6D 65: 43 41 4B 45 20 6C 69...
http://example.com/events/cake-apicon14
{
"id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate...
http://example.com/events/cake-apicon14
{
"id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate...
http://example.com/events/cake-apicon14
{
"@context": {
"name": "http://schema.org/name",
"startDate": "http://schema.org/...
http://example.com/events/cake-apicon14
{
"@context": {
"@vocab": "http://schema.org/"
},
"id": "cake-apicon14",
"name": "...
http://example.com/events/cake-apicon14
{
"@context": {
"@vocab": "http://schema.org/"
},
"id": "cake-apicon14",
"name": "...
http://example.com/events/cake-apicon14
{
"@context": {
"@vocab": "http://schema.org/"
},
"@id": "cake-apicon14",
"name": ...
http://example.com/events/cake-apicon14
{
"@context": {
"@vocab": "http://schema.org/"
},
"@id": "cake-apicon14",
"name": ...
http://example.com/events/cake-apicon14
{
"@context": {
"@vocab": "http://schema.org/",
"performer": { "@type": "@id" }
},...
http://example.com/events/cake-apicon14
{
"@context": {
"@vocab": "http://schema.org/",
"performer": { "@type": "@id" },
"...
http://example.com/events/cake-apicon14
{
"@context": {
"@vocab": "http://schema.org/",
"performer": { "@type": "@id" },
"...
http://example.com/events/cake-apicon14
{
"@context": {
"@vocab": "http://schema.org/",
"performer": { "@type": "@id" },
"...
http://example.com/events/cake-apicon14
{
"@context": {
"@vocab": "http://schema.org/",
"performer": { "@type": "@id" },
"...
http://example.com/events/cake-apicon14
{
"@context": "/contexts/event.jsonld",
"id": "cake-apicon14",
"name": "CAKE live ...
http://example.com/events/cake-apicon14
{
"id": "cake-apicon14",
"name": "CAKE live in concert at APIcon 2014",
"startDate...
http://example.com/events/cake-apicon14
HTTP/1.1 200 OK
Content-Type: application/json
Link: </contexts/event.jsonld>;
rel...
<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...
http://example.com/events/california/
{
"@id": "/events/california/",
"@type": "Collection",
"member": [ ... ],
...
}
{
"@...
{
"@id": "EventCollection",
"@type": "Class",
"subClassOf": "Collection",
"supportedOperation": {
"@type": "AddAction",
"m...
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
A Deep Dive into JSON-LD and Hydra
Prochain SlideShare
Chargement dans…5
×

sur

A Deep Dive into JSON-LD and Hydra Slide 1 A Deep Dive into JSON-LD and Hydra Slide 2 A Deep Dive into JSON-LD and Hydra Slide 3 A Deep Dive into JSON-LD and Hydra Slide 4 A Deep Dive into JSON-LD and Hydra Slide 5 A Deep Dive into JSON-LD and Hydra Slide 6 A Deep Dive into JSON-LD and Hydra Slide 7 A Deep Dive into JSON-LD and Hydra Slide 8 A Deep Dive into JSON-LD and Hydra Slide 9 A Deep Dive into JSON-LD and Hydra Slide 10 A Deep Dive into JSON-LD and Hydra Slide 11 A Deep Dive into JSON-LD and Hydra Slide 12 A Deep Dive into JSON-LD and Hydra Slide 13 A Deep Dive into JSON-LD and Hydra Slide 14 A Deep Dive into JSON-LD and Hydra Slide 15 A Deep Dive into JSON-LD and Hydra Slide 16 A Deep Dive into JSON-LD and Hydra Slide 17 A Deep Dive into JSON-LD and Hydra Slide 18 A Deep Dive into JSON-LD and Hydra Slide 19 A Deep Dive into JSON-LD and Hydra Slide 20 A Deep Dive into JSON-LD and Hydra Slide 21 A Deep Dive into JSON-LD and Hydra Slide 22 A Deep Dive into JSON-LD and Hydra Slide 23 A Deep Dive into JSON-LD and Hydra Slide 24 A Deep Dive into JSON-LD and Hydra Slide 25 A Deep Dive into JSON-LD and Hydra Slide 26 A Deep Dive into JSON-LD and Hydra Slide 27 A Deep Dive into JSON-LD and Hydra Slide 28 A Deep Dive into JSON-LD and Hydra Slide 29 A Deep Dive into JSON-LD and Hydra Slide 30 A Deep Dive into JSON-LD and Hydra Slide 31 A Deep Dive into JSON-LD and Hydra Slide 32 A Deep Dive into JSON-LD and Hydra Slide 33 A Deep Dive into JSON-LD and Hydra Slide 34 A Deep Dive into JSON-LD and Hydra Slide 35 A Deep Dive into JSON-LD and Hydra Slide 36 A Deep Dive into JSON-LD and Hydra Slide 37 A Deep Dive into JSON-LD and Hydra Slide 38 A Deep Dive into JSON-LD and Hydra Slide 39 A Deep Dive into JSON-LD and Hydra Slide 40 A Deep Dive into JSON-LD and Hydra Slide 41 A Deep Dive into JSON-LD and Hydra Slide 42 A Deep Dive into JSON-LD and Hydra Slide 43
Prochain SlideShare
Creating Awesome Web APIs is a Breeze
Suivant

27 j’aime

Partager

A Deep Dive into JSON-LD and Hydra

Presented at the APIcon 2014 conference in San Francisco, CA, USA.

Livres associés

Gratuit avec un essai de 30 jours de Scribd

Tout voir

A Deep Dive into JSON-LD and Hydra

  1. 1. { "id": "cake-apicon14", "name": "CAKE live in concert at APIcon 2014", "startDate": "2014-05-28T20:00-07", "endDate": "2014-05-28T23:00-07", "location": { "name": "Hilton San Francisco Union Square", "address": "333 O'Farrell St, San Francisco, CA 94102" } } http://example.com/events/cake-apicon14
  2. 2. http://example.com/events/cake-apicon14 { 69 64: 63 61 6B 65 2D 61 70 69 63 6F 6E 31 34, 6E 61 6D 65: 43 41 4B 45 20 6C 69 76 65 20 69 6E 20 63 … 73 74 61 72 74 44 61 74 65: 32 30 31 34 2D 30 35 2D 32 … 65 6E 64 44 61 74 65: 32 30 31 34 2D 30 35 2D 32 38 54 … 6C 6F 63 61 74 69 6F 6E: { 6E 61 6D 65: 48 69 6C 74 6F 6E 20 53 61 6E 20 46 72 6… 61 64 64 72 65 73 73: 33 33 33 20 4F 27 46 61 72 72 6… } }
  3. 3. http://example.com/events/cake-apicon14 { "id": "cake-apicon14", "name": "CAKE live in concert at APIcon 2014", "startDate": "2014-05-28T20:00-07", "endDate": "2014-05-28T23:00-07", "location": { "name": "Hilton San Francisco Union Square", "address": "333 O'Farrell St, San Francisco, CA 94102" } }
  4. 4. http://example.com/events/cake-apicon14 { "id": "cake-apicon14", "name": "CAKE live in concert at APIcon 2014", "startDate": "2014-05-28T20:00-07", "endDate": "2014-05-28T23:00-07", "location": { "name": "Hilton San Francisco Union Square", "address": "333 O'Farrell St, San Francisco, CA 94102" } }
  5. 5. http://example.com/events/cake-apicon14 { "@context": { "name": "http://schema.org/name", "startDate": "http://schema.org/startDate", "endDate": "http://schema.org/endDate", ... }, "id": "cake-apicon14", "name": "CAKE live in concert at APIcon 2014", "startDate": "2014-05-28T20:00-07", "endDate": "2014-05-28T23:00-07", "location": { "name": "Hilton San Francisco Union Square", "address": "333 O'Farrell St, San Francisco, CA 94102" } }
  6. 6. http://example.com/events/cake-apicon14 { "@context": { "@vocab": "http://schema.org/" }, "id": "cake-apicon14", "name": "CAKE live in concert at APIcon 2014", "startDate": "2014-05-28T20:00-07", "endDate": "2014-05-28T23:00-07", "location": { "name": "Hilton San Francisco Union Square", "address": "333 O'Farrell St, San Francisco, CA 94102" } }
  7. 7. http://example.com/events/cake-apicon14 { "@context": { "@vocab": "http://schema.org/" }, "id": "cake-apicon14", "name": "CAKE live in concert at APIcon 2014", "startDate": "2014-05-28T20:00-07", "endDate": "2014-05-28T23:00-07", "location": { "name": "Hilton San Francisco Union Square", "address": "333 O'Farrell St, San Francisco, CA 94102" } }
  8. 8. http://example.com/events/cake-apicon14 { "@context": { "@vocab": "http://schema.org/" }, "@id": "cake-apicon14", "name": "CAKE live in concert at APIcon 2014", "startDate": "2014-05-28T20:00-07", "endDate": "2014-05-28T23:00-07", "location": { "name": "Hilton San Francisco Union Square", "address": "333 O'Farrell St, San Francisco, CA 94102" } }
  9. 9. http://example.com/events/cake-apicon14 { "@context": { "@vocab": "http://schema.org/" }, "@id": "cake-apicon14", "name": "CAKE live in concert at APIcon 2014", "startDate": "2014-05-28T20:00-07", "endDate": "2014-05-28T23:00-07", "location": { "name": "Hilton San Francisco Union Square", "address": "333 O'Farrell St, San Francisco, CA 94102" }, "performer": { "@id": "/bands/cake" } }
  10. 10. http://example.com/events/cake-apicon14 { "@context": { "@vocab": "http://schema.org/", "performer": { "@type": "@id" } }, "@id": "cake-apicon14", "name": "CAKE live in concert at APIcon 2014", "startDate": "2014-05-28T20:00-07", "endDate": "2014-05-28T23:00-07", "location": { "name": "Hilton San Francisco Union Square", "address": "333 O'Farrell St, San Francisco, CA 94102" }, "performer": "/bands/cake" }
  11. 11. http://example.com/events/cake-apicon14 { "@context": { "@vocab": "http://schema.org/", "performer": { "@type": "@id" }, "startDate": { "@type": "http://schema.org/DateTime" } }, "@id": "cake-apicon14", "name": "CAKE live in concert at APIcon 2014", "startDate": "2014-05-28T20:00-07", "endDate": "2014-05-28T23:00-07", "location": { "name": "Hilton San Francisco Union Square", "address": "333 O'Farrell St, San Francisco, CA 94102" }, "performer": "/bands/cake" }
  12. 12. http://example.com/events/cake-apicon14 { "@context": { "@vocab": "http://schema.org/", "performer": { "@type": "@id" }, "startDate": { "@type": "DateTime" } }, "@id": "cake-apicon14", "name": "CAKE live in concert at APIcon 2014", "startDate": "2014-05-28T20:00-07", "endDate": "2014-05-28T23:00-07", "location": { "name": "Hilton San Francisco Union Square", "address": "333 O'Farrell St, San Francisco, CA 94102" }, "performer": "/bands/cake" }
  13. 13. http://example.com/events/cake-apicon14 { "@context": { "@vocab": "http://schema.org/", "performer": { "@type": "@id" }, "startDate": { "@type": "DateTime" } }, "@id": "cake-apicon14", "name": "CAKE live in concert at APIcon 2014", "startDate": "2014-05-28T20:00-07", "endDate": "2014-05-28T23:00-07", "location": { "@type": "Place", "name": "Hilton San Francisco Union Square", "address": "333 O'Farrell St, San Francisco, CA 94102" }, "performer": "/bands/cake" }
  14. 14. http://example.com/events/cake-apicon14 { "@context": { "@vocab": "http://schema.org/", "performer": { "@type": "@id" }, "startDate": { "@type": "DateTime" }, "type": "@type" }, "@id": "cake-apicon14", "name": "CAKE live in concert at APIcon 2014", "startDate": "2014-05-28T20:00-07", "endDate": "2014-05-28T23:00-07", "location": { "type": "Place", "name": "Hilton San Francisco Union Square", "address": "333 O'Farrell St, San Francisco, CA 94102" }, "performer": "/bands/cake" }
  15. 15. http://example.com/events/cake-apicon14 { "@context": "/contexts/event.jsonld", "id": "cake-apicon14", "name": "CAKE live in concert at APIcon 2014", "startDate": "2014-05-28T20:00-07", "endDate": "2014-05-28T23:00-07", "location": { "type": "Place", "name": "Hilton San Francisco Union Square", "address": "333 O'Farrell St, San Francisco, CA 94102" }, "performer": "/bands/cake" }
  16. 16. http://example.com/events/cake-apicon14 { "id": "cake-apicon14", "name": "CAKE live in concert at APIcon 2014", "startDate": "2014-05-28T20:00-07", "endDate": "2014-05-28T23:00-07", "location": { "type": "Place", "name": "Hilton San Francisco Union Square", "address": "333 O'Farrell St, San Francisco, CA 94102" }, "performer": "/bands/cake" }
  17. 17. http://example.com/events/cake-apicon14 HTTP/1.1 200 OK Content-Type: application/json Link: </contexts/event.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json" { "id": "cake-apicon14", "name": "CAKE live in concert at APIcon 2014", "startDate": "2014-05-28T20:00-07", "endDate": "2014-05-28T23:00-07", "location": { "type": "Place", "name": "Hilton San Francisco Union Square", "address": "333 O'Farrell St, San Francisco, CA 94102" }, "performer": "/bands/cake" }
  18. 18. <script type="application/ld+json"> ... </script>
  19. 19. http://example.com/events/ { "@id": "/events/", "@type": "Collection", "member": [ ... ], ... "operation": { "@type": "http://schema.org/AddAction", } }
  20. 20. { "@id": "Event", "@type": "Class", "supportedProperty": { "property": "name", "required": true } } http://example.com/events/ { "@id": "/events/", "@type": "Collection", "member": [ ... ], ... "operation": { "@type": "AddAction", "method": "POST", "expects": "Event" } }
  21. 21. { "@id": "Event", "@type": "Class", "supportedProperty": { "property": "name", "required": true } } http://example.com/events/california/ { "@id": "/events/california/", "@type": "Collection", "member": [ ... ], ... "operation": { "@type": "AddAction", "method": "POST", "expects": "Event" } }
  22. 22. http://example.com/events/california/ { "@id": "/events/california/", "@type": "Collection", "member": [ ... ], ... } { "@type": "AddAction", "method": "POST", "expects": "Event" }
  23. 23. { "@id": "EventCollection", "@type": "Class", "subClassOf": "Collection", "supportedOperation": { "@type": "AddAction", "method": "POST", "expects": "Event" } } http://example.com/events/california/ { "@id": "/events/california/", "@type": "EventCollection", "member": [ ... ], ... } { "@type": "AddAction", "method": "POST", "expects": "Event" }
  • deciowbj

    Oct. 30, 2018
  • KristianKoci

    Sep. 26, 2017
  • RichardRigby3

    Oct. 12, 2016
  • byaur

    Aug. 4, 2016
  • ErsinDemirtas

    Apr. 17, 2016
  • mallarapusidhu

    Jan. 20, 2016
  • ofadeyi

    Dec. 21, 2015
  • staypufd

    Dec. 9, 2015
  • mythii

    Jun. 21, 2015
  • torkveen

    Mar. 18, 2015
  • sergeynevmerzhitsky

    Mar. 13, 2015
  • pantaluna

    Mar. 11, 2015
  • olegvilchinski

    Mar. 8, 2015
  • jalbertbowden

    Feb. 25, 2015
  • AnthonyBaker

    Dec. 5, 2014
  • ceefour

    Dec. 2, 2014
  • joshuuu

    Oct. 14, 2014
  • HowardCheng

    Oct. 7, 2014
  • mheevunsin

    Sep. 27, 2014
  • mihailoff

    Jul. 25, 2014

Presented at the APIcon 2014 conference in San Francisco, CA, USA.

Vues

Nombre de vues

9 444

Sur Slideshare

0

À partir des intégrations

0

Nombre d'intégrations

1 242

Actions

Téléchargements

0

Partages

0

Commentaires

0

Mentions J'aime

27

×