gogol-factchecktools-0.5.0: Google Fact Check Tools SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.FactCheckTools.Pages.List

Contents

Description

List the `ClaimReview` markup pages for a specific URL or for an organization.

See: Fact Check Tools API Reference for factchecktools.pages.list.

Synopsis

REST Resource

type PagesListResource = "v1alpha1" :> ("pages" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "offset" (Textual Int32) :> (QueryParam "access_token" Text :> (QueryParam "url" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "organization" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse)))))))))))) Source #

A resource alias for factchecktools.pages.list method which the PagesList request conforms to.

Creating a Request

pagesList :: PagesList Source #

Creates a value of PagesList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data PagesList Source #

List the `ClaimReview` markup pages for a specific URL or for an organization.

See: pagesList smart constructor.

Instances
Eq PagesList Source # 
Instance details

Defined in Network.Google.Resource.FactCheckTools.Pages.List

Data PagesList Source # 
Instance details

Defined in Network.Google.Resource.FactCheckTools.Pages.List

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PagesList -> c PagesList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PagesList #

toConstr :: PagesList -> Constr #

dataTypeOf :: PagesList -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PagesList) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PagesList) #

gmapT :: (forall b. Data b => b -> b) -> PagesList -> PagesList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PagesList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PagesList -> r #

gmapQ :: (forall d. Data d => d -> u) -> PagesList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PagesList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PagesList -> m PagesList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PagesList -> m PagesList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PagesList -> m PagesList #

Show PagesList Source # 
Instance details

Defined in Network.Google.Resource.FactCheckTools.Pages.List

Generic PagesList Source # 
Instance details

Defined in Network.Google.Resource.FactCheckTools.Pages.List

Associated Types

type Rep PagesList :: Type -> Type #

GoogleRequest PagesList Source # 
Instance details

Defined in Network.Google.Resource.FactCheckTools.Pages.List

Associated Types

type Rs PagesList :: Type #

type Scopes PagesList :: [Symbol] #

type Rep PagesList Source # 
Instance details

Defined in Network.Google.Resource.FactCheckTools.Pages.List

type Scopes PagesList Source # 
Instance details

Defined in Network.Google.Resource.FactCheckTools.Pages.List

type Scopes PagesList = "https://www.googleapis.com/auth/userinfo.email" ': ([] :: [Symbol])
type Rs PagesList Source # 
Instance details

Defined in Network.Google.Resource.FactCheckTools.Pages.List

Request Lenses

plXgafv :: Lens' PagesList (Maybe Xgafv) Source #

V1 error format.

plUploadProtocol :: Lens' PagesList (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

plOffSet :: Lens' PagesList (Maybe Int32) Source #

An integer that specifies the current offset (that is, starting result location) in search results. This field is only considered if `page_token` is unset, and if the request is not for a specific URL. For example, 0 means to return results starting from the first matching result, and 10 means to return from the 11th result.

plAccessToken :: Lens' PagesList (Maybe Text) Source #

OAuth access token.

plURL :: Lens' PagesList (Maybe Text) Source #

The URL from which to get `ClaimReview` markup. There will be at most one result. If markup is associated with a more canonical version of the URL provided, we will return that URL instead. Cannot be specified along with an organization.

plUploadType :: Lens' PagesList (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

plPageToken :: Lens' PagesList (Maybe Text) Source #

The pagination token. You may provide the `next_page_token` returned from a previous List request, if any, in order to get the next page. All other fields must have the same values as in the previous request.

plOrganization :: Lens' PagesList (Maybe Text) Source #

The organization for which we want to fetch markups for. For instance, "site.com". Cannot be specified along with an URL.

plPageSize :: Lens' PagesList (Maybe Int32) Source #

The pagination size. We will return up to that many results. Defaults to 10 if not set. Has no effect if a URL is requested.