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 |
Request downloaded content access for specified volumes on the My eBooks shelf.
See: Books API Reference for books.myconfig.syncVolumeLicenses
.
Synopsis
- type MyConfigSyncVolumeLicensesResource = "books" :> ("v1" :> ("myconfig" :> ("syncVolumeLicenses" :> (QueryParam "source" Text :> (QueryParam "nonce" Text :> (QueryParam "cpksver" Text :> (QueryParam "locale" Text :> (QueryParam "includeNonComicsSeries" Bool :> (QueryParams "volumeIds" Text :> (QueryParams "features" MyConfigSyncVolumeLicensesFeatures :> (QueryParam "showPreorders" Bool :> (QueryParam "alt" AltJSON :> Post '[JSON] Volumes))))))))))))
- myConfigSyncVolumeLicenses :: Text -> Text -> Text -> MyConfigSyncVolumeLicenses
- data MyConfigSyncVolumeLicenses
- mcsvlCpksver :: Lens' MyConfigSyncVolumeLicenses Text
- mcsvlLocale :: Lens' MyConfigSyncVolumeLicenses (Maybe Text)
- mcsvlIncludeNonComicsSeries :: Lens' MyConfigSyncVolumeLicenses (Maybe Bool)
- mcsvlVolumeIds :: Lens' MyConfigSyncVolumeLicenses [Text]
- mcsvlFeatures :: Lens' MyConfigSyncVolumeLicenses [MyConfigSyncVolumeLicensesFeatures]
- mcsvlSource :: Lens' MyConfigSyncVolumeLicenses Text
- mcsvlShowPreOrders :: Lens' MyConfigSyncVolumeLicenses (Maybe Bool)
- mcsvlNonce :: Lens' MyConfigSyncVolumeLicenses Text
REST Resource
type MyConfigSyncVolumeLicensesResource = "books" :> ("v1" :> ("myconfig" :> ("syncVolumeLicenses" :> (QueryParam "source" Text :> (QueryParam "nonce" Text :> (QueryParam "cpksver" Text :> (QueryParam "locale" Text :> (QueryParam "includeNonComicsSeries" Bool :> (QueryParams "volumeIds" Text :> (QueryParams "features" MyConfigSyncVolumeLicensesFeatures :> (QueryParam "showPreorders" Bool :> (QueryParam "alt" AltJSON :> Post '[JSON] Volumes)))))))))))) Source #
A resource alias for books.myconfig.syncVolumeLicenses
method which the
MyConfigSyncVolumeLicenses
request conforms to.
Creating a Request
myConfigSyncVolumeLicenses Source #
Creates a value of MyConfigSyncVolumeLicenses
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MyConfigSyncVolumeLicenses Source #
Request downloaded content access for specified volumes on the My eBooks shelf.
See: myConfigSyncVolumeLicenses
smart constructor.
Instances
Request Lenses
mcsvlCpksver :: Lens' MyConfigSyncVolumeLicenses Text Source #
The device/version ID from which to release the restriction.
mcsvlLocale :: Lens' MyConfigSyncVolumeLicenses (Maybe Text) Source #
ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
mcsvlIncludeNonComicsSeries :: Lens' MyConfigSyncVolumeLicenses (Maybe Bool) Source #
Set to true to include non-comics series. Defaults to false.
mcsvlVolumeIds :: Lens' MyConfigSyncVolumeLicenses [Text] Source #
The volume(s) to request download restrictions for.
mcsvlFeatures :: Lens' MyConfigSyncVolumeLicenses [MyConfigSyncVolumeLicensesFeatures] Source #
List of features supported by the client, i.e., 'RENTALS'
mcsvlSource :: Lens' MyConfigSyncVolumeLicenses Text Source #
String to identify the originator of this request.
mcsvlShowPreOrders :: Lens' MyConfigSyncVolumeLicenses (Maybe Bool) Source #
Set to true to show pre-ordered books. Defaults to false.
mcsvlNonce :: Lens' MyConfigSyncVolumeLicenses Text Source #
The client nonce value.