文档
测试

插入或更新数据集

POST
http://localhost:8080

接口描述

插入或更新数据集

请求头

参数名
类型
描述
必填
content-type
String
application/json
必填

请求参数

参数名
类型
描述
必填
jsonrpc
String
"2.0"
必填
id
Integer
1
必填
method
String
"data/put"
必填
params
Object
params参数
必填
type
String
后续参数应该根据具体类型变通,这里只提供通用数据格式
必填
id
String
如果有则修改,没有则创建新的
必填
name
String
名字
必填
description
String
描述
可选
category
String
分类
可选
lastChange
String
上次修改时间
可选
tags
[]
标签
可选
version
String
版本信息
可选

响应参数

参数名
类型
描述
必填
jsonrpc
String
"2.0"
必填
id
Integer
1
必填
result
Object
必填
type
String
类型
必填
id
String
唯一id
必填
name
String
名字
必填
description
String
描述
必填
category
String
分类
必填
refUnit
String
引用单位
必填
location
String
必填
flowType
String
必填
processType
String
必填