Copyright | (c) 2015 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.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.files.get
.
- type FilesGetResource = ("dfareporting" :> ("v2.2" :> ("reports" :> (Capture "reportId" (Textual Int64) :> ("files" :> (Capture "fileId" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get `[JSON]` File))))))) :<|> ("dfareporting" :> ("v2.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" :> ("v2.2" :> ("reports" :> (Capture "reportId" (Textual Int64) :> ("files" :> (Capture "fileId" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get `[JSON]` File))))))) :<|> ("dfareporting" :> ("v2.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.
See: filesGet
smart constructor.
Request Lenses
fgReportId :: Lens' FilesGet Int64 Source
The ID of the report.