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 details about crawl errors for a site's sample URL.
See: Webmaster Tools API Reference for webmasters.urlcrawlerrorssamples.get
.
- type URLCrawlErrorsSamplesGetResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("urlCrawlErrorsSamples" :> (Capture "url" Text :> (QueryParam "category" URLCrawlErrorsSamplesGetCategory :> (QueryParam "platform" URLCrawlErrorsSamplesGetPlatform :> (QueryParam "alt" AltJSON :> Get `[JSON]` URLCrawlErrorsSample))))))))
- urlCrawlErrorsSamplesGet :: URLCrawlErrorsSamplesGetPlatform -> URLCrawlErrorsSamplesGetCategory -> Text -> Text -> URLCrawlErrorsSamplesGet
- data URLCrawlErrorsSamplesGet
- ucesgPlatform :: Lens' URLCrawlErrorsSamplesGet URLCrawlErrorsSamplesGetPlatform
- ucesgCategory :: Lens' URLCrawlErrorsSamplesGet URLCrawlErrorsSamplesGetCategory
- ucesgSiteURL :: Lens' URLCrawlErrorsSamplesGet Text
- ucesgURL :: Lens' URLCrawlErrorsSamplesGet Text
REST Resource
type URLCrawlErrorsSamplesGetResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("urlCrawlErrorsSamples" :> (Capture "url" Text :> (QueryParam "category" URLCrawlErrorsSamplesGetCategory :> (QueryParam "platform" URLCrawlErrorsSamplesGetPlatform :> (QueryParam "alt" AltJSON :> Get `[JSON]` URLCrawlErrorsSample)))))))) Source
A resource alias for webmasters.urlcrawlerrorssamples.get
method which the
URLCrawlErrorsSamplesGet
request conforms to.
Creating a Request
urlCrawlErrorsSamplesGet Source
:: URLCrawlErrorsSamplesGetPlatform | |
-> URLCrawlErrorsSamplesGetCategory | |
-> Text | |
-> Text | |
-> URLCrawlErrorsSamplesGet |
Creates a value of URLCrawlErrorsSamplesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data URLCrawlErrorsSamplesGet Source
Retrieves details about crawl errors for a site's sample URL.
See: urlCrawlErrorsSamplesGet
smart constructor.
Request Lenses
ucesgPlatform :: Lens' URLCrawlErrorsSamplesGet URLCrawlErrorsSamplesGetPlatform Source
The user agent type (platform) that made the request. For example: web
ucesgCategory :: Lens' URLCrawlErrorsSamplesGet URLCrawlErrorsSamplesGetCategory Source
The crawl error category. For example: authPermissions
ucesgSiteURL :: Lens' URLCrawlErrorsSamplesGet Text Source
The site's URL, including protocol. For example: http://www.example.com/
ucesgURL :: Lens' URLCrawlErrorsSamplesGet Text Source
The relative path (without the site) of the sample URL. It must be one of the URLs returned by list(). For example, for the URL https://www.example.com/pagename on the site https://www.example.com/, the url value is pagename