You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On today's call we discussed that the premise of PR #154 is to allow, as the title states, performing requests on a different target. That is, as opposed to hydra:Operation which always assumes that the target will be the object of a ?s hydra:operation ?o triple.
Taking advantage of supportedProperty and supportedOperation combined should make it also possible.
Let's have a car resource, linked to a steering wheel:
This way any subject of ?car ex:steeringWheel ?subject will be a assumed a valid for the turn operations, regardless of it's precise class. I think it should be also allowed to have an IriTemplate in place of /the/wheel
@lanthaler please confirm I'm not inventing my own Hydra here. @elf-pavlik how would similar be expressed with ApiDocumentation and the actions being discussed in #154
The text was updated successfully, but these errors were encountered:
We agreed that #154 is more about actions in general, this issue is more related to some technical solutions of achieving API documentation with both current hydra spec and hypothetical modifications (like the actions mentioned)
While I agree that we can consider this issue independently from PR #154 , let's still stick to UC5.1 and hydra:memberTemplate. Would we have something like
But that would mean that any hydra:Collection in that API supports schema:CreateAction, what if in our case only collection that manages resource of type schema:Event does support this operation and other collections do not? It seems that hydra:ApiDocumentation does not play well with hydra:manages block all together.
On today's call we discussed that the premise of PR #154 is to allow, as the title states, performing requests on a different target. That is, as opposed to
hydra:Operation
which always assumes that the target will be the object of a?s hydra:operation ?o
triple.Taking advantage of
supportedProperty
andsupportedOperation
combined should make it also possible.Let's have a car resource, linked to a steering wheel:
We can currently define the ApiDocumentation so that any occurrence of
ex:steeringWheel
implies that its subject will support given operations:This way any subject of
?car ex:steeringWheel ?subject
will be a assumed a valid for the turn operations, regardless of it's precise class. I think it should be also allowed to have anIriTemplate
in place of/the/wheel
@lanthaler please confirm I'm not inventing my own Hydra here.
@elf-pavlik how would similar be expressed with ApiDocumentation and the actions being discussed in #154
The text was updated successfully, but these errors were encountered: