gogol-webmaster-tools-0.0.1: Google Webmaster Tools 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.Webmasters.Sitemaps.Submit

Contents

Description

Submits a sitemap for a site.

See: Webmaster Tools API Reference for webmasters.sitemaps.submit.

Synopsis

REST Resource

type SitemapsSubmitResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("sitemaps" :> (Capture "feedpath" Text :> (QueryParam "alt" AltJSON :> Put `[JSON]` ())))))) Source

A resource alias for webmasters.sitemaps.submit method which the SitemapsSubmit request conforms to.

Creating a Request

sitemapsSubmit Source

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

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

Request Lenses

ssFeedpath :: Lens' SitemapsSubmit Text Source

The URL of the sitemap to add. For example: http://www.example.com/sitemap.xml

ssSiteURL :: Lens' SitemapsSubmit Text Source

The site's URL, including protocol. For example: http://www.example.com/