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.Subscriptions.Insert

Contents

Description

Adds a subscription for the authenticated user's channel.

See: YouTube Data API Reference for youtube.subscriptions.insert.

Synopsis

REST Resource

type SubscriptionsInsertResource = "youtube" :> ("v3" :> ("subscriptions" :> (QueryParam "part" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Subscription :> Post `[JSON]` Subscription))))) Source

A resource alias for youtube.subscriptions.insert method which the SubscriptionsInsert request conforms to.

Creating a Request

subscriptionsInsert Source

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

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

Request Lenses

siPart :: Lens' SubscriptionsInsert Text Source

The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.

siPayload :: Lens' SubscriptionsInsert Subscription Source

Multipart request metadata.