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 |
Adds an enrichment to a specified position in a defined album.
See: Photos Library API Reference for photoslibrary.albums.addEnrichment
.
Synopsis
- type AlbumsAddEnrichmentResource = "v1" :> ("albums" :> (CaptureMode "albumId" "addEnrichment" 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 :> (ReqBody '[JSON] AddEnrichmentToAlbumRequest :> Post '[JSON] AddEnrichmentToAlbumResponse)))))))))))
- albumsAddEnrichment :: Text -> AddEnrichmentToAlbumRequest -> AlbumsAddEnrichment
- data AlbumsAddEnrichment
- aaeXgafv :: Lens' AlbumsAddEnrichment (Maybe Xgafv)
- aaeAlbumId :: Lens' AlbumsAddEnrichment Text
- aaeUploadProtocol :: Lens' AlbumsAddEnrichment (Maybe Text)
- aaePp :: Lens' AlbumsAddEnrichment Bool
- aaeAccessToken :: Lens' AlbumsAddEnrichment (Maybe Text)
- aaeUploadType :: Lens' AlbumsAddEnrichment (Maybe Text)
- aaePayload :: Lens' AlbumsAddEnrichment AddEnrichmentToAlbumRequest
- aaeBearerToken :: Lens' AlbumsAddEnrichment (Maybe Text)
- aaeCallback :: Lens' AlbumsAddEnrichment (Maybe Text)
REST Resource
type AlbumsAddEnrichmentResource = "v1" :> ("albums" :> (CaptureMode "albumId" "addEnrichment" 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 :> (ReqBody '[JSON] AddEnrichmentToAlbumRequest :> Post '[JSON] AddEnrichmentToAlbumResponse))))))))))) Source #
A resource alias for photoslibrary.albums.addEnrichment
method which the
AlbumsAddEnrichment
request conforms to.
Creating a Request
Creates a value of AlbumsAddEnrichment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AlbumsAddEnrichment Source #
Adds an enrichment to a specified position in a defined album.
See: albumsAddEnrichment
smart constructor.
Instances
Request Lenses
aaeAlbumId :: Lens' AlbumsAddEnrichment Text Source #
Identifier of the album where the enrichment will be added.
aaeUploadProtocol :: Lens' AlbumsAddEnrichment (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
aaeAccessToken :: Lens' AlbumsAddEnrichment (Maybe Text) Source #
OAuth access token.
aaeUploadType :: Lens' AlbumsAddEnrichment (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
aaePayload :: Lens' AlbumsAddEnrichment AddEnrichmentToAlbumRequest Source #
Multipart request metadata.
aaeBearerToken :: Lens' AlbumsAddEnrichment (Maybe Text) Source #
OAuth bearer token.
aaeCallback :: Lens' AlbumsAddEnrichment (Maybe Text) Source #
JSONP