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 |
Gets metadata about a Web Document. This method can _only_ be used to query URLs that were previously seen in successful Indexing API notifications. Includes the latest `UrlNotification` received via this API.
See: Indexing API Reference for indexing.urlNotifications.getMetadata
.
Synopsis
- type URLNotificationsGetMetadataResource = "v3" :> ("urlNotifications" :> ("metadata" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "url" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] URLNotificationMetadata)))))))))
- urlNotificationsGetMetadata :: URLNotificationsGetMetadata
- data URLNotificationsGetMetadata
- ungmXgafv :: Lens' URLNotificationsGetMetadata (Maybe Xgafv)
- ungmUploadProtocol :: Lens' URLNotificationsGetMetadata (Maybe Text)
- ungmAccessToken :: Lens' URLNotificationsGetMetadata (Maybe Text)
- ungmURL :: Lens' URLNotificationsGetMetadata (Maybe Text)
- ungmUploadType :: Lens' URLNotificationsGetMetadata (Maybe Text)
- ungmCallback :: Lens' URLNotificationsGetMetadata (Maybe Text)
REST Resource
type URLNotificationsGetMetadataResource = "v3" :> ("urlNotifications" :> ("metadata" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "url" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] URLNotificationMetadata))))))))) Source #
A resource alias for indexing.urlNotifications.getMetadata
method which the
URLNotificationsGetMetadata
request conforms to.
Creating a Request
urlNotificationsGetMetadata :: URLNotificationsGetMetadata Source #
Creates a value of URLNotificationsGetMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data URLNotificationsGetMetadata Source #
Gets metadata about a Web Document. This method can _only_ be used to query URLs that were previously seen in successful Indexing API notifications. Includes the latest `UrlNotification` received via this API.
See: urlNotificationsGetMetadata
smart constructor.
Instances
Request Lenses
ungmUploadProtocol :: Lens' URLNotificationsGetMetadata (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ungmAccessToken :: Lens' URLNotificationsGetMetadata (Maybe Text) Source #
OAuth access token.
ungmUploadType :: Lens' URLNotificationsGetMetadata (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ungmCallback :: Lens' URLNotificationsGetMetadata (Maybe Text) Source #
JSONP