Method: projects.get Stay organized with collections Save and categorize content based on your preferences.
Page Summary
Gets a script project's metadata using a GET request to
https://script.googleapis.com/v1/projects/{scriptId}.Requires a
scriptIdpath parameter, which is the script project's Drive ID.The request body must be empty.
The response body contains a Project instance if successful.
Requires one of the specified OAuth scopes for authorization.
Gets a script project's metadata.
HTTP request
GET https://script.googleapis.com/v1/projects/{scriptId}
The URL usesgRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
scriptId |
The script project's Drive ID. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance ofProject.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/script.projectshttps://www.googleapis.com/auth/script.projects.readonly
For more information, see theOAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.