- From: Markus Lanthaler via GitHub <sysbot+gh@w3.org>
- Date: Mon, 29 May 2017 19:18:07 +0000
- To: public-hydra-logs@w3.org
lanthaler has just merged elf-pavlik's pull request 121 for https://github.com/HydraCG/Specifications:
== 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`
Possibly I should have used instead:
* `/api?documentation#list-events`
* `/api?documentation#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"
]
}
```
BTW in 1.entry-point.md the entry point `/api` advertises support for those two operations, possibly a bug?
and don't use https://www.w3.org/TR/json-ld/#embedding
See https://github.com/HydraCG/Specifications/pull/121
Received on Monday, 29 May 2017 19:18:14 UTC