Cloudpepper Instance Modules API
The Instance Modules API from Cloudpepper — 3 operation(s) for instance modules.
The Instance Modules API from Cloudpepper — 3 operation(s) for instance modules.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/cloudpepper-io:cloudpepper-io-instance-modules-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Cloudpepper Io Instance Modules API
version: 1.0.0
description: 'Operations tagged Instance Modules across 2 of this provider''s published API definitions: cloudpepper-io-openapi.json, cloudpepper-io-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /
- url: https://api.cloudpepper.io
description: Resolved from the published relative server "/" against the host serving the spec (https://api.cloudpepper.io/openapi.json)
security:
- bearerAuth: []
tags:
- name: Instance Modules
paths:
/instances/{id}/installed-modules:
parameters:
- name: id
in: path
description: Instance id
required: true
schema:
type: string
get:
tags:
- Instance Modules
summary: Get installed Odoo modules
description: 'Retrieves a list of all modules currently installed on the specified Odoo instance. This endpoint returns detailed information about both standard and custom modules, including their status, version, and installation state. This is useful for auditing your instance, verifying module installations, and planning upgrades.
**Key Parameters:**
- `id`: The unique identifier of the instance whose installed modules you want to check'
responses:
'200':
description: Installed modules retrieved successfully
content:
application/json:
schema:
type: object
'404':
description: Instance not found
operationId: getInstancesByIdInstalledModules
x-operation-id-source: derived
servers:
- url: /
/instances/{id}/modules:
parameters:
- name: id
in: path
description: Instance id
required: true
schema:
type: string
get:
tags:
- Instance Modules
summary: List instance modules
description: 'Retrieves all addon modules (repositories) configured for the specified Odoo instance. This returns the same information displayed in the Addons tab of the instance interface, including Git repositories, Enterprise modules, and uploaded custom modules. This is useful for auditing which addons are connected to an instance, checking their versions and branches, or automating module management workflows.
**Key Parameters:**
- `id`: The unique identifier of the instance whose installed modules you want to check
**NOTE:**
- This endpoint returns module repository information, not individual Odoo modules. To see which Odoo modules are actually installed and enabled, use the `/instances/{id}/installed-modules` endpoint instead.
- "dirs": "*" means all the directories in that repo were added.'
operationId: app_instance_getmodules
responses:
'200':
description: Modules retrieved successfully
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Module'
example:
- id: 550e8400-e29b-41d4-a716-446655440000
repo: git@github.com:odoo/enterprise.git
branch: '17.0'
dirs: null
- id: 7f8e9d0c-1a2b-3c4d-5e6f-7a8b9c0d1e2f
repo: https://github.com/OCA/web.git
branch: '17.0'
dirs:
- web_responsive
- web_timeline
- id: 9a8b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
repo: https://github.com/odoomates/odooapps.git
branch: '17.0'
dirs: null
'403':
description: Insufficient permissions to view instance modules
'404':
description: Instance not found
security:
- bearerAuth: []
post:
tags:
- Instance Modules
summary: Add instance module
description: 'Adds a new module to an Odoo instance. This is a Git repository module. The module will be installed on the specified instance. This endpoint allows you to extend your Odoo instance with custom or third-party modules. The installation process is managed asynchronously, and you can track the module status within the UI.
**Key Parameters:**
- `id`: Instance id to which you want to add the module.
- `repo`: Repository URL or identifier for the module (e.g., ''https://github.com/OCA/web.git'')
- `branch`: Branch name of the repository to use (e.g., ''16.0'', ''17.0'')
- `type`: Module type (''git'' or ''file'') - defaults to ''git'' if not specified
- `init`: Optional module name to initialize if different from repository name
NOTE: All pre-fill values are examples and should be replaced with actual data. You can leave optional fields empty if you don''t need them.'
requestBody:
content:
application/json:
schema:
type: object
properties:
repo:
type: string
description: Repository URL or identifier for the module
example: https://github.com/OCA/web.git
branch:
type: string
description: Branch name of the repository to use
example: '16.0'
type:
type: string
description: Module type (git or file)
enum:
- git
- file
default: git
example: git
init:
type: string
description: Module name to initialize (if different from repository name)
example: web_enterprise
required:
- repo
- branch
required: true
responses:
'200':
description: Module installation initiated successfully
content:
application/json:
schema:
$ref: '#/components/schemas/Module'
'404':
description: Instance not found
operationId: postInstancesByIdModules
x-operation-id-source: derived
servers:
- url: /
/instances/{id}/modules/{moduleId}:
parameters:
- name: id
in: path
description: Instance id
required: true
schema:
type: string
- name: moduleId
in: path
description: Module id
required: true
schema:
type: string
post:
tags:
- Instance Modules
summary: Update module code
description: '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.'
requestBody:
content:
application/json:
schema:
type: object
properties:
branch:
type: string
description: New branch to switch the module to
example: '17.0'
required:
- branch
required: true
responses:
'200':
description: Module update initiated successfully
content:
application/json:
schema:
type: string
example: ok
'404':
description: Instance or module not found
operationId: postInstancesByIdModulesByModuleId
x-operation-id-source: derived
patch:
tags:
- Instance Modules
summary: Update module properties
description: 'Updates specific properties of an installed module. This endpoint allows changing settings such as auto-upgrade preferences or automatic installation of Python requirements without reinstalling the module. Changes are applied to the module configuration immediately.
**Key Parameters:**
- `id`: The ID of the instance containing the module
- `moduleId`: The ID of the module to update
- `auto_upgrade`: Boolean flag to enable/disable automatic upgrades for this module
- `autoRequirements`: Boolean flag to enable/disable automatic installation of Python requirements (`requirements.txt`) when the module is installed or updated. Requires the instance to be configured with an Odoo virtualenv; otherwise the flag is stored but has no effect.'
requestBody:
content:
application/json:
schema:
type: object
properties:
auto_upgrade:
type: boolean
description: Enable or disable automatic upgrades for this module
example: true
autoRequirements:
type: boolean
description: Enable or disable automatic installation of Python requirements (`requirements.txt`) on module install/update. When enabled, the API runs `pip install -r requirements.txt` inside the instance's Odoo virtualenv after fetching the module sources. Has no effect if the instance does not have an Odoo virtualenv configured.
example: true
required: true
responses:
'200':
description: Module properties updated successfully
content:
application/json:
schema:
type: string
example: ok
'404':
description: Instance or module not found
operationId: patchInstancesByIdModulesByModuleId
x-operation-id-source: derived
delete:
tags:
- Instance Modules
summary: Delete module
description: 'Removes a module from the Odoo instance. This will uninstall the module from Odoo and remove its files from the server. This action cannot be undone, so make sure you have a backup if needed. Module deletion is useful when you no longer need specific functionality or are replacing a module with an alternative solution.
**Key Parameters:**
- `id`: The ID of the instance containing the module
- `moduleId`: The ID of the module to update
NOTE: This action cannot be undone, and all data associated with the module will be permanently deleted.'
responses:
'200':
description: Module deletion initiated successfully
content:
application/json:
schema:
type: string
example: ok
'404':
description: Instance or module not found
operationId: deleteInstancesByIdModulesByModuleId
x-operation-id-source: derived
servers:
- url: /
components:
schemas:
Module:
type: object
properties:
id:
type: string
format: uuid
description: Unique identifier for the module repository
repo:
type: string
description: Repository URL or identifier
branch:
type: string
description: Branch name being used
dirs:
type:
- array
- 'null'
items:
type: string
description: Specific directories used from the repository; null or ["*"] means the whole repository
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
x-refined-from:
- cloudpepper-io-openapi.json
- cloudpepper-io-openapi.yml