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 |
Fetches the item whose viewUrl exactly matches that of the URL provided in the request.
See: Cloud Search API Reference for cloudsearch.debug.datasources.items.searchByViewUrl
.
Synopsis
- type DebugDatasourcesItemsSearchByViewURLResource = "v1" :> ("debug" :> (Capture "name" Text :> ("items:searchByViewUrl" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SearchItemsByViewURLRequest :> Post '[JSON] SearchItemsByViewURLResponse))))))))))
- debugDatasourcesItemsSearchByViewURL :: SearchItemsByViewURLRequest -> Text -> DebugDatasourcesItemsSearchByViewURL
- data DebugDatasourcesItemsSearchByViewURL
- ddisbvuXgafv :: Lens' DebugDatasourcesItemsSearchByViewURL (Maybe Xgafv)
- ddisbvuUploadProtocol :: Lens' DebugDatasourcesItemsSearchByViewURL (Maybe Text)
- ddisbvuAccessToken :: Lens' DebugDatasourcesItemsSearchByViewURL (Maybe Text)
- ddisbvuUploadType :: Lens' DebugDatasourcesItemsSearchByViewURL (Maybe Text)
- ddisbvuPayload :: Lens' DebugDatasourcesItemsSearchByViewURL SearchItemsByViewURLRequest
- ddisbvuName :: Lens' DebugDatasourcesItemsSearchByViewURL Text
- ddisbvuCallback :: Lens' DebugDatasourcesItemsSearchByViewURL (Maybe Text)
REST Resource
type DebugDatasourcesItemsSearchByViewURLResource = "v1" :> ("debug" :> (Capture "name" Text :> ("items:searchByViewUrl" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SearchItemsByViewURLRequest :> Post '[JSON] SearchItemsByViewURLResponse)))))))))) Source #
A resource alias for cloudsearch.debug.datasources.items.searchByViewUrl
method which the
DebugDatasourcesItemsSearchByViewURL
request conforms to.
Creating a Request
debugDatasourcesItemsSearchByViewURL Source #
Creates a value of DebugDatasourcesItemsSearchByViewURL
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DebugDatasourcesItemsSearchByViewURL Source #
Fetches the item whose viewUrl exactly matches that of the URL provided in the request.
See: debugDatasourcesItemsSearchByViewURL
smart constructor.
Instances
Request Lenses
ddisbvuXgafv :: Lens' DebugDatasourcesItemsSearchByViewURL (Maybe Xgafv) Source #
V1 error format.
ddisbvuUploadProtocol :: Lens' DebugDatasourcesItemsSearchByViewURL (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ddisbvuAccessToken :: Lens' DebugDatasourcesItemsSearchByViewURL (Maybe Text) Source #
OAuth access token.
ddisbvuUploadType :: Lens' DebugDatasourcesItemsSearchByViewURL (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ddisbvuPayload :: Lens' DebugDatasourcesItemsSearchByViewURL SearchItemsByViewURLRequest Source #
Multipart request metadata.
ddisbvuName :: Lens' DebugDatasourcesItemsSearchByViewURL Text Source #
Source name, format: datasources/{source_id}