键值存储服务 KVS-扫描所有kv:请求示例

时间:2024-12-09 15:46:54

请求示例

扫描所有kv,扫描条件为分区键的值为user2

POST https://{endpoint}/v1/scan-kv

{
  "table_name" : "test-table-1",
  "filter_expression" : {
    "single_field_expr" : {
      "field" : "owner",
      "func" : "$eq",
      "value" : {
        "value" : "user-2"
      }
    }
  }
}
support.huaweicloud.com/api-kvs/ScanKv.html