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 |
Retrieves the ID of the user if they have been specifically allowed to see the collection. If the collection's visibility is set to viewersOnly then only these users will see the collection.
See: Google Play EMM API Reference for androidenterprise.collectionviewers.get
.
- type CollectionviewersGetResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> ("users" :> (Capture "userId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] User))))))))
- collectionviewersGet :: Text -> Text -> Text -> CollectionviewersGet
- data CollectionviewersGet
- cggEnterpriseId :: Lens' CollectionviewersGet Text
- cggCollectionId :: Lens' CollectionviewersGet Text
- cggUserId :: Lens' CollectionviewersGet Text
REST Resource
type CollectionviewersGetResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> ("users" :> (Capture "userId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] User)))))))) Source #
A resource alias for androidenterprise.collectionviewers.get
method which the
CollectionviewersGet
request conforms to.
Creating a Request
Creates a value of CollectionviewersGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CollectionviewersGet Source #
Retrieves the ID of the user if they have been specifically allowed to see the collection. If the collection's visibility is set to viewersOnly then only these users will see the collection.
See: collectionviewersGet
smart constructor.
Request Lenses
cggEnterpriseId :: Lens' CollectionviewersGet Text Source #
The ID of the enterprise.
cggCollectionId :: Lens' CollectionviewersGet Text Source #
The ID of the collection.