- From: Markus Lanthaler via GitHub <sysbot+gh@w3.org>
- Date: Sun, 01 Oct 2017 20:15:28 +0000
- To: public-hydra-logs@w3.org
I looked at a couple of Google's APIs. Most of them follow the model Pavlik outlined above. YouTube's API for instance has the notion of [PlaylistItems](https://developers.google.com/youtube/v3/docs/playlistItems/insert) to add and remove items from a playlist. The membership is thus a resource by itself that can be created and deleted. An example that hasn't come up yet can be found in [Gmail's API to modify labels of a message](https://developers.google.com/gmail/api/v1/reference/users/messages/modify). It "emulates a PATCH" to modify the message: ```http POST https://www.googleapis.com/gmail/v1/users/userId/messages/id/modify { "addLabelIds": [ string ], "removeLabelIds": [ string ] } ``` -- GitHub Notification of comment by lanthaler Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/134#issuecomment-333403458 using your GitHub account
Received on Sunday, 1 October 2017 20:15:22 UTC