gogol-mirror-0.0.1: Google Mirror SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Mirror.Timeline.Insert

Contents

Description

Inserts a new item into the timeline.

See: Google Mirror API Reference for mirror.timeline.insert.

Synopsis

REST Resource

type TimelineInsertResource = ("mirror" :> ("v1" :> ("timeline" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` TimelineItem :> Post `[JSON]` TimelineItem))))) :<|> ("upload" :> ("mirror" :> ("v1" :> ("timeline" :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (MultipartRelated `[JSON]` TimelineItem RequestBody :> Post `[JSON]` TimelineItem))))))) Source

A resource alias for mirror.timeline.insert method which the TimelineInsert request conforms to.

Creating a Request

timelineInsert Source

Creates a value of TimelineInsert with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

tiPayload :: Lens' TimelineInsert TimelineItem Source

Multipart request metadata.