Copyright | (c) 2015-2016 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 |
Adds a new attachment to a timeline item.
See: Google Mirror API Reference for mirror.timeline.attachments.insert
.
Synopsis
- type TimelineAttachmentsInsertResource = ("mirror" :> ("v1" :> ("timeline" :> (Capture "itemId" Text :> ("attachments" :> (QueryParam "alt" AltJSON :> Post '[JSON] Attachment)))))) :<|> ("upload" :> ("mirror" :> ("v1" :> ("timeline" :> (Capture "itemId" Text :> ("attachments" :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (AltMedia :> Post '[JSON] Attachment)))))))))
- timelineAttachmentsInsert :: Text -> TimelineAttachmentsInsert
- data TimelineAttachmentsInsert
- taiItemId :: Lens' TimelineAttachmentsInsert Text
REST Resource
type TimelineAttachmentsInsertResource = ("mirror" :> ("v1" :> ("timeline" :> (Capture "itemId" Text :> ("attachments" :> (QueryParam "alt" AltJSON :> Post '[JSON] Attachment)))))) :<|> ("upload" :> ("mirror" :> ("v1" :> ("timeline" :> (Capture "itemId" Text :> ("attachments" :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (AltMedia :> Post '[JSON] Attachment))))))))) Source #
A resource alias for mirror.timeline.attachments.insert
method which the
TimelineAttachmentsInsert
request conforms to.
Creating a Request
timelineAttachmentsInsert Source #
Creates a value of TimelineAttachmentsInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TimelineAttachmentsInsert Source #
Adds a new attachment to a timeline item.
See: timelineAttachmentsInsert
smart constructor.