Re: [Specifications] CreateAction with HTTP PUT

I think CreateAction with HTTP PUT makes an interesting example of operation which requires IRI other than the resource which advertises it. It seems in some ways similar to [`hydra:search`](http://www.hydra-cg.com/spec/latest/core/#hydra:search) which provides `hydra:template`.

@lanthaler since `hydra:Operation` doesn't provide a way to specify `hydra:IriTemplate` it seems that we may not use `schema:CreateAction` with both HTTP POST and HTTP PUT. BTW since we consider recommending http://schema.org/docs/actions.html we may want to have some explaination about http://schema.org/target

Also `hydra:search` doesn't work as an operation so one shouldn't look for [`schema:SearchAction`](http://schema.org/SearchAction). Having something like `schema:target` which range includes IRI and `hydra:IriTemplate` (and defaults to IRI of the resource advertising the action) we could use `schema:CreateAction` with either POST or PUT and also treat a search as `schema:SearchAction`

-- 
GitHub Notification of comment by elf-pavlik
Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/141#issuecomment-335002705 using your GitHub account

Received on Sunday, 8 October 2017 12:17:16 UTC