Read All Modules
Endpoint: GET /api/v1/modules
Prerequisites: The caller does not have to provide anything.
Authorization: API key (via the X-API-KEY header)
Input parameters:
| Field name | Description | Format |
|---|---|---|
| offset | Number of items to skip for pagination | Integer |
| limit | Maximum number of items to return | Integer |
| bookmarked | Filter by bookmarked modules | Boolean |
| projectId | Filter modules by project ID | UUID |
| module_type | Filter by module type | String |
| exclude_module_type | Exclude modules of a specific type | String |
Output parameters
| Field name | Description | Format |
|---|---|---|
| elements | Container - see below | Elements |
| total | Number of elements | Integer |
Elements:
| Field name | Description | Format |
|---|---|---|
| id | Module id | UUID |
| name | Module name | String |
| modifiedAt | Date-time module was modified | Instant |
| modifiedBy | User who modified the module | String |
| description | Description text of module | String |
| bookmarked | Is the module bookmarked? | Boolean |
| createdAt | Date-time module was created | Instant |
| additionalInfo | Container - see below | AdditionalInfo |
AdditionalInfo:
| Field name | Description | Format |
|---|---|---|
| numOfAssets | Number of assets in module | Integer |
| numOfProjects | Number of projects containing module | Integer |
| type | Module type | String |
Example:
{
"elements": [
{
"id": "2f2fe37f-01f2-4ffb-9a97-3fd7d60ada5e",
"name": "demo-account",
"modifiedAt": "2021-07-18T12:54:22.139933Z",
"modifiedBy": "OpenLegacy",
"description": "Demo Account",
"bookmarked": false,
"createdAt": "2021-07-18T12:54:22.139933Z",
"additionalInfo": {
"numOfAssets": 1,
"numOfProjects": 1,
"type": "oracle_db"
}
}
],
"total": 1
}
See also read all modules in the Public APIs - backend reference.