script_projects_versions_list
Retrieve and manage versions of a Google Apps Script project by specifying the script ID, page size, and pagination tokens for efficient version control and tracking.
Instructions
List the versions 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 request. | |
oauth_token | No | OAuth 2.0 token for the current user. | |
pageSize | No | The number of versions to return per page. | |
pageToken | No | The token for the next page of results. | |
prettyPrint | No | Returns response with indentations and line breaks. | |
scriptId | Yes | The ID of the script project. |
Input Schema (JSON Schema)
{
"properties": {
"access_token": {
"description": "OAuth access token.",
"type": "string"
},
"alt": {
"description": "Data format for response.",
"enum": [
"json"
],
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"type": "string"
},
"key": {
"description": "API key for the request.",
"type": "string"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"type": "string"
},
"pageSize": {
"description": "The number of versions to return per page.",
"type": "integer"
},
"pageToken": {
"description": "The token for the next page of results.",
"type": "string"
},
"prettyPrint": {
"description": "Returns response with indentations and line breaks.",
"type": "boolean"
},
"scriptId": {
"description": "The ID of the script project.",
"type": "string"
}
},
"required": [
"scriptId"
],
"type": "object"
}