ASTRO轻应用 ASTROZERO-根据object_id新增trigger:请求示例

时间:2024-07-19 11:32:41

请求示例

根据object_id新增trigger。
POST https://AstroZero 域名 /u-route/baas/metadata/v1.0/Object/cust000000aKtFZpERvc/Trigger
{
    "name": "Trigger_01",
    "label": "Trigger 01",
    "description": null,
    "script": "string",
    "jscode": "Hello, world;rn",
    "active": true,
    "event": "BeforeInsert"
}
support.huaweicloud.com/api-astrozero/astrozero_api_0036.html