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 |
List the versions of a script project.
See: Apps Script API Reference for script.projects.versions.list
.
Synopsis
- type ProjectsVersionsListResource = "v1" :> ("projects" :> (Capture "scriptId" Text :> ("versions" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListVersionsResponse)))))))))))
- projectsVersionsList :: Text -> ProjectsVersionsList
- data ProjectsVersionsList
- pvlXgafv :: Lens' ProjectsVersionsList (Maybe Xgafv)
- pvlUploadProtocol :: Lens' ProjectsVersionsList (Maybe Text)
- pvlAccessToken :: Lens' ProjectsVersionsList (Maybe Text)
- pvlUploadType :: Lens' ProjectsVersionsList (Maybe Text)
- pvlScriptId :: Lens' ProjectsVersionsList Text
- pvlPageToken :: Lens' ProjectsVersionsList (Maybe Text)
- pvlPageSize :: Lens' ProjectsVersionsList (Maybe Int32)
- pvlCallback :: Lens' ProjectsVersionsList (Maybe Text)
REST Resource
type ProjectsVersionsListResource = "v1" :> ("projects" :> (Capture "scriptId" Text :> ("versions" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListVersionsResponse))))))))))) Source #
A resource alias for script.projects.versions.list
method which the
ProjectsVersionsList
request conforms to.
Creating a Request
Creates a value of ProjectsVersionsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsVersionsList Source #
List the versions of a script project.
See: projectsVersionsList
smart constructor.
Instances
Request Lenses
pvlUploadProtocol :: Lens' ProjectsVersionsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pvlAccessToken :: Lens' ProjectsVersionsList (Maybe Text) Source #
OAuth access token.
pvlUploadType :: Lens' ProjectsVersionsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pvlScriptId :: Lens' ProjectsVersionsList Text Source #
The script project's Drive ID.
pvlPageToken :: Lens' ProjectsVersionsList (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 a previous response.
pvlPageSize :: Lens' ProjectsVersionsList (Maybe Int32) Source #
The maximum number of versions on each returned page. Defaults to 50.
pvlCallback :: Lens' ProjectsVersionsList (Maybe Text) Source #
JSONP