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 |
Attempt verification of a website or domain.
See: Google Site Verification API Reference for siteVerification.webResource.insert
.
Synopsis
- type WebResourceInsertResource = "siteVerification" :> ("v1" :> ("webResource" :> (QueryParam "verificationMethod" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SiteVerificationWebResourceResource :> Post '[JSON] SiteVerificationWebResourceResource)))))
- webResourceInsert :: SiteVerificationWebResourceResource -> Text -> WebResourceInsert
- data WebResourceInsert
- wriPayload :: Lens' WebResourceInsert SiteVerificationWebResourceResource
- wriVerificationMethod :: Lens' WebResourceInsert Text
REST Resource
type WebResourceInsertResource = "siteVerification" :> ("v1" :> ("webResource" :> (QueryParam "verificationMethod" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SiteVerificationWebResourceResource :> Post '[JSON] SiteVerificationWebResourceResource))))) Source #
A resource alias for siteVerification.webResource.insert
method which the
WebResourceInsert
request conforms to.
Creating a Request
Creates a value of WebResourceInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data WebResourceInsert Source #
Attempt verification of a website or domain.
See: webResourceInsert
smart constructor.
Instances
Request Lenses
wriPayload :: Lens' WebResourceInsert SiteVerificationWebResourceResource Source #
Multipart request metadata.
wriVerificationMethod :: Lens' WebResourceInsert Text Source #
The method to use for verifying a site or domain.