设置全局参数
PUT
/api/v1/projects/{projectId}/common-parameters请求参数
Path 参数
projectId
string
必需
示例值:
{{projectId}}
Body 参数application/x-www-form-urlencoded
parameters
string
必需
示例值:
{"header":[{"name":"h1","defaultEnable":true,"type":"string","required":true,"defaultValue":"1","description":"desc1"},{"name":"h2","defaultEnable":true,"type":"integer","required":false,"defaultValue":"2","description":"desc2"}]}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
success
boolean
必需
data
string | integer | boolean | array | object | number | null
必需
示例
{
"success": true,
"data": "string"
}
最后修改时间: 9 个月前