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 |
Get an activity.
See: Google+ API Reference for plus.activities.get
.
Synopsis
- type ActivitiesGetResource = "plus" :> ("v1" :> ("activities" :> (Capture "activityId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Activity))))
- activitiesGet :: Text -> ActivitiesGet
- data ActivitiesGet
- agActivityId :: Lens' ActivitiesGet Text
REST Resource
type ActivitiesGetResource = "plus" :> ("v1" :> ("activities" :> (Capture "activityId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Activity)))) Source #
A resource alias for plus.activities.get
method which the
ActivitiesGet
request conforms to.
Creating a Request
Creates a value of ActivitiesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ActivitiesGet Source #
Get an activity.
See: activitiesGet
smart constructor.
Instances
Request Lenses
agActivityId :: Lens' ActivitiesGet Text Source #
The ID of the activity to get.