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 the metadata of a specific report.
See: YouTube Reporting API Reference for youtubereporting.jobs.reports.get
.
Synopsis
- type JobsReportsGetResource = "v1" :> ("jobs" :> (Capture "jobId" Text :> ("reports" :> (Capture "reportId" 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] Report)))))))))))
- jobsReportsGet :: Text -> Text -> JobsReportsGet
- data JobsReportsGet
- jrgXgafv :: Lens' JobsReportsGet (Maybe Xgafv)
- jrgJobId :: Lens' JobsReportsGet Text
- jrgUploadProtocol :: Lens' JobsReportsGet (Maybe Text)
- jrgAccessToken :: Lens' JobsReportsGet (Maybe Text)
- jrgReportId :: Lens' JobsReportsGet Text
- jrgUploadType :: Lens' JobsReportsGet (Maybe Text)
- jrgOnBehalfOfContentOwner :: Lens' JobsReportsGet (Maybe Text)
- jrgCallback :: Lens' JobsReportsGet (Maybe Text)
REST Resource
type JobsReportsGetResource = "v1" :> ("jobs" :> (Capture "jobId" Text :> ("reports" :> (Capture "reportId" 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] Report))))))))))) Source #
A resource alias for youtubereporting.jobs.reports.get
method which the
JobsReportsGet
request conforms to.
Creating a Request
Creates a value of JobsReportsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data JobsReportsGet Source #
Gets the metadata of a specific report.
See: jobsReportsGet
smart constructor.
Instances
Request Lenses
jrgUploadProtocol :: Lens' JobsReportsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
jrgAccessToken :: Lens' JobsReportsGet (Maybe Text) Source #
OAuth access token.
jrgReportId :: Lens' JobsReportsGet Text Source #
The ID of the report to retrieve.
jrgUploadType :: Lens' JobsReportsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
jrgOnBehalfOfContentOwner :: Lens' JobsReportsGet (Maybe Text) Source #
The content owner's external ID on which behalf the user is acting on. If not set, the user is acting for himself (his own channel).
jrgCallback :: Lens' JobsReportsGet (Maybe Text) Source #
JSONP