修改接口目录
PUT
/api/v1/projects/{projectId}/api-folders/{id}请求参数
Path 参数
projectId
string
必需
示例值:
{{projectId}}
id
string
必需
示例值:
{{apiFolderId_for_debug}}
Body 参数application/x-www-form-urlencoded
name
string
可选
示例值:
接口分类_ing
parentId
string
可选
示例值:
0
description
string
可选
示例值:
desc
preProcessors
string
可选
示例值:
[{"type":"customScript","data":"console.log(\"pre script from floder\")","disabled":false,"executionTiming":"prerequest"}]
postProcessors
string
可选
示例值:
[{"type":"customScript","data":"console.log(\"after script from floder\")","disabled":false}]
serverId
string
可选
示例值:
default
auth
string
可选
示例值:
{"type":"apikey","apikey":{"in":"header","key":"test","value":"123456"}}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
data
null
必需
success
boolean
必需
示例
{
"data": null,
"success": true
}
最后修改时间: 9 个月前