The module catalog and, for each module, whether it is selected, running, always-on, holds data, and who keeps it on
const url = 'https://example.com/v1/console/modules';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/console/modules \ --header 'Authorization: Bearer <token>'Returns the module catalog with, for each module, whether it is selected, running, always-on, holds data in this installation, and which modules require it, keep it on, or activate it.
Authorizations
Section titled “ Authorizations ”Responses
Section titled “ Responses ”OK
object
object
The active edition add-ons that run it although it may not be selected.
The engine cannot run without it; it cannot be deselected.
Its tables hold rows in this installation. A module that is not running keeps that data, but nothing acts on it.
The running modules that keep it on although it is not selected.
It runs on this node now (selected, required, or always on).
The administrator chose it.
The engine is restarting itself to apply the change.
Sessions this engine runs now. The restart that applies a change stops every one of them; each can be resumed.
Example generated
{ "modules": [ { "activated_by": [ "example" ], "always_on": true, "holds_data": true, "name": "example", "required_by": [ "example" ], "requires": [ "example" ], "running": true, "selected": true } ], "restarting": true, "running_sessions": 1}Bad request
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Unauthenticated
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Forbidden
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Not found
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Conflict / setup required
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}Rate limited
object
object
With code module_not_enabled: the namespace of the module this node does not run.
Example generated
{ "error": { "code": "example", "message": "example", "module": "example" }}