- From: Tomasz Pluskiewicz via GitHub <sysbot+gh@w3.org>
- Date: Wed, 01 Nov 2017 21:42:06 +0000
- To: public-hydra-logs@w3.org
Sure.
To recap, #143 reintroduces `hydra:memberTemplate` as a way to specify a way to create new members of a collection:
``` json
{
"@id": "/api/events",
"@type": "hydra:Collection",
"hydra:memberTemplate": {
"@type": "IriTemplate",
"hydra:template": "http://example.com/api/event{/slug*}",
"hydra:variableRepresentation": "hydra:BasicRepresentation",
"hydra:mapping": [ ... ],
"hydra:operation": [
{
"@type": [ "hydra:Operation", "schema:CreateAction" ],
"method": "PUT"
}
]
}
}
```
That said I don't think the original proposal is at odds with that. If `hydra:memberTemplate` was defined as a templated link, that would explicitly allow the client to attempt `GET`.
--
GitHub Notification of comment by tpluscode
Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/16#issuecomment-341251883 using your GitHub account
Received on Wednesday, 1 November 2017 21:42:08 UTC