- From: Tomasz Pluskiewicz via GitHub <sysbot+gh@w3.org>
- Date: Sun, 01 Oct 2017 19:04:44 +0000
- To: public-hydra-logs@w3.org
I haven't yet found a relevant resource in Foxy Cart. Here's an [example from Huddle](https://github.com/Huddle/huddle-apis/wiki/CompanyManagers#assign-company-manager-permissions) - to **Assign Company Manager permissions** ``` POST /people/companies/123/managers HTTP/1.1 Content-Type: application/vnd.huddle.data+json { "rel": "member", "href": "/people/companies/123/members/654" } ``` So it takes the approach of explicitly adding a link relation. What I find pretty vague is the media type. [`application/vnd.huddle.data+json`](https://github.com/Huddle/huddle-apis/wiki/MediaType) looks just like a fancy name for plain JSON. There isn't a general document structure. It takes different, although admittedly similar shapes, for various resources. Schemas seem to be only documented in plain text (?). -- GitHub Notification of comment by tpluscode Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/134#issuecomment-333398894 using your GitHub account
Received on Sunday, 1 October 2017 19:04:38 UTC