Copyright | (c) 2015-2016 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 |
Marks the provided site's sample URL as fixed, and removes it from the samples list.
See: Search Console API Reference for webmasters.urlcrawlerrorssamples.markAsFixed
.
Synopsis
- type URLCrawlErrorsSamplesMarkAsFixedResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("urlCrawlErrorsSamples" :> (Capture "url" Text :> (QueryParam "category" URLCrawlErrorsSamplesMarkAsFixedCategory :> (QueryParam "platform" URLCrawlErrorsSamplesMarkAsFixedPlatform :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))))
- urlCrawlErrorsSamplesMarkAsFixed :: URLCrawlErrorsSamplesMarkAsFixedPlatform -> URLCrawlErrorsSamplesMarkAsFixedCategory -> Text -> Text -> URLCrawlErrorsSamplesMarkAsFixed
- data URLCrawlErrorsSamplesMarkAsFixed
- ucesmafPlatform :: Lens' URLCrawlErrorsSamplesMarkAsFixed URLCrawlErrorsSamplesMarkAsFixedPlatform
- ucesmafCategory :: Lens' URLCrawlErrorsSamplesMarkAsFixed URLCrawlErrorsSamplesMarkAsFixedCategory
- ucesmafSiteURL :: Lens' URLCrawlErrorsSamplesMarkAsFixed Text
- ucesmafURL :: Lens' URLCrawlErrorsSamplesMarkAsFixed Text
REST Resource
type URLCrawlErrorsSamplesMarkAsFixedResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("urlCrawlErrorsSamples" :> (Capture "url" Text :> (QueryParam "category" URLCrawlErrorsSamplesMarkAsFixedCategory :> (QueryParam "platform" URLCrawlErrorsSamplesMarkAsFixedPlatform :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))) Source #
A resource alias for webmasters.urlcrawlerrorssamples.markAsFixed
method which the
URLCrawlErrorsSamplesMarkAsFixed
request conforms to.
Creating a Request
urlCrawlErrorsSamplesMarkAsFixed Source #
:: URLCrawlErrorsSamplesMarkAsFixedPlatform | |
-> URLCrawlErrorsSamplesMarkAsFixedCategory | |
-> Text | |
-> Text | |
-> URLCrawlErrorsSamplesMarkAsFixed |
Creates a value of URLCrawlErrorsSamplesMarkAsFixed
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data URLCrawlErrorsSamplesMarkAsFixed Source #
Marks the provided site's sample URL as fixed, and removes it from the samples list.
See: urlCrawlErrorsSamplesMarkAsFixed
smart constructor.
Instances
Request Lenses
ucesmafPlatform :: Lens' URLCrawlErrorsSamplesMarkAsFixed URLCrawlErrorsSamplesMarkAsFixedPlatform Source #
The user agent type (platform) that made the request. For example: web
ucesmafCategory :: Lens' URLCrawlErrorsSamplesMarkAsFixed URLCrawlErrorsSamplesMarkAsFixedCategory Source #
The crawl error category. For example: authPermissions
ucesmafSiteURL :: Lens' URLCrawlErrorsSamplesMarkAsFixed Text Source #
The site's URL, including protocol. For example: http://www.example.com/
ucesmafURL :: Lens' URLCrawlErrorsSamplesMarkAsFixed 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