Create¶
POST /api/v1/self_built_checker/create
Overview¶
Create a self-built inspection
Body Request Parameters¶
Parameter Name | Type | Required | Description |
---|---|---|---|
monitorUUID | string | Alert strategy UUID Allowed to be an empty string: True |
|
alertPolicyUUIDs | array | Alert strategy UUID list Allowed to be empty: False |
|
refKey | string | Y | Custom identifier for the self-built inspection (cannot be changed after creation) Example: ref-xxx Allowed to be empty: False |
title | string | Y | Associated function title Example: ref-xxx Allowed to be empty: False |
refFuncInfo | json | Y | Associated function configuration information Allowed to be empty: False |
refFuncInfo.funcId | string | Y | Associated function ID Example: ref-xxx Allowed to be empty: False |
refFuncInfo.description | string | Associated function description (i.e., function documentation) Example: ref-xxx Allowed to be empty: False Allowed to be an empty string: True |
|
refFuncInfo.definition | string | Associated function definition Example: ref-xxx Allowed to be empty: False Allowed to be an empty string: True |
|
refFuncInfo.category | string | Associated function category Example: ref-xxx Allowed to be empty: False |
|
refFuncInfo.args | array | Associated function argument list Example: ref-xxx Allowed to be empty: False |
|
refFuncInfo.kwargs | json | Associated function argument details Example: ref-xxx Allowed to be empty: False |
|
isDisabled | boolean | Whether it is disabled Example: ref-xxx Allowed to be empty: False |
Additional Parameter Notes¶
None