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 |
Returns the album specified by the given album id.
See: Photos Library API Reference for photoslibrary.albums.get
.
Synopsis
- type AlbumsGetResource = "v1" :> ("albums" :> (Capture "albumId" Text :> (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 :> Get '[JSON] Album))))))))))
- albumsGet :: Text -> AlbumsGet
- data AlbumsGet
- agXgafv :: Lens' AlbumsGet (Maybe Xgafv)
- agAlbumId :: Lens' AlbumsGet Text
- agUploadProtocol :: Lens' AlbumsGet (Maybe Text)
- agPp :: Lens' AlbumsGet Bool
- agAccessToken :: Lens' AlbumsGet (Maybe Text)
- agUploadType :: Lens' AlbumsGet (Maybe Text)
- agBearerToken :: Lens' AlbumsGet (Maybe Text)
- agCallback :: Lens' AlbumsGet (Maybe Text)
REST Resource
type AlbumsGetResource = "v1" :> ("albums" :> (Capture "albumId" Text :> (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 :> Get '[JSON] Album)))))))))) Source #
A resource alias for photoslibrary.albums.get
method which the
AlbumsGet
request conforms to.
Creating a Request
Creates a value of AlbumsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Returns the album specified by the given album id.
See: albumsGet
smart constructor.
Instances
Request Lenses
agUploadProtocol :: Lens' AlbumsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").