W3C home > Mailing lists > Public > public-hydra@w3.org > June 2014

RE: My opinion about hydra vocabulary

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Wed, 4 Jun 2014 23:15:22 +0200
To: <public-hydra@w3.org>
Message-ID: <03b501cf803a$19687b90$4c3972b0$@gmx.net>
On Wednesday, June 04, 2014 10:43 AM, László Lajos Jánszky wrote:
> Do you intend to describe every REST service with Hydra, or just a
> specific implementation of REST services?

Not sure what you mean by "describe every REST service". How could it? It would need to know about "every REST service", right? Hydra describes a specific implementation.


> For example should a Hydra REST service accept all of these requests
> or just a single one of them?
>  - PATCH "/users/123" {firstName: "John", secondName: "Smith"}
>  - PATCH "/users/123" {name: "John Smith"}
>  - PATCH "/users/123" {givenName: "John", familyName: "Smith"}
>  - PATCH "/users/123" {name: {first: "John", second: "Smith"}}

How could I answer this question? I know nothing about the service. Hydra just describes what can be done how. It doesn't prescribe what must/must not be done.



--
Markus Lanthaler
@markuslanthaler
Received on Wednesday, 4 June 2014 21:15:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 15:53:59 UTC