查询配置信息

更新时间:
2025-01-14

查询配置信息

此接口用于根据配置项的 key 查询其对应的 value 信息。

接口描述

通信协议:HTTP

URL:GET /api/v1/configmap/key

传参方式:query

请求参数

字段名 类型 是否必填 说明
keystring配置项的 key

响应参数

字段名 类型 说明
datastring / number / json配置项 key 对应的 value 值

请求示例

curl --location --request GET 'http://localhost:3001/api/v1/configmap/key?key=%2Fa
--header 'Content-Type: application/json' 

响应示例

{
	"status": 200,
	"message": "success",
	"fieldErrors": null,
	"data": "1"
}

错误码

具体请参见 错误码说明

文档内容是否对您有所帮助?
有帮助
没帮助