Re: Moving forward with hydra:filter (ISSUE-45)

>Very common in current rest API is a query param like 
>"fields=created,modified,...".
>Something like this should be easy to model with IRI templates.
>
>Alternatively or additionally it might make sense to let the client specify 
>a shape.

Just to share my experience within this area, in one of our projects we've 
approached that scenario with HTTP Expect Header where we've used SPARQL 
like property paths to define which properties/graphs to 
return/explode/block.
Only issue with that is that XMLHttpRequest Level 1 spec disallows that 
header to be sent and we had to send a Prefer header instead (RFC 7240).

Best

Karol

Received on Sunday, 20 December 2015 19:48:57 UTC