{ "apifoxProject": "1.0.0", "$schema": { "app": "apifox", "type": "project", "version": "1.2.0" }, "info": { "name": "Server", "description": "", "mockRule": { "rules": [], "enableSystemRule": true } }, "apiCollection": [ { "name": "根目录", "id": 70829727, "auth": {}, "securityScheme": {}, "parentId": 0, "serverId": "", "description": "", "identityPattern": { "httpApi": { "type": "methodAndPath", "bodyType": "", "fields": [] } }, "shareSettings": {}, "visibility": "SHARED", "moduleId": 6526371, "preProcessors": [ { "id": "inheritProcessors", "type": "inheritProcessors", "data": {} } ], "postProcessors": [ { "id": "inheritProcessors", "type": "inheritProcessors", "data": {} } ], "inheritPostProcessors": {}, "inheritPreProcessors": {}, "items": [ { "name": "test3", "id": 70832123, "auth": {}, "securityScheme": {}, "parentId": 0, "serverId": "", "description": "", "identityPattern": { "httpApi": { "type": "inherit", "bodyType": "" } }, "shareSettings": {}, "visibility": "INHERITED", "moduleId": 6526371, "preProcessors": [ { "id": "inheritProcessors", "type": "inheritProcessors", "data": {} } ], "postProcessors": [ { "id": "inheritProcessors", "type": "inheritProcessors", "data": {} } ], "inheritPostProcessors": {}, "inheritPreProcessors": {}, "items": [ { "name": "提升部分【一】-显示平均成绩", "api": { "id": "374633188", "method": "get", "path": "http://127.0.0.1:3000/showScoure", "parameters": {}, "auth": {}, "securityScheme": {}, "commonParameters": { "query": [], "body": [], "cookie": [], "header": [] }, "responses": [ { "id": "187910458", "code": 200, "name": "成功", "headers": [], "jsonSchema": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "avg": { "type": "integer" } }, "required": [ "name", "avg" ] } }, "description": "", "contentType": "json", "mediaType": "" } ], "responseExamples": [], "requestBody": { "type": "none", "parameters": [], "mediaType": "", "examples": [], "oasExtensions": "" }, "description": "", "tags": [], "status": "developing", "serverId": "", "operationId": "", "sourceUrl": "", "ordering": 20, "cases": [], "mocks": [], "customApiFields": "{}", "advancedSettings": { "disabledSystemHeaders": {} }, "mockScript": {}, "codeSamples": [], "commonResponseStatus": {}, "responseChildren": [], "visibility": "INHERITED", "moduleId": 6526371, "oasExtensions": "", "type": "http", "preProcessors": [], "postProcessors": [], "inheritPostProcessors": {}, "inheritPreProcessors": {} } }, { "name": "提升部分【二】", "api": { "id": "374632248", "method": "get", "path": "http://127.0.0.1:3000/mny", "parameters": {}, "auth": {}, "securityScheme": {}, "commonParameters": { "query": [], "body": [], "cookie": [], "header": [] }, "responses": [ { "id": "108008247", "code": 200, "name": "成功", "headers": [], "jsonSchema": { "type": "object", "properties": {} }, "description": "", "contentType": "json", "mediaType": "" } ], "responseExamples": [], "requestBody": { "type": "none", "parameters": [], "mediaType": "", "examples": [], "oasExtensions": "" }, "description": "", "tags": [], "status": "developing", "serverId": "", "operationId": "", "sourceUrl": "", "ordering": 10, "cases": [], "mocks": [], "customApiFields": "{}", "advancedSettings": { "disabledSystemHeaders": {} }, "mockScript": {}, "codeSamples": [], "commonResponseStatus": {}, "responseChildren": [], "visibility": "INHERITED", "moduleId": 6526371, "oasExtensions": "", "type": "http", "preProcessors": [], "postProcessors": [], "inheritPostProcessors": {}, "inheritPreProcessors": {} } }, { "name": "提升部分【一】-显示对应name数据", "api": { "id": "374640421", "method": "get", "path": "http://127.0.0.1:3000/myScoure", "parameters": { "query": [ { "id": "CmAc8vX0mS", "name": "name", "example": "zs", "required": false, "description": "", "enable": true, "type": "string" } ] }, "auth": {}, "securityScheme": {}, "commonParameters": { "query": [], "body": [], "cookie": [], "header": [] }, "responses": [ { "id": "165586872", "code": 200, "name": "成功", "headers": [], "jsonSchema": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "course": { "type": "string" }, "score": { "type": "integer" } }, "required": [ "name", "course", "score" ] } }, "description": "", "contentType": "json", "mediaType": "" } ], "responseExamples": [], "requestBody": { "type": "none", "parameters": [], "mediaType": "", "examples": [], "oasExtensions": "" }, "description": "", "tags": [], "status": "developing", "serverId": "", "operationId": "", "sourceUrl": "", "ordering": 30, "cases": [], "mocks": [], "customApiFields": "{}", "advancedSettings": { "disabledSystemHeaders": {} }, "mockScript": {}, "codeSamples": [], "commonResponseStatus": {}, "responseChildren": [], "visibility": "INHERITED", "moduleId": 6526371, "oasExtensions": "", "type": "http", "preProcessors": [], "postProcessors": [], "inheritPostProcessors": {}, "inheritPreProcessors": {} } } ] }, { "name": "test5", "id": 71447739, "auth": {}, "securityScheme": {}, "parentId": 0, "serverId": "", "description": "", "identityPattern": { "httpApi": { "type": "inherit", "bodyType": "", "fields": [] } }, "shareSettings": {}, "visibility": "INHERITED", "moduleId": 6526371, "preProcessors": [ { "id": "inheritProcessors", "type": "inheritProcessors", "data": {} } ], "postProcessors": [ { "id": "inheritProcessors", "type": "inheritProcessors", "data": {} } ], "inheritPostProcessors": {}, "inheritPreProcessors": {}, "items": [ { "name": "register", "api": { "id": "378061737", "method": "post", "path": "http://127.0.0.1:3000/register", "parameters": {}, "auth": {}, "securityScheme": {}, "commonParameters": { "query": [], "body": [], "cookie": [], "header": [] }, "responses": [ { "id": "152284178", "code": 200, "name": "成功", "contentType": "html" } ], "responseExamples": [], "requestBody": { "type": "application/json", "parameters": [], "jsonSchema": { "type": "object", "properties": {} }, "mediaType": "", "examples": [ { "mediaType": "application/json", "value": "{\r\n \"username\": \"aa\",\r\n \"password\": \"abcabc\",\r\n \"email\": \"abc@email.com\",\r\n \"gender\": \"male\",\r\n \"hobbies\": [\r\n \"听音乐\",\r\n \"玩游戏\"\r\n ],\r\n \"city\": \"重庆\",\r\n \"description\": \"爱坤坤\"\r\n}" } ], "oasExtensions": "" }, "description": "", "tags": [], "status": "developing", "serverId": "", "operationId": "", "sourceUrl": "", "ordering": 10, "cases": [], "mocks": [], "customApiFields": "{}", "advancedSettings": { "disabledSystemHeaders": {} }, "mockScript": {}, "codeSamples": [], "commonResponseStatus": {}, "responseChildren": [], "visibility": "INHERITED", "moduleId": 6526371, "oasExtensions": "", "type": "http", "preProcessors": [], "postProcessors": [], "inheritPostProcessors": {}, "inheritPreProcessors": {} } }, { "name": "login", "api": { "id": "378062412", "method": "post", "path": "http://127.0.0.1:3000/login", "parameters": {}, "auth": {}, "securityScheme": {}, "commonParameters": { "query": [], "body": [], "cookie": [], "header": [] }, "responses": [ { "id": "199370297", "code": 200, "name": "成功", "jsonSchema": { "type": "object", "properties": {} }, "contentType": "json" } ], "responseExamples": [], "requestBody": { "type": "application/json", "parameters": [], "jsonSchema": { "type": "object", "properties": {} }, "mediaType": "", "examples": [ { "mediaType": "application/json", "value": "{\r\n \"username\": \"aa\",\r\n \"password\": \"abcabc\"\r\n}" } ], "oasExtensions": "" }, "description": "", "tags": [], "status": "developing", "serverId": "", "operationId": "", "sourceUrl": "", "ordering": 20, "cases": [], "mocks": [], "customApiFields": "{}", "advancedSettings": { "disabledSystemHeaders": {} }, "mockScript": {}, "codeSamples": [], "commonResponseStatus": {}, "responseChildren": [], "visibility": "INHERITED", "moduleId": 6526371, "oasExtensions": "", "type": "http", "preProcessors": [], "postProcessors": [], "inheritPostProcessors": {}, "inheritPreProcessors": {} } }, { "name": "update-password", "api": { "id": "378062857", "method": "post", "path": "http://127.0.0.1:3000/update-password", "parameters": {}, "auth": {}, "securityScheme": {}, "commonParameters": { "query": [], "body": [], "cookie": [], "header": [] }, "responses": [ { "id": "190849250", "code": 200, "name": "成功", "headers": [], "jsonSchema": { "type": "object", "properties": {} }, "description": "", "contentType": "json", "mediaType": "" } ], "responseExamples": [], "requestBody": { "type": "application/json", "parameters": [], "jsonSchema": { "type": "object", "properties": {} }, "mediaType": "", "examples": [ { "mediaType": "application/json", "value": "{\r\n \"username\": \"aa\",\r\n \"currentPassword\": \"abcabc\",\r\n \"newPassword\": \"abcabc\"\r\n}" } ], "oasExtensions": "" }, "description": "", "tags": [], "status": "developing", "serverId": "", "operationId": "", "sourceUrl": "", "ordering": 30, "cases": [], "mocks": [], "customApiFields": "{}", "advancedSettings": { "disabledSystemHeaders": {} }, "mockScript": {}, "codeSamples": [], "commonResponseStatus": {}, "responseChildren": [], "visibility": "INHERITED", "moduleId": 6526371, "oasExtensions": "", "type": "http", "preProcessors": [], "postProcessors": [], "inheritPostProcessors": {}, "inheritPreProcessors": {} } } ] } ] } ], "socketCollection": [], "docCollection": [], "webSocketCollection": [], "socketIOCollection": [], "responseCollection": [ { "_databaseId": 7836150, "updatedAt": "2025-11-11T02:38:06.000Z", "name": "根目录", "type": "root", "children": [], "moduleId": 6526371, "parentId": 0, "id": 7836150, "ordering": [], "items": [] } ], "schemaCollection": [ { "id": 17182762, "name": "根目录", "visibility": "SHARED", "moduleId": 6526371, "items": [], "ordering": [] } ], "securitySchemeCollection": [ { "id": 2464141, "moduleId": 6526371, "name": "根目录", "items": [], "ordering": [] } ], "requestCollection": [ { "name": "根目录", "children": [], "ordering": [ "requestFolder.7895936" ], "items": [] } ], "apiTestCaseCollection": [ { "name": "Root", "children": [], "items": [] } ], "testCaseReferences": [], "environments": [], "commonScripts": [], "databaseConnections": [], "globalVariables": [], "commonParameters": null, "projectSetting": { "id": "7426031", "auth": {}, "securityScheme": {}, "gateway": [], "language": "zh-CN", "apiStatuses": [ "developing", "testing", "released", "deprecated" ], "mockSettings": {}, "preProcessors": [], "postProcessors": [], "advancedSettings": { "enableJsonc": false, "enableBigint": false, "responseValidate": true, "enableTestScenarioSetting": false, "enableYAPICompatScript": false, "isDefaultUrlEncoding": 2, "publishedDocUrlRules": { "defaultRule": "RESOURCE_KEY_ONLY", "resourceKeyStandard": "NEW" } }, "initialDisabledMockIds": [], "servers": [ { "id": "default", "name": "默认服务" } ], "cloudMock": { "security": "free", "enable": false, "tokenKey": "apifoxToken" } }, "customFunctions": [], "projectAssociations": [] }