gogol-youtube-0.0.1: Google YouTube Data SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.YouTube.Channels.List

Contents

Description

Returns a collection of zero or more channel resources that match the request criteria.

See: YouTube Data API Reference for youtube.channels.list.

Synopsis

REST Resource

type ChannelsListResource = "youtube" :> ("v3" :> ("channels" :> (QueryParam "part" Text :> (QueryParam "mine" Bool :> (QueryParam "forUsername" Text :> (QueryParam "hl" Text :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "categoryId" Text :> (QueryParam "id" Text :> (QueryParam "mySubscribers" Bool :> (QueryParam "pageToken" Text :> (QueryParam "managedByMe" Bool :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` ChannelListResponse)))))))))))))) Source

A resource alias for youtube.channels.list method which the ChannelsList request conforms to.

Creating a Request

channelsList Source

Arguments

:: Text

cPart

-> ChannelsList 

Creates a value of ChannelsList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ChannelsList Source

Returns a collection of zero or more channel resources that match the request criteria.

See: channelsList smart constructor.

Request Lenses

cPart :: Lens' ChannelsList Text Source

The part parameter specifies a comma-separated list of one or more channel resource properties that the API response will include. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a channel resource, the contentDetails property contains other properties, such as the uploads properties. As such, if you set part=contentDetails, the API response will also contain all of those nested properties.

cMine :: Lens' ChannelsList (Maybe Bool) Source

Set this parameter's value to true to instruct the API to only return channels owned by the authenticated user.

cForUsername :: Lens' ChannelsList (Maybe Text) Source

The forUsername parameter specifies a YouTube username, thereby requesting the channel associated with that username.

cHl :: Lens' ChannelsList (Maybe Text) Source

The hl parameter should be used for filter out the properties that are not in the given language. Used for the brandingSettings part.

cOnBehalfOfContentOwner :: Lens' ChannelsList (Maybe Text) Source

Note: This parameter is intended exclusively for YouTube content partners. The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.

cCategoryId :: Lens' ChannelsList (Maybe Text) Source

The categoryId parameter specifies a YouTube guide category, thereby requesting YouTube channels associated with that category.

cId :: Lens' ChannelsList (Maybe Text) Source

The id parameter specifies a comma-separated list of the YouTube channel ID(s) for the resource(s) that are being retrieved. In a channel resource, the id property specifies the channel's YouTube channel ID.

cMySubscribers :: Lens' ChannelsList (Maybe Bool) Source

Use the subscriptions.list method and its mySubscribers parameter to retrieve a list of subscribers to the authenticated user's channel.

cPageToken :: Lens' ChannelsList (Maybe Text) Source

The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.

cManagedByMe :: Lens' ChannelsList (Maybe Bool) Source

Note: This parameter is intended exclusively for YouTube content partners. Set this parameter's value to true to instruct the API to only return channels managed by the content owner that the onBehalfOfContentOwner parameter specifies. The user must be authenticated as a CMS account linked to the specified content owner and onBehalfOfContentOwner must be provided.

cMaxResults :: Lens' ChannelsList Word32 Source

The maxResults parameter specifies the maximum number of items that should be returned in the result set.