create module

The create module API sends a POST request to create a module.

Prerequisites: The caller must supply the id for the requested module.

Authorization: API key

Input parameters:

Field nameDescriptionFormat
idModule idUUID

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-account",
    "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
}
Language
Credentials
Header
Click Try It! to start a request and see the response here!