Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to automate Publish>Deploy as API executable... #32

Open
lastobelus opened this issue Feb 14, 2016 · 12 comments
Open

Is there a way to automate Publish>Deploy as API executable... #32

lastobelus opened this issue Feb 14, 2016 · 12 comments

Comments

@lastobelus
Copy link

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 run Publish>Deploy as API executable..., and name the version.

Is there any way to automate this as part of pushing the code up?

@oshliaer
Copy link

Is there an API for this?

@peterherrmann
Copy link

There was but it was deprecated. There is no API for this currently.

@hess-g
Copy link
Contributor

hess-g commented Mar 7, 2016

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).

@peterherrmann
Copy link

You're correct of course. My comment referenced Publish>Deploy as web app... and the OP asked about Publish>Deploy as API executable....

@lastobelus
Copy link
Author

Is this still true? Constantly having to navigate the Publish>Deploy as API executable... interface really makes working on google app scripts a drag.

@gunar
Copy link

gunar commented Oct 24, 2016

Related issue in Google Code: API to deploy google apps script as WebApp. But no answer from Google yet.

@shabegom
Copy link

shabegom commented Oct 25, 2016

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
        },

@asadmkhan
Copy link

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?

@oshliaer
Copy link

Hi @asadmkhan

It's not possible.

@lricoy
Copy link
Collaborator

lricoy commented Nov 29, 2017

HI. Any updates on this? I've followed the links but it seems everything is still on the same page

@lricoy lricoy changed the title Question: is there a way to automate Publish>Deploy as API executable... Is there a way to automate Publish>Deploy as API executable... Nov 29, 2017
@lricoy
Copy link
Collaborator

lricoy commented Jan 7, 2018

Closing as it looks idle. Please reopen if interested again.

@lricoy lricoy closed this as completed Jan 7, 2018
@gunar
Copy link

gunar commented Jan 8, 2018

@lricoy yes, we are all very much interested still!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants