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 report types.
See: YouTube Reporting API Reference for youtubereporting.reportTypes.list
.
- type ReportTypesListResource = "v1" :> ("reportTypes" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "includeSystemManaged" Bool :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListReportTypesResponse)))))))))))))
- reportTypesList :: ReportTypesList
- data ReportTypesList
- rtlXgafv :: Lens' ReportTypesList (Maybe Text)
- rtlUploadProtocol :: Lens' ReportTypesList (Maybe Text)
- rtlPp :: Lens' ReportTypesList Bool
- rtlAccessToken :: Lens' ReportTypesList (Maybe Text)
- rtlUploadType :: Lens' ReportTypesList (Maybe Text)
- rtlIncludeSystemManaged :: Lens' ReportTypesList (Maybe Bool)
- rtlOnBehalfOfContentOwner :: Lens' ReportTypesList (Maybe Text)
- rtlBearerToken :: Lens' ReportTypesList (Maybe Text)
- rtlPageToken :: Lens' ReportTypesList (Maybe Text)
- rtlPageSize :: Lens' ReportTypesList (Maybe Int32)
- rtlCallback :: Lens' ReportTypesList (Maybe Text)
REST Resource
type ReportTypesListResource = "v1" :> ("reportTypes" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "includeSystemManaged" Bool :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListReportTypesResponse))))))))))))) Source #
A resource alias for youtubereporting.reportTypes.list
method which the
ReportTypesList
request conforms to.
Creating a Request
reportTypesList :: ReportTypesList Source #
Creates a value of ReportTypesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReportTypesList Source #
Lists report types.
See: reportTypesList
smart constructor.
Request Lenses
rtlUploadProtocol :: Lens' ReportTypesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
rtlAccessToken :: Lens' ReportTypesList (Maybe Text) Source #
OAuth access token.
rtlUploadType :: Lens' ReportTypesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
rtlIncludeSystemManaged :: Lens' ReportTypesList (Maybe Bool) Source #
If set to true, also system-managed report types will be returned; otherwise only the report types that can be used to create new reporting jobs will be returned.
rtlOnBehalfOfContentOwner :: Lens' ReportTypesList (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).
rtlBearerToken :: Lens' ReportTypesList (Maybe Text) Source #
OAuth bearer token.
rtlPageToken :: Lens' ReportTypesList (Maybe Text) Source #
A token identifying a page of results the server should return. Typically, this is the value of ListReportTypesResponse.next_page_token returned in response to the previous call to the `ListReportTypes` method.
rtlPageSize :: Lens' ReportTypesList (Maybe Int32) Source #
Requested page size. Server may return fewer report types than requested. If unspecified, server will pick an appropriate default.
rtlCallback :: Lens' ReportTypesList (Maybe Text) Source #
JSONP