Ok got it, thanks @BrutalBirdie ! No problem with doc being overhauled, I understand it's a WIP; just wanted to make sure it's not me that can't properly RTFM
livingstonlarus
Posts
-
Install apps using the API? -
Install apps using the API?@girish got it, thank you! But this question was not about the CLI but about the API.
@robi thanks! But I don't see where this thread helps with installing apps using the API?
I found something in this other post:
https://forum.cloudron.io/topic/9052/call-to-api-app-install-failing
and I could do this:
curl -kX POST -H "Content-Type: application/json" https://$CLOUDRON_DOMAIN/api/v1/apps/install?access_token=$CLOUDRON_TOKEN -d '{"appStoreId": "org.wordpress.cloudronapp","subdomain": "blog","domain": "$TARGET_DOMAIN","accessRestriction": {"users":[],"groups":[]}}'
It works.
But why I don't find all endpoints, like apps/install at https://docs.cloudron.io/api.html ? Is it not documented?
-
CLI: Command not foundGot it, thanks!
-
CLI: Command not foundHello,
I followed installation procedure here: https://www.npmjs.com/package/cloudron
But systems says command not found:
Is there an additional step, like adding a binary to my path?
Thanks!
-
Install apps using the API?Hello Cloudron Team and Users!
I have had a look at https://docs.cloudron.io/api.html
I read that "All of the functionality in the Cloudron Dashboard is available through the API".
But I could not find how to install an app?
I looked at https://www.npmjs.com/package/cloudron and https://blog.cloudron.io/using-the-cloudron-cli-tool-part-1/ and could find the install command.
But I don't want to use the CLI, I want to use the API, to be able to programmatically install new apps.
Is this available?
Thanks!