[Specifications] External operations

asbjornu has just created a new issue for https://github.com/HydraCG/Specifications:

== External operations ==
In discussions related to [Introspected REST](https://introspected.rest/) with @vasilakisfil on [HTTPAPIs Slack](http://slack.httpapis.com/), a use case we might want to support in Hydra materialised that I haven't thought about before: A way to reference external operations. It could look this:

```json
{
  "operation": "https://example.api/resource-state-specific-operations.json"
}

{
  "operation": [
    "https://example.api/more-static-operations.json",
    {
      "target": "...",
      "etc": "..."
    }
  ]
}
```

So, `operation` could, as `@context`, be either a URI, an object or an array with the mix of both. Thoughts?

Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/146 using your GitHub account

Received on Friday, 3 November 2017 14:37:24 UTC