Successfully reported this slideshow.
Your SlideShare is downloading. ×

Hydra: A Vocabulary for Hypermedia-Driven Web APIs

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Upcoming SlideShare
JSON-LD Update
JSON-LD Update
Loading in …3
×

Check these out next

1 of 17 Ad

More Related Content

Slideshows for you (20)

Similar to Hydra: A Vocabulary for Hypermedia-Driven Web APIs (20)

Advertisement

More from Markus Lanthaler (13)

Recently uploaded (20)

Advertisement

Hydra: A Vocabulary for Hypermedia-Driven Web APIs

  1. 1. Hydra AVocabulary for HypermediaAPIs Markus Lanthaler Graz University ofTechnology
  2. 2. Why can’t Web APIs be browsed?
  3. 3. - Layered system
  4. 4. REST + Linked Data: a match made!?
  5. 5. Resource Link Form Class rdfs:Resource rdf:Property rdfs:Class Operation
  6. 6. Resource Link Form Class rdfs:Resource rdf:Property rdfs:Class Operation Templated
  7. 7. { "id": "cso29ax", "title": "LDOW2013 presentation", "description": "Prepare LDOW2013 presentation", "is_open": true, "created_at": "2012-11-26T04:49:44Z", "comments": "/issues/cso29ax/comments/" } http://example.com/issues/cso29ax
  8. 8. { "@context": "/ctx/context.jsonld", "id": "cso29ax", "title": "LDOW2013 presentation", "description": "Prepare LDOW2013 presentation", "is_open": true, "created_at": "2012-11-26T04:49:44Z", "comments": "/issues/cso29ax/comments/" } http://example.com/issues/cso29ax { "@id": "#comments", "@type": "hydra:Link", ... }
  9. 9. { "@id": "#comments", "@type": "hydra:Link", "supportedOperations": [ { "@id": "#create-comment", "@type": "hydra:CreateResourceOperation", "label": "Creates a new comment", "method": "POST", "expects": "#Comment", "returns": "#Comment" } ] }
  10. 10. { "@id": "#Comment", "@type": "hydra:Class", "supportedProperties": [ { "property": "#text", "required": true, "readonly": false, "writeonly": false } ] }
  11. 11. Hydra Console
  12. 12. © 2013, Markus Lanthaler. Some Rights Reserved. http://creativecommons.org/licenses/by-nc-sa/3.0/ Thank You
  13. 13. Questions? Markus Lanthaler http://www.markus-lanthaler.com @MarkusLanthaler mail@markus-lanthaler.com
  14. 14. Image Credits (1) http://www.flickr.com/photos/ecstaticist/3650101568/ (2) http://www.flickr.com/photos/eole/8138645952/ (5) http://www.vonwong.com/ (with permission)

×