{
"tags": [
"string"
],
"requestBody": {
"type": "string",
"parameters": [
"string"
]
},
"parameters": {
"query": [
"string"
],
"path": [
"string"
],
"header": [
"string"
],
"cookie": [
"string"
]
},
"name": "string",
"description": "string",
"method": "string",
"path": "string",
"status": "designing",
"projectId": 0,
"folderId": 0,
"responses": [
{
"apiDetailId": 0,
"code": 0,
"contentType": "json",
"defaultEnable": true,
"jsonSchema": {},
"name": "string"
}
],
"responseExamples": [
{
"name": "string",
"ordering": 0,
"data": "string"
}
],
"auth": {},
"advancedSettings": {},
"responseChildren": [
"string"
]
}
curl --location -g --request POST 'https://api.apifox.com/api/v1/projects/2078457/http-apis?locale=zh-CN' \
--header 'X-Apifox-Version;' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"tags": [
"string"
],
"requestBody": {
"type": "string",
"parameters": [
"string"
]
},
"parameters": {
"query": [
"string"
],
"path": [
"string"
],
"header": [
"string"
],
"cookie": [
"string"
]
},
"name": "string",
"description": "string",
"method": "string",
"path": "string",
"status": "designing",
"projectId": 0,
"folderId": 0,
"responses": [
{
"apiDetailId": 0,
"code": 0,
"contentType": "json",
"defaultEnable": true,
"jsonSchema": {},
"name": "string"
}
],
"responseExamples": [
{
"name": "string",
"ordering": 0,
"data": "string"
}
],
"auth": {},
"advancedSettings": {},
"responseChildren": [
"string"
]
}'
{
"data": {
"tags": [
"string"
],
"requestBody": {
"type": "string",
"parameters": [
"string"
]
},
"parameters": {
"query": [
"string"
],
"path": [
"string"
],
"header": [
"string"
],
"cookie": [
"string"
]
},
"id": 0,
"name": "string",
"description": "string",
"method": "string",
"path": "string",
"status": "designing",
"projectId": 0,
"folderId": 0,
"ordering": 0,
"creatorId": 0,
"editorId": 0,
"responsibleId": 0,
"createdAt": "string",
"updatedAt": "string",
"deletedAt": "string",
"responses": [
{
"apiDetailId": 0,
"code": 0,
"contentType": "json",
"createdAt": "string",
"defaultEnable": true,
"deletedAt": 0,
"id": 0,
"jsonSchema": {},
"name": "string",
"ordering": 0,
"projectId": 0,
"updatedAt": "string",
"responseExamples": [
{
"name": "string",
"ordering": 0,
"data": "string"
}
]
}
],
"auth": {},
"advancedSettings": {},
"responseChildren": [
"string"
]
},
"success": true
}