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 |
Get a Component given its id.
See: Google Play Movies Partner API Reference for playmoviespartner.accounts.components.type.get
.
- type AccountsComponentsTypeGetResource = "v1" :> ("accounts" :> (Capture "accountId" Text :> ("components" :> (Capture "componentId" Text :> ("type" :> (Capture "type" Text :> (QueryParam "$.xgafv" Text :> (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] Component))))))))))))))
- accountsComponentsTypeGet :: Text -> Text -> Text -> AccountsComponentsTypeGet
- data AccountsComponentsTypeGet
- actgXgafv :: Lens' AccountsComponentsTypeGet (Maybe Text)
- actgUploadProtocol :: Lens' AccountsComponentsTypeGet (Maybe Text)
- actgPp :: Lens' AccountsComponentsTypeGet Bool
- actgAccessToken :: Lens' AccountsComponentsTypeGet (Maybe Text)
- actgUploadType :: Lens' AccountsComponentsTypeGet (Maybe Text)
- actgAccountId :: Lens' AccountsComponentsTypeGet Text
- actgBearerToken :: Lens' AccountsComponentsTypeGet (Maybe Text)
- actgComponentId :: Lens' AccountsComponentsTypeGet Text
- actgType :: Lens' AccountsComponentsTypeGet Text
- actgCallback :: Lens' AccountsComponentsTypeGet (Maybe Text)
REST Resource
type AccountsComponentsTypeGetResource = "v1" :> ("accounts" :> (Capture "accountId" Text :> ("components" :> (Capture "componentId" Text :> ("type" :> (Capture "type" Text :> (QueryParam "$.xgafv" Text :> (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] Component)))))))))))))) Source #
A resource alias for playmoviespartner.accounts.components.type.get
method which the
AccountsComponentsTypeGet
request conforms to.
Creating a Request
accountsComponentsTypeGet Source #
Creates a value of AccountsComponentsTypeGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsComponentsTypeGet Source #
Get a Component given its id.
See: accountsComponentsTypeGet
smart constructor.
Request Lenses
actgUploadProtocol :: Lens' AccountsComponentsTypeGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
actgAccessToken :: Lens' AccountsComponentsTypeGet (Maybe Text) Source #
OAuth access token.
actgUploadType :: Lens' AccountsComponentsTypeGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
actgAccountId :: Lens' AccountsComponentsTypeGet Text Source #
REQUIRED. See _General rules_ for more information about this field.
actgBearerToken :: Lens' AccountsComponentsTypeGet (Maybe Text) Source #
OAuth bearer token.
actgComponentId :: Lens' AccountsComponentsTypeGet Text Source #
REQUIRED. Component ID.
actgCallback :: Lens' AccountsComponentsTypeGet (Maybe Text) Source #
JSONP