A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/apps-script/api/reference/rest/v1/projects/updateContent below:

Method: projects.updateContent | Apps Script

Method: projects.updateContent

Stay organized with collections Save and categorize content based on your preferences.

Updates the content of the specified script project. This content is stored as the HEAD version, and is used when the script is executed as a trigger, in the script editor, in add-on preview mode, or as a web app or Apps Script API in development mode. This clears all the existing files in the project.

HTTP request

PUT https://script.googleapis.com/v1/projects/{scriptId}/content

The URL uses gRPC Transcoding syntax.

Path parameters Parameters scriptId

string

The script project's Drive ID.

Request body

The request body contains data with the following structure:

JSON representation
{
  "files": [
    {
      object (File)
    }
  ]
}
Fields files[]

object (File)

The list of script project files. One of the files is a script manifest; it must be named "appsscript", must have type of JSON, and include the manifest configurations for the project.

Response body

If successful, the response body contains an instance of Content.

Requires the following OAuth scope:

For more information, see the OAuth 2.0 Overview.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-10-31 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["Updates the content of a specified Apps Script project, replacing all existing files."],["Requires a `PUT` request to the specified endpoint with the script project's Drive ID."],["The request body must contain a list of files, including a JSON manifest named \"appsscript\"."],["A successful response returns the updated project content."],["Requires authorization with the `https://www.googleapis.com/auth/script.projects` scope."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4