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 |
Inserts a new mail into the archive of the Google group.
See: Groups Migration API Reference for groupsmigration.archive.insert
.
Synopsis
- type ArchiveInsertResource = ("groups" :> ("v1" :> ("groups" :> (Capture "groupId" Text :> ("archive" :> (QueryParam "alt" AltJSON :> Post '[JSON] Groups)))))) :<|> ("upload" :> ("groups" :> ("v1" :> ("groups" :> (Capture "groupId" Text :> ("archive" :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (AltMedia :> Post '[JSON] Groups)))))))))
- archiveInsert :: Text -> ArchiveInsert
- data ArchiveInsert
- aiGroupId :: Lens' ArchiveInsert Text
REST Resource
type ArchiveInsertResource = ("groups" :> ("v1" :> ("groups" :> (Capture "groupId" Text :> ("archive" :> (QueryParam "alt" AltJSON :> Post '[JSON] Groups)))))) :<|> ("upload" :> ("groups" :> ("v1" :> ("groups" :> (Capture "groupId" Text :> ("archive" :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (AltMedia :> Post '[JSON] Groups))))))))) Source #
A resource alias for groupsmigration.archive.insert
method which the
ArchiveInsert
request conforms to.
Creating a Request
Creates a value of ArchiveInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ArchiveInsert Source #
Inserts a new mail into the archive of the Google group.
See: archiveInsert
smart constructor.