Book a demo

← Documentation

Create Module

Endpoint: POST /api/v1/modules

Prerequisites: The caller must provide a module name and connector type.

Authorization: API key (via the X-API-KEY header)

Input parameters (request body):

Field nameDescriptionFormat
nameThe name of the moduleString
configConnector configuration (connectorName, connectorVersion)Object
typeThe connector type identifierString
profilesModule profilesMap
connectionRefConnection ID (pre-existing profiles)UUID

For request examples, see push module.

Output parameters

Field nameDescriptionFormat
moduleIdModule idUUID
moduleNameModule nameString
assetsPushedContainer - see belowAssetsPushed
testCasesCreatedNumber of test cases createdInteger
testCasesUpdatedNumber of test cases updatedInteger

AssetsPushed:

Field nameDescriptionFormat
assetIdAsset idUUID
pushedAssetNamePushed asset nameString
actualAssetNameActual asset nameString
testedWhether asset was testedBoolean

Example:

{
    "moduleId": "2f2fe37f-01f2-4ffb-9a97-3fd7d60ada5e",
    "moduleName": "demo-account123",
    "assetsPushed": [
        {
            "assetId": "910c622b-f562-4ed2-a25f-01b539adbbce",
            "pushedAssetName": "demo-get-account-by-id",
            "actualAssetName": "demo-get-account-by-id",
            "tested": false
        }
    ],
    "testCasesCreated": 0,
    "testCasesUpdated": 1
}

Read more

Tell us about yourself

You've been browsing the catalog. Leave your details to keep exploring.

Privacy policy