script_projects_get_content
Retrieve the content of a Google Apps Script project by specifying the script ID, version number, and optional fields. Integrates with the Google Apps Script API to manage project details.
Instructions
Get the content of a Google Apps Script project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| access_token | No | OAuth access token. | |
| alt | No | Data format for response. | |
| fields | No | Selector specifying which fields to include in a partial response. | |
| key | No | API key for the project. | |
| prettyPrint | No | Returns response with indentations and line breaks. | |
| scriptId | Yes | The ID of the script project to retrieve content for. | |
| versionNumber | No | The version number of the script project. |
Input Schema (JSON Schema)
{
"properties": {
"access_token": {
"description": "OAuth access token.",
"type": "string"
},
"alt": {
"description": "Data format for response.",
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"type": "string"
},
"key": {
"description": "API key for the project.",
"type": "string"
},
"prettyPrint": {
"description": "Returns response with indentations and line breaks.",
"type": "string"
},
"scriptId": {
"description": "The ID of the script project to retrieve content for.",
"type": "string"
},
"versionNumber": {
"description": "The version number of the script project.",
"type": "string"
}
},
"required": [
"scriptId"
],
"type": "object"
}