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 a job.
See: YouTube Reporting API Reference for youtubereporting.jobs.get
.
Synopsis
- type JobsGetResource = "v1" :> ("jobs" :> (Capture "jobId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Job)))))))))
- jobsGet :: Text -> JobsGet
- data JobsGet
- jgXgafv :: Lens' JobsGet (Maybe Xgafv)
- jgJobId :: Lens' JobsGet Text
- jgUploadProtocol :: Lens' JobsGet (Maybe Text)
- jgAccessToken :: Lens' JobsGet (Maybe Text)
- jgUploadType :: Lens' JobsGet (Maybe Text)
- jgOnBehalfOfContentOwner :: Lens' JobsGet (Maybe Text)
- jgCallback :: Lens' JobsGet (Maybe Text)
REST Resource
type JobsGetResource = "v1" :> ("jobs" :> (Capture "jobId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Job))))))))) Source #
A resource alias for youtubereporting.jobs.get
method which the
JobsGet
request conforms to.
Creating a Request
Creates a value of JobsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Gets a job.
See: jobsGet
smart constructor.
Instances
Request Lenses
jgUploadProtocol :: Lens' JobsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
jgUploadType :: Lens' JobsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").