Instance Modules
Update module code
Updates the module code to a specified branch. This endpoint is used to change the version or branch of an installed module. The module status will be set to 'updating' during this process. This is useful when you need to upgrade a module to a newer version or switch to a different feature branch.
Key Parameters:
- id: The ID of the instance containing the module
- moduleId: The ID of the module to update
- branch: The new branch to switch to (e.g., '16.0', '17.0') - typically corresponds to Odoo version
NOTE: The update process runs asynchronously and may take some time to complete depending on the module size.
post/instances/{id}/modules/{moduleId}
Request
- Base URL: https://api.cloudpepper.io
- URL: https://api.cloudpepper.io/instances/{id}/modules/{moduleId}
- Auth: HTTP bearer
Request body
Example request
{
"branch": "17.0"
}Response
Module update initiated successfully
string required
Example response
"ok"
Changes
No recorded changes to this operation across all 1 revision of this API.