[Specifications] Pull Request: Same IRI must not denote both - the operation and the api resource which supports that operation

elf-pavlik has just submitted a new pull request for https://github.com/HydraCG/Specifications:

== Same IRI must not denote both - the operation and the api resource which supports that operation ==
Same IRI must not denote both - the operation and the api resource which supports that operation. I changed IRIs that denote operations to:
* `/api#list-events`
* `/api#add-event`

Any resource which supports any of those operations can possibly just reference their IRIs eg.

```json
{
  "@id": "/api/events",
  "operations": [
    "/api#list-events",
    "/api#add-event"
  ]
}
```

and don't use https://www.w3.org/TR/json-ld/#embedding


See https://github.com/HydraCG/Specifications/pull/121

Received on Tuesday, 2 May 2017 01:59:33 UTC