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

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

请求示例

上传单个kv,表名为test-table-1,上传的kv为非结构化数据

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

{
  "table_name" : "test-table-1",
  "kv_doc" : {
    "owner" : "user-1",
    "filename" : "test-file-1",
    "otherKey" : "other"
  }
}
support.huaweicloud.com/api-kvs/PutKv.html