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 |
Add a person to a circle. Google+ limits certain circle operations, including the number of circle adds. Learn More.
See: Google+ Domains API Reference for plusDomains.circles.addPeople
.
Synopsis
- type CirclesAddPeopleResource = "plusDomains" :> ("v1" :> ("circles" :> (Capture "circleId" Text :> ("people" :> (QueryParams "email" Text :> (QueryParams "userId" Text :> (QueryParam "alt" AltJSON :> Put '[JSON] Circle)))))))
- circlesAddPeople :: Text -> CirclesAddPeople
- data CirclesAddPeople
- capEmail :: Lens' CirclesAddPeople [Text]
- capUserId :: Lens' CirclesAddPeople [Text]
- capCircleId :: Lens' CirclesAddPeople Text
REST Resource
type CirclesAddPeopleResource = "plusDomains" :> ("v1" :> ("circles" :> (Capture "circleId" Text :> ("people" :> (QueryParams "email" Text :> (QueryParams "userId" Text :> (QueryParam "alt" AltJSON :> Put '[JSON] Circle))))))) Source #
A resource alias for plusDomains.circles.addPeople
method which the
CirclesAddPeople
request conforms to.
Creating a Request
Creates a value of CirclesAddPeople
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CirclesAddPeople Source #
Add a person to a circle. Google+ limits certain circle operations, including the number of circle adds. Learn More.
See: circlesAddPeople
smart constructor.
Instances
Request Lenses
capEmail :: Lens' CirclesAddPeople [Text] Source #
Email of the people to add to the circle. Optional, can be repeated.
capUserId :: Lens' CirclesAddPeople [Text] Source #
IDs of the people to add to the circle. Optional, can be repeated.
capCircleId :: Lens' CirclesAddPeople Text Source #
The ID of the circle to add the person to.