diff --git a/docs/references/api.md b/docs/references/api.md index 55f955096..2c45622c8 100644 --- a/docs/references/api.md +++ b/docs/references/api.md @@ -694,6 +694,23 @@ Curl example to activate the cloudron: curl -X POST -H "Content-Type: application/json" -d '{"username": "girish", "password":"MySecret123#", "email": "girish@cloudron.io" }' https://my.cloudron.info/api/v1/cloudron/activate ``` +### Check for updates + +POST `/api/v1/check_for_updates` admin + +Checks for any available updates for the Cloudron and the installed apps. + +Response (200): +``` +{ + box: null|, // object containing information about update + apps: { // update info (if any) for each app + : , + ... + } +} +``` + ### Update the Cloudron POST `/api/v1/cloudron/update` admin