获取项目设置
GET
https://api.apifox.com/api/v1/projects/{projectId}/settings请求参数
Path 参数
projectId
string
必需
示例值:
2078457
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
data
object (ProjectSettings)
必需
apiStatuses
array[string]
必需
servers
array [object {2}]
必需
preProcessors
array[string]
必需
postProcessors
array[string]
必需
auth
object
必需
cloudMock
object
必需
initialDisabledMockIds
array[integer]
必需
mockSettings
object
必需
gateway
array [object {4}]
必需
advancedSettings
object
必需
id
integer
必需
projectId
integer
必需
creatorId
integer
必需
editorId
integer
必需
language
enum<string>
必需
枚举值:
zh-CNen-USja-JPpt-PT
createdAt
string
可选
updatedAt
string
可选
deletedAt
null
可选
httpResponseTemplate
object | null
可选
templateParameters
array [object {4}] | null
可选
success
boolean
必需
示例
{
"data": {
"apiStatuses": [
"developing",
"testing",
"releases",
"deprecated"
],
"id": 230000200508163780,
"projectId": 630000197910152300,
"creatorId": 350000201405132160,
"editorId": 140000201907282220,
"createdAt": "1996-11-07 03:00:02",
"updatedAt": "2019-01-31 15:22:46",
"deletedAt": "1971-10-16 20:22:41"
},
"success": true
}
最后修改时间: 9 个月前