Copyright | (c) 2015 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 |
Returns a list of abuse reasons that can be used for reporting abusive videos.
See: YouTube Data API Reference for youtube.videoAbuseReportReasons.list
.
- type VideoAbuseReportReasonsListResource = "youtube" :> ("v3" :> ("videoAbuseReportReasons" :> (QueryParam "part" Text :> (QueryParam "hl" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` VideoAbuseReportReasonListResponse)))))
- videoAbuseReportReasonsList :: Text -> VideoAbuseReportReasonsList
- data VideoAbuseReportReasonsList
- varrlPart :: Lens' VideoAbuseReportReasonsList Text
- varrlHl :: Lens' VideoAbuseReportReasonsList Text
REST Resource
type VideoAbuseReportReasonsListResource = "youtube" :> ("v3" :> ("videoAbuseReportReasons" :> (QueryParam "part" Text :> (QueryParam "hl" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` VideoAbuseReportReasonListResponse))))) Source
A resource alias for youtube.videoAbuseReportReasons.list
method which the
VideoAbuseReportReasonsList
request conforms to.
Creating a Request
videoAbuseReportReasonsList Source
Creates a value of VideoAbuseReportReasonsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data VideoAbuseReportReasonsList Source
Returns a list of abuse reasons that can be used for reporting abusive videos.
See: videoAbuseReportReasonsList
smart constructor.
Request Lenses
varrlPart :: Lens' VideoAbuseReportReasonsList Text Source
The part parameter specifies the videoCategory resource parts that the API response will include. Supported values are id and snippet.
varrlHl :: Lens' VideoAbuseReportReasonsList Text Source
The hl parameter specifies the language that should be used for text values in the API response.