How to update an application from the Cloudron API?
-
Hi guys,
I am trying to launch an application update through the Cloudron API, and it returns the following error:
{ "status": "Bad Request", "message": "appStoreId or manifest is required" }
How should the appStoreId be defined to generate the update?
I have tried to launch individual backups of the application with the same API Token and it has worked without problems.
-
@martinkbs said in How to update an application from the Cloudron API?:
How should the appStoreId be defined to generate the update?
For apps installed via the app store, you have to set appStoreId. For this, pass
appStoreId
of the formid@newversion
. Internally, cloudron will download the manifest from appstore for the associated id and new version.For custom apps, you have to set the manifest. For the latter, just pass the new manifest in the
manifest
. -
Thanks @girish, but there must be something I'm forgetting.
I have tried to push a pending update of the FreeScout application (to version 1.9.0), and I have tried to pass the appStoreId as you say and I get the same error.
Is there any other parameter to take into account?
-
@martinkbs POST request arguments have to be send in the body in our API and not as query parameters.
-
-