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 |
Create a new activity for the authenticated user.
See: Google+ Domains API Reference for plusDomains.activities.insert
.
Synopsis
- type ActivitiesInsertResource = "plusDomains" :> ("v1" :> ("people" :> (Capture "userId" Text :> ("activities" :> (QueryParam "preview" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Activity :> Post '[JSON] Activity)))))))
- activitiesInsert :: Activity -> Text -> ActivitiesInsert
- data ActivitiesInsert
- aiPayload :: Lens' ActivitiesInsert Activity
- aiUserId :: Lens' ActivitiesInsert Text
- aiPreview :: Lens' ActivitiesInsert (Maybe Bool)
REST Resource
type ActivitiesInsertResource = "plusDomains" :> ("v1" :> ("people" :> (Capture "userId" Text :> ("activities" :> (QueryParam "preview" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Activity :> Post '[JSON] Activity))))))) Source #
A resource alias for plusDomains.activities.insert
method which the
ActivitiesInsert
request conforms to.
Creating a Request
Creates a value of ActivitiesInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ActivitiesInsert Source #
Create a new activity for the authenticated user.
See: activitiesInsert
smart constructor.