- From: Karol Szczepański <karol.szczepanski@gmail.com>
- Date: Sun, 20 Dec 2015 20:48:42 +0100
- To: <public-hydra@w3.org>, "Thomas Hoppe" <thomas.hoppe@n-fuse.de>
>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