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 |
Submits a sitemap for a site.
See: Search Console API Reference for webmasters.sitemaps.submit
.
Synopsis
- type SitemapsSubmitResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("sitemaps" :> (Capture "feedpath" Text :> (QueryParam "alt" AltJSON :> Put '[JSON] ()))))))
- sitemapsSubmit :: Text -> Text -> SitemapsSubmit
- data SitemapsSubmit
- ssFeedpath :: Lens' SitemapsSubmit Text
- ssSiteURL :: Lens' SitemapsSubmit Text
REST Resource
type SitemapsSubmitResource = "webmasters" :> ("v3" :> ("sites" :> (Capture "siteUrl" Text :> ("sitemaps" :> (Capture "feedpath" Text :> (QueryParam "alt" AltJSON :> Put '[JSON] ())))))) Source #
A resource alias for webmasters.sitemaps.submit
method which the
SitemapsSubmit
request conforms to.
Creating a Request
Creates a value of SitemapsSubmit
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SitemapsSubmit Source #
Submits a sitemap for a site.
See: sitemapsSubmit
smart constructor.
Instances
Request Lenses
ssFeedpath :: Lens' SitemapsSubmit Text Source #
The URL of the sitemap to add. For example: http://www.example.com/sitemap.xml