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 |
Joins a shared album on behalf of the Google Photos user.
See: Photos Library API Reference for photoslibrary.sharedAlbums.join
.
Synopsis
- type SharedAlbumsJoinResource = "v1" :> ("sharedAlbums:join" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] JoinSharedAlbumRequest :> Post '[JSON] JoinSharedAlbumResponse))))))))))
- sharedAlbumsJoin :: JoinSharedAlbumRequest -> SharedAlbumsJoin
- data SharedAlbumsJoin
- sajXgafv :: Lens' SharedAlbumsJoin (Maybe Xgafv)
- sajUploadProtocol :: Lens' SharedAlbumsJoin (Maybe Text)
- sajPp :: Lens' SharedAlbumsJoin Bool
- sajAccessToken :: Lens' SharedAlbumsJoin (Maybe Text)
- sajUploadType :: Lens' SharedAlbumsJoin (Maybe Text)
- sajPayload :: Lens' SharedAlbumsJoin JoinSharedAlbumRequest
- sajBearerToken :: Lens' SharedAlbumsJoin (Maybe Text)
- sajCallback :: Lens' SharedAlbumsJoin (Maybe Text)
REST Resource
type SharedAlbumsJoinResource = "v1" :> ("sharedAlbums:join" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] JoinSharedAlbumRequest :> Post '[JSON] JoinSharedAlbumResponse)))))))))) Source #
A resource alias for photoslibrary.sharedAlbums.join
method which the
SharedAlbumsJoin
request conforms to.
Creating a Request
Creates a value of SharedAlbumsJoin
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SharedAlbumsJoin Source #
Joins a shared album on behalf of the Google Photos user.
See: sharedAlbumsJoin
smart constructor.
Request Lenses
sajUploadProtocol :: Lens' SharedAlbumsJoin (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
sajAccessToken :: Lens' SharedAlbumsJoin (Maybe Text) Source #
OAuth access token.
sajUploadType :: Lens' SharedAlbumsJoin (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
sajPayload :: Lens' SharedAlbumsJoin JoinSharedAlbumRequest Source #
Multipart request metadata.
sajBearerToken :: Lens' SharedAlbumsJoin (Maybe Text) Source #
OAuth bearer token.
sajCallback :: Lens' SharedAlbumsJoin (Maybe Text) Source #
JSONP