基础参数接口

获取Http参数

URL: http://your_ip:port/api/basic/getHttp

Type: ANY

Author: CYM

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 获取Http参数

Request-example:

curl -X ANY  -i http://your_ip:port/api/basic/getHttp

Response-fields:

FieldTypeDescriptionSince
successboolean请求结果-
statusstring请求状态 200:请求成功 401:token无效 500:服务器错误-
msgstring错误信息-
objobject返回内容-
└─idstring主键-
└─namestring参数名-
└─valuestring参数值-
└─unitstring参数单位-

Response-example:

{
	"success":true,
	"status":"jtff08",
	"msg":"u56rsz",
	"obj":[
		{
			"id":"45",
			"name":"鹤轩.白",
			"value":"dcibc0",
			"unit":"7chw2h"
		}
	]
}

添加或编辑Http参数

URL: http://your_ip:port/api/basic/insertOrUpdateHttp

Type: ANY

Author: CYM

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 添加或编辑Http参数

Request-parameters:

ParameterTypeDescriptionRequiredSince
idstring主键false-
namestring参数名false-
valuestring参数值false-
unitstring参数单位false-

Request-example:

curl   -i http://your_ip:port/api/basic/insertOrUpdateHttp?id=45&createTime=1641871596310&unit=6rybmg&seq=1&name=鹤轩.白&value=c2wq4c&updateTime=1641871596310

Response-fields:

FieldTypeDescriptionSince
successboolean请求结果-
statusstring请求状态 200:请求成功 401:token无效 500:服务器错误-
msgstring错误信息-
objobject返回内容-
└─idstring主键-
└─namestring参数名-
└─valuestring参数值-
└─unitstring参数单位-

Response-example:

{
	"success":true,
	"status":"jof01c",
	"msg":"u18bg3",
	"obj":{
		"id":"45",
		"name":"鹤轩.白",
		"value":"xwnnvu",
		"unit":"0xe0ax"
	}
}

删除Http参数

URL: http://your_ip:port/api/basic/delHttp

Type: ANY

Author: CYM

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 删除Http参数

Request-parameters:

ParameterTypeDescriptionRequiredSince
idstringhttp参数idtrue-

Request-example:

curl   -i http://your_ip:port/api/basic/delHttp?id=45

Response-fields:

FieldTypeDescriptionSince
successboolean请求结果-
statusstring请求状态 200:请求成功 401:token无效 500:服务器错误-
msgstring错误信息-
objobject返回内容-

Response-example:

{
	"success":true,
	"status":"k8yqgx",
	"msg":"h94j4p",
	"obj":{
		"waring":"You may have used non-display generics."
	}
}

获取基础参数

URL: http://your_ip:port/api/basic/getBasic

Type: ANY

Author: CYM

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 获取基础参数

Request-example:

curl -X ANY  -i http://your_ip:port/api/basic/getBasic

Response-fields:

FieldTypeDescriptionSince
successboolean请求结果-
statusstring请求状态 200:请求成功 401:token无效 500:服务器错误-
msgstring错误信息-
objobject返回内容-
└─idstring主键-
└─namestring参数名-
└─valuestring参数值-

Response-example:

{
	"success":true,
	"status":"19kd2z",
	"msg":"addm2z",
	"obj":[
		{
			"id":"45",
			"name":"鹤轩.白",
			"value":"vm0ej3"
		}
	]
}

添加或编辑基础参数

URL: http://your_ip:port/api/basic/insertOrUpdateBasic

Type: ANY

Author: CYM

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 添加或编辑基础参数

Request-parameters:

ParameterTypeDescriptionRequiredSince
idstring主键false-
namestring参数名false-
valuestring参数值false-

Request-example:

curl   -i http://your_ip:port/api/basic/insertOrUpdateBasic?name=鹤轩.白&seq=479&updateTime=1641871596310&value=gu53nj&createTime=1641871596310&id=45

Response-fields:

FieldTypeDescriptionSince
successboolean请求结果-
statusstring请求状态 200:请求成功 401:token无效 500:服务器错误-
msgstring错误信息-
objobject返回内容-
└─idstring主键-
└─namestring参数名-
└─valuestring参数值-

Response-example:

{
	"success":true,
	"status":"z0bj9x",
	"msg":"gwbriv",
	"obj":{
		"id":"45",
		"name":"鹤轩.白",
		"value":"yzv1qi"
	}
}

删除基础参数

URL: http://your_ip:port/api/basic/delBasic

Type: ANY

Author: CYM

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 删除基础参数

Request-parameters:

ParameterTypeDescriptionRequiredSince
idstring基础参数idtrue-

Request-example:

curl   -i http://your_ip:port/api/basic/delBasic?id=45

Response-fields:

FieldTypeDescriptionSince
successboolean请求结果-
statusstring请求状态 200:请求成功 401:token无效 500:服务器错误-
msgstring错误信息-
objobject返回内容-

Response-example:

{
	"success":true,
	"status":"seqmk4",
	"msg":"wghffj",
	"obj":{
		"waring":"You may have used non-display generics."
	}
}

获取Stream参数

URL: http://your_ip:port/api/basic/getStream

Type: ANY

Author: CYM

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 获取Stream参数

Request-example:

curl -X ANY  -i http://your_ip:port/api/basic/getStream

Response-fields:

FieldTypeDescriptionSince
successboolean请求结果-
statusstring请求状态 200:请求成功 401:token无效 500:服务器错误-
msgstring错误信息-
objobject返回内容-
└─idstring主键-
└─namestring参数名-
└─valuestring参数值-

Response-example:

{
	"success":true,
	"status":"2ghplo",
	"msg":"4c9sh4",
	"obj":[
		{
			"id":"45",
			"name":"鹤轩.白",
			"value":"8rh58r"
		}
	]
}

添加或编辑Stream参数

URL: http://your_ip:port/api/basic/insertOrUpdateStream

Type: ANY

Author: CYM

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 添加或编辑Stream参数

Request-parameters:

ParameterTypeDescriptionRequiredSince
idstring主键false-
namestring参数名false-
valuestring参数值false-

Request-example:

curl   -i http://your_ip:port/api/basic/insertOrUpdateStream?updateTime=1641871596310&value=v2cpmk&createTime=1641871596310&name=鹤轩.白&seq=544&id=45

Response-fields:

FieldTypeDescriptionSince
successboolean请求结果-
statusstring请求状态 200:请求成功 401:token无效 500:服务器错误-
msgstring错误信息-
objobject返回内容-
└─idstring主键-
└─namestring参数名-
└─valuestring参数值-

Response-example:

{
	"success":true,
	"status":"x0pv6d",
	"msg":"kz8vhn",
	"obj":{
		"id":"45",
		"name":"鹤轩.白",
		"value":"ruyhnw"
	}
}

删除Stream参数

URL: http://your_ip:port/api/basic/delStream

Type: ANY

Author: CYM

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 删除Stream参数

Request-parameters:

ParameterTypeDescriptionRequiredSince
idstringStream参数idtrue-

Request-example:

curl   -i http://your_ip:port/api/basic/delStream?id=45

Response-fields:

FieldTypeDescriptionSince
successboolean请求结果-
statusstring请求状态 200:请求成功 401:token无效 500:服务器错误-
msgstring错误信息-
objobject返回内容-

Response-example:

{
	"success":true,
	"status":"1fxibl",
	"msg":"6zzlkf",
	"obj":{
		"waring":"You may have used non-display generics."
	}
}