- From: elf Pavlik via GitHub <sysbot+gh@w3.org>
- Date: Mon, 05 Feb 2018 18:57:00 +0000
- To: public-hydra-logs@w3.org
If we take https://github.com/HydraCG/Specifications/blob/master/drafts/use-cases/6.updating-event.md#details it would look something like:
```json
{
"@context": "/api/context.jsonld",
"@id": "/api/events/1",
"@type": ["schema:Event"],
"action": [
{
"@type": "schema:ReplaceAction",
"title": "Update an existing event",
"handledWith": {
"@type": "Operation",
"method": "PUT",
"expects": "schema:Event",
"target": "/api/events/1"
}
}
]
}
```
One could frame it differently not to repeat `/api/events/1` but then we may need to use a reference for at least one of the blank nodes instead.
---
Review status: all files reviewed at latest revision, 2 unresolved discussions.
---
*Comments from [Reviewable](https://reviewable.io:443/reviews/hydracg/specifications/154#-:-L4bIvP6kUfL1hncTAbJ:bdz5pw1)*
<!-- Sent from Reviewable.io -->
--
GitHub Notification of comment by elf-pavlik
Please view or discuss this issue at https://github.com/HydraCG/Specifications/pull/154#issuecomment-363185257 using your GitHub account
Received on Monday, 5 February 2018 18:57:04 UTC