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 |
Exports a Google Doc to the requested MIME type and returns the exported content. Please note that the exported content is limited to 10MB.
See: Drive API Reference for drive.files.export
.
Synopsis
- type FilesExportResource = ("drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("export" :> (QueryParam "mimeType" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ()))))))) :<|> ("drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("export" :> (QueryParam "mimeType" Text :> (QueryParam "alt" AltMedia :> Get '[OctetStream] Stream)))))))
- filesExport :: Text -> Text -> FilesExport
- data FilesExport
- feMimeType :: Lens' FilesExport Text
- feFileId :: Lens' FilesExport Text
REST Resource
type FilesExportResource = ("drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("export" :> (QueryParam "mimeType" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ()))))))) :<|> ("drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("export" :> (QueryParam "mimeType" Text :> (QueryParam "alt" AltMedia :> Get '[OctetStream] Stream))))))) Source #
A resource alias for drive.files.export
method which the
FilesExport
request conforms to.
Creating a Request
Creates a value of FilesExport
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data FilesExport Source #
Exports a Google Doc to the requested MIME type and returns the exported content. Please note that the exported content is limited to 10MB.
See: filesExport
smart constructor.
Instances
Request Lenses
feMimeType :: Lens' FilesExport Text Source #
The MIME type of the format requested for this export.