Re: What is the correct media-type for a Hydra specification?

hello.

On 2015-04-13 23:30, Nandana Mihindukulasooriya wrote:
> To answer your question, as far as I know (as a newbie), there is no
> specific media type defined for hydra api
> documentation. 'application/ld+json' and the content says it is an
> ApiDocumentation using rdf:type. But I would be interested to know where
> you are coming from?

i am guessing it's two worlds colliding. the REST community typically 
likes specific media types, so that resources explicitly surface the 
models that they represent. it makes resources self-describing *through 
their media type*.

RDF, on the other hand, typically only exposes its metamodel and uses 
the media type for serialization variants, assuming that saying "it's 
RDF" is good enough. this makes resources self-describing *once you 
process them*.

cheers,

dret.

-- 
erik wilde | mailto:dret@berkeley.edu  -  tel:+1-510-2061079 |
            | UC Berkeley  -  School of Information (ISchool) |
            | http://dret.net/netdret http://twitter.com/dret |

Received on Tuesday, 14 April 2015 06:40:08 UTC