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.Attachments.Get

Contents

Description

Retrieves an attachment on a timeline item by item ID and attachment ID.

See: Google Mirror API Reference for mirror.timeline.attachments.get.

Synopsis

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:

Request Lenses

tagItemId :: Lens' TimelineAttachmentsGet Text Source

The ID of the timeline item the attachment belongs to.