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 |
Retrieves information about a specific sitemap.
See: Search Console API Reference for webmasters.sitemaps.get
.
Synopsis
- type SitemapsGetResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("sitemaps" :> (Capture "feedpath" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] WmxSitemap))))))
- sitemapsGet :: Text -> Text -> SitemapsGet
- data SitemapsGet
- sgFeedpath :: Lens' SitemapsGet Text
- sgSiteURL :: Lens' SitemapsGet Text
REST Resource
type SitemapsGetResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("sitemaps" :> (Capture "feedpath" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] WmxSitemap)))))) Source #
A resource alias for webmasters.sitemaps.get
method which the
SitemapsGet
request conforms to.
Creating a Request
Creates a value of SitemapsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SitemapsGet Source #
Retrieves information about a specific sitemap.
See: sitemapsGet
smart constructor.
Instances
Request Lenses
sgFeedpath :: Lens' SitemapsGet Text Source #
The URL of the actual sitemap. For example: http://www.example.com/sitemap.xml