[SOLVED] REST API for publishing my game?

I am automating the build script, which will download the app and obfuscating, then publishing it.
but turns out the download api do not including “publish” function? so I need to “Publish” game in the web IDE everytime, and then execute my automation script?

When you talk about ‘publish’, what do you mean? Self hosting? Pushing a build onto the PlayCanvas servers?

sorry for the ambiguous, I mean “self hosting”.

This is the API you want: https://developer.playcanvas.com/en/user-manual/api/app-download/

When the job is finished, it gives you an URL to download a zip.

okay thanks! I already made an script using this api. thought it didn’t including the “publish” part.