Open lastobelus opened 8 years ago
Is there an API for this?
There was but it was deprecated. There is no API for this currently.
Actually, that deprecated method doesn't relate to the API Executable.
Currently, there are no APIs for any of the functions that you need to perform in the script editor, such as publishing (web apps, add-ons, API executables).
You're correct of course. My comment referenced Publish>Deploy as web app...
and the OP asked about Publish>Deploy as API executable...
.
Is this still true? Constantly having to navigate the Publish>Deploy as API executable...
interface really makes working on google app scripts a drag.
Related issue in Google Code: API to deploy google apps script as WebApp. But no answer from Google yet.
Don't actually know if this is helpful for your use case but I have devMode: true
set and it allows the remote execution API to run the latest version of the script without republishing. It only does this for the developer, not users so is only good for testing.
script.scripts.run({
auth: auth,
resource: {
function: 'someFunction',
devMode: true
},
Hi !
@lastobelus @oshliaer @peterherrmann @hess-g @gunar @sbgood
I have a google sheet containing script, I want to execute this script programmatically for any user (public). Can I perform "Publish>Deploy as API executable" programmatically?
Hi @asadmkhan
It's not possible.
HI. Any updates on this? I've followed the links but it seems everything is still on the same page
Closing as it looks idle. Please reopen if interested again.
@lricoy yes, we are all very much interested still!
Currently when working on REST script execution targets, after running
gulp upload-latest --env dev
I have to go to the script project in a browser and runPublish>Deploy as API executable...
, and name the version.Is there any way to automate this as part of pushing the code up?