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 |
Lists reports created by a specific job. Returns NOT_FOUND if the job does not exist.
See: YouTube Reporting API Reference for youtubereporting.jobs.reports.list
.
Synopsis
- type JobsReportsListResource = "v1" :> ("jobs" :> (Capture "jobId" Text :> ("reports" :> (QueryParam "createdAfter" DateTime' :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "startTimeAtOrAfter" DateTime' :> (QueryParam "startTimeBefore" DateTime' :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListReportsResponse)))))))))))))))
- jobsReportsList :: Text -> JobsReportsList
- data JobsReportsList
- jrlCreatedAfter :: Lens' JobsReportsList (Maybe UTCTime)
- jrlXgafv :: Lens' JobsReportsList (Maybe Xgafv)
- jrlJobId :: Lens' JobsReportsList Text
- jrlUploadProtocol :: Lens' JobsReportsList (Maybe Text)
- jrlAccessToken :: Lens' JobsReportsList (Maybe Text)
- jrlUploadType :: Lens' JobsReportsList (Maybe Text)
- jrlStartTimeAtOrAfter :: Lens' JobsReportsList (Maybe UTCTime)
- jrlStartTimeBefore :: Lens' JobsReportsList (Maybe UTCTime)
- jrlOnBehalfOfContentOwner :: Lens' JobsReportsList (Maybe Text)
- jrlPageToken :: Lens' JobsReportsList (Maybe Text)
- jrlPageSize :: Lens' JobsReportsList (Maybe Int32)
- jrlCallback :: Lens' JobsReportsList (Maybe Text)
REST Resource
type JobsReportsListResource = "v1" :> ("jobs" :> (Capture "jobId" Text :> ("reports" :> (QueryParam "createdAfter" DateTime' :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "startTimeAtOrAfter" DateTime' :> (QueryParam "startTimeBefore" DateTime' :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListReportsResponse))))))))))))))) Source #
A resource alias for youtubereporting.jobs.reports.list
method which the
JobsReportsList
request conforms to.
Creating a Request
Creates a value of JobsReportsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data JobsReportsList Source #
Lists reports created by a specific job. Returns NOT_FOUND if the job does not exist.
See: jobsReportsList
smart constructor.
Instances
Request Lenses
jrlCreatedAfter :: Lens' JobsReportsList (Maybe UTCTime) Source #
If set, only reports created after the specified date/time are returned.
jrlUploadProtocol :: Lens' JobsReportsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
jrlAccessToken :: Lens' JobsReportsList (Maybe Text) Source #
OAuth access token.
jrlUploadType :: Lens' JobsReportsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
jrlStartTimeAtOrAfter :: Lens' JobsReportsList (Maybe UTCTime) Source #
If set, only reports whose start time is greater than or equal the specified date/time are returned.
jrlStartTimeBefore :: Lens' JobsReportsList (Maybe UTCTime) Source #
If set, only reports whose start time is smaller than the specified date/time are returned.
jrlOnBehalfOfContentOwner :: Lens' JobsReportsList (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).
jrlPageToken :: Lens' JobsReportsList (Maybe Text) Source #
A token identifying a page of results the server should return. Typically, this is the value of ListReportsResponse.next_page_token returned in response to the previous call to the `ListReports` method.
jrlPageSize :: Lens' JobsReportsList (Maybe Int32) Source #
Requested page size. Server may return fewer report types than requested. If unspecified, server will pick an appropriate default.
jrlCallback :: Lens' JobsReportsList (Maybe Text) Source #
JSONP