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 |
Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if sitemapIndex is specified in the request).
See: Search Console API Reference for webmasters.sitemaps.list
.
Synopsis
- type SitemapsListResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("sitemaps" :> (QueryParam "sitemapIndex" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SitemapsListResponse))))))
- sitemapsList :: Text -> SitemapsList
- data SitemapsList
- slSiteURL :: Lens' SitemapsList Text
- slSitemapIndex :: Lens' SitemapsList (Maybe Text)
REST Resource
type SitemapsListResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("sitemaps" :> (QueryParam "sitemapIndex" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SitemapsListResponse)))))) Source #
A resource alias for webmasters.sitemaps.list
method which the
SitemapsList
request conforms to.
Creating a Request
Creates a value of SitemapsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SitemapsList Source #
Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if sitemapIndex is specified in the request).
See: sitemapsList
smart constructor.
Instances
Request Lenses
slSiteURL :: Lens' SitemapsList Text Source #
The site's URL, including protocol. For example: http://www.example.com/
slSitemapIndex :: Lens' SitemapsList (Maybe Text) Source #
A URL of a site's sitemap index. For example: http://www.example.com/sitemapindex.xml