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 |
Retrieves an attachment on a timeline item by item ID and attachment ID.
See: Google Mirror API Reference for mirror.timeline.attachments.get
.
Synopsis
- type TimelineAttachmentsGetResource = ("mirror" :> ("v1" :> ("timeline" :> (Capture "itemId" Text :> ("attachments" :> (Capture "attachmentId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Attachment))))))) :<|> ("mirror" :> ("v1" :> ("timeline" :> (Capture "itemId" Text :> ("attachments" :> (Capture "attachmentId" Text :> (QueryParam "alt" AltMedia :> Get '[OctetStream] Stream)))))))
- timelineAttachmentsGet :: Text -> Text -> TimelineAttachmentsGet
- data TimelineAttachmentsGet
- tagItemId :: Lens' TimelineAttachmentsGet Text
- tagAttachmentId :: Lens' TimelineAttachmentsGet Text
REST Resource
type TimelineAttachmentsGetResource = ("mirror" :> ("v1" :> ("timeline" :> (Capture "itemId" Text :> ("attachments" :> (Capture "attachmentId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Attachment))))))) :<|> ("mirror" :> ("v1" :> ("timeline" :> (Capture "itemId" Text :> ("attachments" :> (Capture "attachmentId" Text :> (QueryParam "alt" AltMedia :> Get '[OctetStream] Stream))))))) Source #
A resource alias for mirror.timeline.attachments.get
method which the
TimelineAttachmentsGet
request conforms to.
Creating a Request
timelineAttachmentsGet Source #
Creates a value of TimelineAttachmentsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TimelineAttachmentsGet Source #
Retrieves an attachment on a timeline item by item ID and attachment ID.
See: timelineAttachmentsGet
smart constructor.
Instances
Request Lenses
tagItemId :: Lens' TimelineAttachmentsGet Text Source #
The ID of the timeline item the attachment belongs to.
tagAttachmentId :: Lens' TimelineAttachmentsGet Text Source #
The ID of the attachment.