- From: Thomas Hoppe <thomas.hoppe@n-fuse.de>
- Date: Mon, 13 Apr 2015 11:57:07 +0200
- To: "public-hydra@w3.org" <public-hydra@w3.org>
Hi, Thinking about how to model operations in an API, I encountered the following question: What is the target URL (I'm specifically not using the term IRI here) for a hydra:operation? Looking at Example 6 in the spec it is obviously the URL which can be constructed from the complete resource IRI (context base URL + "/an-issue") according to what is describe in the JSON-LD spec [1]. I have two issues with that: 1.) Is this only an implicit assumption that it has to work like this or is this specified somewhere? 1.1) Is this also true if operations are nested like in the Restbucks examples [2]? 2.) What if we wanted to tell the client that the target for the request to form is a different one? For the second point, there is https://schema.org/target but maybe hydra should have this essential property on its own. Greets, Thomas [1] http://www.w3.org/TR/json-ld/#base-iri [2] https://www.w3.org/community/hydra/wiki/Restbucks_with_Hydra#Telling_the_Client_Where_to_Order
Received on Monday, 13 April 2015 09:57:38 UTC