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 |
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
.
- 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)))))))))
- urlCrawlErrorscountsQuery :: Text -> URLCrawlErrorscountsQuery
- data URLCrawlErrorscountsQuery
- uceqPlatform :: Lens' URLCrawlErrorscountsQuery (Maybe URLCrawlErrorscountsQueryPlatform)
- uceqCategory :: Lens' URLCrawlErrorscountsQuery (Maybe URLCrawlErrorscountsQueryCategory)
- uceqSiteURL :: Lens' URLCrawlErrorscountsQuery Text
- uceqLatestCountsOnly :: Lens' URLCrawlErrorscountsQuery Bool
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:
data URLCrawlErrorscountsQuery Source
Retrieves a time series of the number of URL crawl errors per error category and platform.
See: urlCrawlErrorscountsQuery
smart constructor.
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.