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 |
Gets one site by ID.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.sites.get
.
- type SitesGetResource = "dfareporting" :> ("v2.6" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("sites" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] Site))))))
- sitesGet :: Int64 -> Int64 -> SitesGet
- data SitesGet
- sggProFileId :: Lens' SitesGet Int64
- sggId :: Lens' SitesGet Int64
REST Resource
type SitesGetResource = "dfareporting" :> ("v2.6" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("sites" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] Site)))))) Source #
A resource alias for dfareporting.sites.get
method which the
SitesGet
request conforms to.
Creating a Request
Creates a value of SitesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Gets one site by ID.
See: sitesGet
smart constructor.