Anúncio

Hydra: A Vocabulary for Hypermedia-Driven Web APIs

14 de May de 2013
Anúncio

Mais conteúdo relacionado

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

Anúncio
Anúncio

Hydra: A Vocabulary for Hypermedia-Driven Web APIs

  1. Hydra AVocabulary for HypermediaAPIs Markus Lanthaler Graz University ofTechnology
  2. Why can’t Web APIs be browsed?
  3. - Layered system
  4. REST + Linked Data: a match made!?
  5. Resource Link Form Class rdfs:Resource rdf:Property rdfs:Class Operation
  6. Resource Link Form Class rdfs:Resource rdf:Property rdfs:Class Operation Templated
  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. { "@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. { "@id": "#comments", "@type": "hydra:Link", "supportedOperations": [ { "@id": "#create-comment", "@type": "hydra:CreateResourceOperation", "label": "Creates a new comment", "method": "POST", "expects": "#Comment", "returns": "#Comment" } ] }
  10. { "@id": "#Comment", "@type": "hydra:Class", "supportedProperties": [ { "property": "#text", "required": true, "readonly": false, "writeonly": false } ] }
  11. Hydra Console
  12. © 2013, Markus Lanthaler. Some Rights Reserved. http://creativecommons.org/licenses/by-nc-sa/3.0/ Thank You
  13. Questions? Markus Lanthaler http://www.markus-lanthaler.com @MarkusLanthaler mail@markus-lanthaler.com
  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)
Anúncio