ASTRO轻应用 ASTROZERO-按条件更新数据:请求示例

时间:2024-11-21 14:04:00

请求示例

更新“TestProject__testForObject__ CS T”对象中,满足name字段值为“newName”的记录,更新name字段值为“name3”。
PUT https://AstroZero 域名 /u-route/baas/data/v1.0/bobject/TestProject__testForObject__CST
 
{
    "setValue": {
        "name": "name3"
    },
    "condition": {
        "conjunction": "AND",
        "conditions": [
            {
                "field": "name",
                "operator": "eq",
                "value": "newName"
            }
        ]
    }
}
support.huaweicloud.com/api-astrozero/astrozero_api_0023.html