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 a report file by its report ID and file ID. This method supports media download.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.files.get
.
Synopsis
- type FilesGetResource = ("dfareporting" :> ("v3.2" :> ("reports" :> (Capture "reportId" (Textual Int64) :> ("files" :> (Capture "fileId" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] File))))))) :<|> ("dfareporting" :> ("v3.2" :> ("reports" :> (Capture "reportId" (Textual Int64) :> ("files" :> (Capture "fileId" (Textual Int64) :> (QueryParam "alt" AltMedia :> Get '[OctetStream] Stream)))))))
- filesGet :: Int64 -> Int64 -> FilesGet
- data FilesGet
- fgReportId :: Lens' FilesGet Int64
- fgFileId :: Lens' FilesGet Int64
REST Resource
type FilesGetResource = ("dfareporting" :> ("v3.2" :> ("reports" :> (Capture "reportId" (Textual Int64) :> ("files" :> (Capture "fileId" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] File))))))) :<|> ("dfareporting" :> ("v3.2" :> ("reports" :> (Capture "reportId" (Textual Int64) :> ("files" :> (Capture "fileId" (Textual Int64) :> (QueryParam "alt" AltMedia :> Get '[OctetStream] Stream))))))) Source #
A resource alias for dfareporting.files.get
method which the
FilesGet
request conforms to.
Creating a Request
Creates a value of FilesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Retrieves a report file by its report ID and file ID. This method supports media download.
See: filesGet
smart constructor.