Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Updates a timeline item in place. This method supports patch semantics.
See: Google Mirror API Reference for mirror.timeline.patch
.
- type TimelinePatchResource = "mirror" :> ("v1" :> ("timeline" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` TimelineItem :> Patch `[JSON]` TimelineItem)))))
- timelinePatch :: TimelineItem -> Text -> TimelinePatch
- data TimelinePatch
- tpPayload :: Lens' TimelinePatch TimelineItem
- tpId :: Lens' TimelinePatch Text
REST Resource
type TimelinePatchResource = "mirror" :> ("v1" :> ("timeline" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` TimelineItem :> Patch `[JSON]` TimelineItem))))) Source
A resource alias for mirror.timeline.patch
method which the
TimelinePatch
request conforms to.
Creating a Request
Creates a value of TimelinePatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TimelinePatch Source
Updates a timeline item in place. This method supports patch semantics.
See: timelinePatch
smart constructor.
Request Lenses
tpPayload :: Lens' TimelinePatch TimelineItem Source
Multipart request metadata.
tpId :: Lens' TimelinePatch Text Source
The ID of the timeline item.