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 |
Lists a file's revisions.
See: Drive API Reference for drive.revisions.list
.
Synopsis
- type RevisionsListResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("revisions" :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] RevisionList)))))))
- revisionsList :: Text -> RevisionsList
- data RevisionsList
- rllPageToken :: Lens' RevisionsList (Maybe Text)
- rllFileId :: Lens' RevisionsList Text
- rllPageSize :: Lens' RevisionsList Int32
REST Resource
type RevisionsListResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("revisions" :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] RevisionList))))))) Source #
A resource alias for drive.revisions.list
method which the
RevisionsList
request conforms to.
Creating a Request
Creates a value of RevisionsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RevisionsList Source #
Lists a file's revisions.
See: revisionsList
smart constructor.
Instances
Request Lenses
rllPageToken :: Lens' RevisionsList (Maybe Text) Source #
The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.
rllPageSize :: Lens' RevisionsList Int32 Source #
The maximum number of revisions to return per page.