gogol-apps-activity-0.0.1: Google Apps Activity SDK.

Copyright(c) 2015 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.AppsActivity.Activities.List

Contents

Description

Returns a list of activities visible to the current logged in user. Visible activities are determined by the visiblity settings of the object that was acted on, e.g. Drive files a user can see. An activity is a record of past events. Multiple events may be merged if they are similar. A request is scoped to activities from a given Google service using the source parameter.

See: Google Apps Activity API Reference for appsactivity.activities.list.

Synopsis

REST Resource

type ActivitiesListResource = "appsactivity" :> ("v1" :> ("activities" :> (QueryParam "drive.fileId" Text :> (QueryParam "drive.ancestorId" Text :> (QueryParam "groupingStrategy" ActivitiesListGroupingStrategy :> (QueryParam "userId" Text :> (QueryParam "source" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` ListActivitiesResponse)))))))))) Source

A resource alias for appsactivity.activities.list method which the ActivitiesList request conforms to.

Creating a Request

activitiesList :: ActivitiesList Source

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

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

data ActivitiesList Source

Returns a list of activities visible to the current logged in user. Visible activities are determined by the visiblity settings of the object that was acted on, e.g. Drive files a user can see. An activity is a record of past events. Multiple events may be merged if they are similar. A request is scoped to activities from a given Google service using the source parameter.

See: activitiesList smart constructor.

Request Lenses

alDriveFileId :: Lens' ActivitiesList (Maybe Text) Source

Identifies the Drive item to return activities for.

alDriveAncestorId :: Lens' ActivitiesList (Maybe Text) Source

Identifies the Drive folder containing the items for which to return activities.

alGroupingStrategy :: Lens' ActivitiesList ActivitiesListGroupingStrategy Source

Indicates the strategy to use when grouping singleEvents items in the associated combinedEvent object.

alUserId :: Lens' ActivitiesList Text Source

Indicates the user to return activity for. Use the special value me to indicate the currently authenticated user.

alSource :: Lens' ActivitiesList (Maybe Text) Source

The Google service from which to return activities. Possible values of source are: - drive.google.com

alPageToken :: Lens' ActivitiesList (Maybe Text) Source

A token to retrieve a specific page of results.

alPageSize :: Lens' ActivitiesList Int32 Source

The maximum number of events to return on a page. The response includes a continuation token if there are more events.