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 project by ID.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.projects.get
.
Synopsis
- type ProjectsGetResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("projects" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] Project))))))
- projectsGet :: Int64 -> Int64 -> ProjectsGet
- data ProjectsGet
- proProFileId :: Lens' ProjectsGet Int64
- proId :: Lens' ProjectsGet Int64
REST Resource
type ProjectsGetResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("projects" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] Project)))))) Source #
A resource alias for dfareporting.projects.get
method which the
ProjectsGet
request conforms to.
Creating a Request
Creates a value of ProjectsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsGet Source #
Gets one project by ID.
See: projectsGet
smart constructor.
Instances
Request Lenses
proProFileId :: Lens' ProjectsGet Int64 Source #
User profile ID associated with this request.