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 circle for the authenticated user.
See: Google+ Domains API Reference for plusDomains.circles.insert
.
Synopsis
- type CirclesInsertResource = "plusDomains" :> ("v1" :> ("people" :> (Capture "userId" Text :> ("circles" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Circle :> Post '[JSON] Circle))))))
- circlesInsert :: Circle -> Text -> CirclesInsert
- data CirclesInsert
- ciPayload :: Lens' CirclesInsert Circle
- ciUserId :: Lens' CirclesInsert Text
REST Resource
type CirclesInsertResource = "plusDomains" :> ("v1" :> ("people" :> (Capture "userId" Text :> ("circles" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Circle :> Post '[JSON] Circle)))))) Source #
A resource alias for plusDomains.circles.insert
method which the
CirclesInsert
request conforms to.
Creating a Request
Creates a value of CirclesInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CirclesInsert Source #
Create a new circle for the authenticated user.
See: circlesInsert
smart constructor.