Re: [Specifications] Expressing actions (#154) within ApiDocumentation

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
```json
{
  "supportedClass": {
    "@id": "hydra:Collection",
    "supportedProperty": {
      "@id": "hydra:memberTemplate",
      "supportedOperation": [ {
        "@type": "schema:CreateAction"
      } ]
    }
  }
}
```
?

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.




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

Received on Monday, 2 April 2018 13:45:24 UTC