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.URLCrawlErrorscounts.Query

Contents

Description

Retrieves a time series of the number of URL crawl errors per error category and platform.

See: Webmaster Tools API Reference for webmasters.urlcrawlerrorscounts.query.

Synopsis

REST Resource

type URLCrawlErrorscountsQueryResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("urlCrawlErrorsCounts" :> ("query" :> (QueryParam "platform" URLCrawlErrorscountsQueryPlatform :> (QueryParam "category" URLCrawlErrorscountsQueryCategory :> (QueryParam "latestCountsOnly" Bool :> (QueryParam "alt" AltJSON :> Get `[JSON]` URLCrawlErrorsCountsQueryResponse))))))))) Source

A resource alias for webmasters.urlcrawlerrorscounts.query method which the URLCrawlErrorscountsQuery request conforms to.

Creating a Request

urlCrawlErrorscountsQuery Source

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

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

Request Lenses

uceqPlatform :: Lens' URLCrawlErrorscountsQuery (Maybe URLCrawlErrorscountsQueryPlatform) Source

The user agent type (platform) that made the request. For example: web. If not specified, returns results for all platforms.

uceqCategory :: Lens' URLCrawlErrorscountsQuery (Maybe URLCrawlErrorscountsQueryCategory) Source

The crawl error category. For example: serverError. If not specified, returns results for all categories.

uceqSiteURL :: Lens' URLCrawlErrorscountsQuery Text Source

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

uceqLatestCountsOnly :: Lens' URLCrawlErrorscountsQuery Bool Source

If true, returns only the latest crawl error counts.