- From: Jay Zawar <jay.zawar@gmail.com>
- Date: Wed, 14 Dec 2016 08:59:18 +0100
- To: public-hydra@w3.org
Received on Thursday, 15 December 2016 13:32:47 UTC
Hi, I m looking for a way to specify an operation on a particular resource instance: the operation's URL and HTTP method should be specifiable. Example (please check the last 3 lines): { "@context":"https://contexts.dictionary.mycompany-group.com/person.jsonld", "@id":"https://myapi.mycompany.com/persons/BE14A7269802498F992813885546D058", "@type":"https://schema.org/Person", "name": "Mustermann", "operation" : [ {"@type": "DeleteResourceOperation","method": "DELETE"}, {"@type": "ReplaceResourceOperation","method": "PUT"} ], // now how would one specify this with JSON-LD augmented by HYDRA? {"@type": "some_special_operation","method": "POST", URL:"https://myapi.mycompany.com/persons/BE14A7269802498F992813885546D058/some_special_operation"} } Kind regards, Jay
Received on Thursday, 15 December 2016 13:32:47 UTC