键值存储服务 KVS-查询单个kv:请求示例

时间:2024-05-07 09:20:02

请求示例

下载一个kv,表名为test-table-1,设置分区键值为user1,排序键值为test-file-1。

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

{
  "table_name" : "test_table_1",
  "kv_blob" : {
    "primary_key" : {
      "owner" : "user_1",
      "filename" : "test_file_1"
    }
  }
}
support.huaweicloud.com/api-kvs/GetKv.html